org.exoplatform.webui.ext.filter
Class UIExtensionAbstractFilter

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

public abstract class UIExtensionAbstractFilter
extends Object
implements UIExtensionFilter

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


Field Summary
protected  String messageKey
          The default key of the message to display in case of error
 
Constructor Summary
protected UIExtensionAbstractFilter()
           
protected UIExtensionAbstractFilter(String messageKey)
           
protected UIExtensionAbstractFilter(String messageKey, UIExtensionFilterType type)
           
 
Method Summary
protected  void createUIPopupMessages(Map<String,Object> context, String key)
          Creates a popup to display the message
protected  void createUIPopupMessages(Map<String,Object> context, String key, Object[] args)
          Creates a popup to display the message
protected  void createUIPopupMessages(Map<String,Object> context, String key, Object[] args, int type)
          Creates a popup to display the message
 UIExtensionFilterType getType()
          Indicates the type of the current filter
 
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
accept, onDeny
 

Field Detail

messageKey

protected final String messageKey
The default key of the message to display in case of error

Constructor Detail

UIExtensionAbstractFilter

protected UIExtensionAbstractFilter()

UIExtensionAbstractFilter

protected UIExtensionAbstractFilter(String messageKey)

UIExtensionAbstractFilter

protected UIExtensionAbstractFilter(String messageKey,
                                    UIExtensionFilterType type)
Method Detail

getType

public UIExtensionFilterType getType()
Indicates the type of the current filter

Specified by:
getType in interface UIExtensionFilter
Returns:
the type of the filter

createUIPopupMessages

protected void createUIPopupMessages(Map<String,Object> context,
                                     String key,
                                     Object[] args,
                                     int type)
Creates a popup to display the message


createUIPopupMessages

protected void createUIPopupMessages(Map<String,Object> context,
                                     String key,
                                     Object[] args)
Creates a popup to display the message


createUIPopupMessages

protected void createUIPopupMessages(Map<String,Object> context,
                                     String key)
Creates a popup to display the message



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