Class UserACLFilter
- java.lang.Object
-
- org.exoplatform.webui.ext.filter.impl.UserACLFilter
-
- All Implemented Interfaces:
UIExtensionFilter
public class UserACLFilter extends Object implements 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
Fields Modifier and Type Field Description protected List<String>permissionsThe list of all access permissions allowed
-
Constructor Summary
Constructors Constructor Description UserACLFilter()
-
Method Summary
All Methods Instance Methods Concrete 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
public boolean accept(Map<String,Object> context) throws Exception
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
public UIExtensionFilterType getType()
Indicates the type of the current filter- Specified by:
getTypein interfaceUIExtensionFilter- Returns:
- the type of the filter
-
-