Class CanValidateFilter

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

public class CanValidateFilter 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 Details

    • CanValidateFilter

      public CanValidateFilter()
  • Method Details

    • 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