org.exoplatform.webui.ext.filter
Class UIExtensionORFilter

java.lang.Object
  extended by org.exoplatform.webui.ext.filter.UIExtensionAbstractFilter
      extended by org.exoplatform.webui.ext.filter.UIExtensionORFilter
All Implemented Interfaces:
UIExtensionFilter

public abstract class UIExtensionORFilter
extends UIExtensionAbstractFilter

Created by The eXo Platform SAS Author : eXoPlatform nicolas.filotto@exoplatform.com 7 mai 2009


Field Summary
 
Fields inherited from class org.exoplatform.webui.ext.filter.UIExtensionAbstractFilter
messageKey
 
Constructor Summary
UIExtensionORFilter(List<UIExtensionFilter> filters)
           
UIExtensionORFilter(List<UIExtensionFilter> filters, String messageKey)
           
UIExtensionORFilter(List<UIExtensionFilter> filters, String messageKey, UIExtensionFilterType type)
           
 
Method Summary
 boolean accept(Map<String,Object> context)
          Indicates whether the given context is accepted by this filter
 
Methods inherited from class org.exoplatform.webui.ext.filter.UIExtensionAbstractFilter
createUIPopupMessages, createUIPopupMessages, createUIPopupMessages, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.exoplatform.webui.ext.filter.UIExtensionFilter
onDeny
 

Constructor Detail

UIExtensionORFilter

public UIExtensionORFilter(List<UIExtensionFilter> filters)

UIExtensionORFilter

public UIExtensionORFilter(List<UIExtensionFilter> filters,
                           String messageKey)

UIExtensionORFilter

public UIExtensionORFilter(List<UIExtensionFilter> filters,
                           String messageKey,
                           UIExtensionFilterType type)
Method Detail

accept

public boolean accept(Map<String,Object> context)
               throws Exception
Indicates whether the given context is accepted by this filter

Parameters:
context - the context to check
Returns:
true if the context is accepted false otherwise
Throws:
Exception - if an error occurs


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.