Package org.exoplatform.webui.ext.filter
Interface UIExtensionFilter
-
- All Known Implementing Classes:
FileFilter,UIExtensionAbstractFilter,UIExtensionORFilter,UserACLFilter
public interface UIExtensionFilterThis class is used to add custom filters on an UI Extension in order to force the UIExtensionManager to hide the extension if the filter Created by The eXo Platform SAS Author : eXoPlatform nicolas.filotto@exoplatform.com May 04, 2009
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(Map<String,Object> context)Indicates whether the given context is accepted by this filterUIExtensionFilterTypegetType()Indicates the type of the current filtervoidonDeny(Map<String,Object> context)Allows to execute some code when the filter rejects the given context
-
-
-
Method Detail
-
accept
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:
trueif the context is acceptedfalseotherwise- Throws:
Exception- if an error occurs
-
onDeny
void onDeny(Map<String,Object> context) throws Exception
Allows to execute some code when the filter rejects the given context- Parameters:
context- the context- Throws:
Exception- if an error occurs
-
getType
UIExtensionFilterType getType()
Indicates the type of the current filter- Returns:
- the type of the filter
-
-