|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.ext.filter.impl.UserACLFilter
public class UserACLFilter
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 | |
|---|---|
protected List<String> |
permissions
The list of all access permissions allowed |
| Constructor Summary | |
|---|---|
UserACLFilter()
|
|
| Method Summary | |
|---|---|
boolean |
accept(Map<String,Object> context)
Indicates whether the given context is accepted by this filter |
UIExtensionFilterType |
getType()
Indicates the type of the current filter |
void |
onDeny(Map<String,Object> context)
Allows to execute some code when the filter rejects the given context |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<String> permissions
| Constructor Detail |
|---|
public UserACLFilter()
| Method Detail |
|---|
public boolean accept(Map<String,Object> context)
throws Exception
accept in interface UIExtensionFiltercontext - the context to check
true if the context is accepted false otherwise
Exception - if an error occurspublic UIExtensionFilterType getType()
getType in interface UIExtensionFilter
public void onDeny(Map<String,Object> context)
throws Exception
onDeny in interface UIExtensionFiltercontext - the context
Exception - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||