org.exoplatform.wcm.extensions.ui
Class CanApproveFilter

java.lang.Object
  extended by org.exoplatform.wcm.extensions.ui.CanApproveFilter
All Implemented Interfaces:
org.exoplatform.webui.ext.filter.UIExtensionFilter

public class CanApproveFilter
extends Object
implements org.exoplatform.webui.ext.filter.UIExtensionFilter

Created by The eXo Platform SAS Author : eXoPlatform nicolas.filotto@exoplatform.com 2 juillet 2009


Constructor Summary
CanApproveFilter()
           
 
Method Summary
 boolean accept(Map<String,Object> context)
          This method checks if the current node is of the right type
 org.exoplatform.webui.ext.filter.UIExtensionFilterType getType()
          This is the type of the filter
 void onDeny(Map<String,Object> context)
          This is called when the filter has failed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CanApproveFilter

public CanApproveFilter()
Method Detail

accept

public boolean accept(Map<String,Object> context)
               throws Exception
This method checks if the current node is of the right type

Specified by:
accept in interface org.exoplatform.webui.ext.filter.UIExtensionFilter
Throws:
Exception

getType

public org.exoplatform.webui.ext.filter.UIExtensionFilterType getType()
This is the type of the filter

Specified by:
getType in interface org.exoplatform.webui.ext.filter.UIExtensionFilter

onDeny

public void onDeny(Map<String,Object> context)
            throws Exception
This is called when the filter has failed

Specified by:
onDeny in interface org.exoplatform.webui.ext.filter.UIExtensionFilter
Throws:
Exception


Copyright © 2013 eXo Platform SAS. All Rights Reserved.