public class FileFilter extends Object implements UIExtensionFilter
| Constructor and Description |
|---|
FileFilter() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public boolean accept(Map<String,Object> context) throws Exception
UIExtensionFilteraccept in interface UIExtensionFiltercontext - the context to checktrue if the context is accepted false otherwiseException - if an error occurspublic UIExtensionFilterType getType()
UIExtensionFiltergetType in interface UIExtensionFilterpublic void onDeny(Map<String,Object> context) throws Exception
UIExtensionFilteronDeny in interface UIExtensionFiltercontext - the contextException - if an error occursCopyright © 2003–2015 eXo Platform SAS. All rights reserved.