Class CanPublishFilter

  • All Implemented Interfaces:
    org.exoplatform.webui.ext.filter.UIExtensionFilter

    public class CanPublishFilter
    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 Detail

      • CanPublishFilter

        public CanPublishFilter()
    • 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