Package org.exoplatform.webui.ext.filter
Interface UIExtensionFilter
- All Known Implementing Classes:
FileFilter,UIExtensionAbstractFilter,UIExtensionORFilter,UserACLFilter
public interface UIExtensionFilter
This 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
Modifier and TypeMethodDescriptionbooleanIndicates whether the given context is accepted by this filtergetType()Indicates the type of the current filtervoidAllows to execute some code when the filter rejects the given context
-
Method Details
-
accept
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
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
-