org.exoplatform.wcm.extensions.ui
Class CanApproveFilter

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

public class CanApproveFilter
extends java.lang.Object
implements UIExtensionFilter

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


Constructor Summary
CanApproveFilter()
           
 
Method Summary
 boolean accept(java.util.Map<java.lang.String,java.lang.Object> context)
          This method checks if the current node is of the right type
 UIExtensionFilterType getType()
          This is the type of the filter
 void onDeny(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.Object> context)
               throws java.lang.Exception
This method checks if the current node is of the right type

Specified by:
accept in interface UIExtensionFilter
Throws:
java.lang.Exception

getType

public UIExtensionFilterType getType()
This is the type of the filter

Specified by:
getType in interface UIExtensionFilter

onDeny

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

Specified by:
onDeny in interface UIExtensionFilter
Throws:
java.lang.Exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.