Package org.exoplatform.webui.ext.filter
Class UIExtensionAbstractFilter
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected StringmessageKeyThe default key of the message to display in case of error
-
Constructor Summary
Constructors Modifier Constructor Description protectedUIExtensionAbstractFilter()protectedUIExtensionAbstractFilter(String messageKey)protectedUIExtensionAbstractFilter(String messageKey, UIExtensionFilterType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateUIPopupMessages(Map<String,Object> context, String key)Creates a popup to display the messageprotected voidcreateUIPopupMessages(Map<String,Object> context, String key, Object[] args)Creates a popup to display the messageprotected voidcreateUIPopupMessages(Map<String,Object> context, String key, Object[] args, int type)Creates a popup to display the messageUIExtensionFilterTypegetType()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:
getTypein interfaceUIExtensionFilter- 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
-
-