Class UserACLFilter
java.lang.Object
org.exoplatform.webui.ext.filter.impl.UserACLFilter
- All Implemented Interfaces:
UIExtensionFilter
This filter is used to add some access permissions to a specific extension
Created by The eXo Platform SAS
Author : eXoPlatform
nicolas.filotto@exoplatform.com
14 mai 2009
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of all access permissions allowed -
Constructor Summary
Constructors -
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
-
Field Details
-
permissions
The list of all access permissions allowed
-
-
Constructor Details
-
UserACLFilter
public UserACLFilter()
-
-
Method Details
-
accept
Indicates whether the given context is accepted by this filter- Specified by:
acceptin interfaceUIExtensionFilter- Parameters:
context- the context to check- Returns:
trueif the context is acceptedfalseotherwise- Throws:
Exception- if an error occurs
-
getType
Indicates the type of the current filter- Specified by:
getTypein interfaceUIExtensionFilter- Returns:
- the type of the filter
-
onDeny
Allows to execute some code when the filter rejects the given context- Specified by:
onDenyin interfaceUIExtensionFilter- Parameters:
context- the context- Throws:
Exception- if an error occurs
-