Class FileFilter
- java.lang.Object
-
- org.exoplatform.webui.ext.filter.impl.FileFilter
-
- All Implemented Interfaces:
UIExtensionFilter
public class FileFilter extends Object implements UIExtensionFilter
Created by The eXo Platform SARL Author : Dang Van Minh minh.dang@exoplatform.com Aug 18, 2009 7:08:32 AM
-
-
Constructor Summary
Constructors Constructor Description FileFilter()
-
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
Description copied from interface:UIExtensionFilterIndicates 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()
Description copied from interface:UIExtensionFilterIndicates the type of the current filter- Specified by:
getTypein interfaceUIExtensionFilter- Returns:
- the type of the filter
-
onDeny
public void onDeny(Map<String,Object> context) throws Exception
Description copied from interface:UIExtensionFilterAllows 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
-
-