Class BasicTemplatePolicyFilter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getConditionLabels​(java.lang.String[] labels, java.lang.Class<? extends PortalElement> portlet, java.lang.String userLang)
      Hook called by doEditCommonPortlet to update labels to Condition's combo box
      java.lang.String[] getConditionValues​(java.lang.String[] values, java.lang.Class<? extends PortalElement> portlet)
      Hook called by doEditCommonPortlet to update values to Condition's combo box
      void getCssFiles​(java.util.List<java.io.File> jcmsChoice)
      Hook called by PortalManager to change available css files in the portal editor.
      java.lang.String getInnerClasses​(PortalElement portlet)
      Hook called by PortalManager to add more classes for the given PortalElement's inside
      java.lang.String getInnerStyles​(PortalElement portlet)
      Hook called by PortalManager to add more styles for the given PortalElement's inside
      java.lang.String getOutterClasses​(PortalElement portlet)
      Hook called by PortalManager to add more classes for the given PortalElement's outside
      java.lang.String getOutterStyles​(PortalElement portlet)
      Hook called by PortalManager to add more styles for the given PortalElement's outside
      java.lang.String getSkinTemplateUsage​(Data data, java.lang.String usage)
      Overrides the skin usage decided by JCMS and previous plugins
      TypeTemplateEntry getTemplateEntry​(java.lang.String usage, Data data, TypeTemplateEntry tte)
      This method is a hook to display a custom template, different from the default selected one.
      TypeTemplateEntry getTemplateEntry​(java.lang.String usage, java.lang.Class<? extends Data> dataClass, Workspace ws, TypeTemplateEntry tte)
      This method is a hook to display a custom template, different from the default selected one.
      java.lang.String getTemplateUsage​(Data data, java.lang.String usage)
      Overrides the usage decided by JCMS and previous plugins
      java.lang.String getTemplateUsage​(java.lang.Class<?> pubClass, java.lang.String usage)
      Overrides the usage decided by JCMS and previous plugins
      void handleCondition​(java.lang.String[] conditions)
      Hook called by doInitPortlet.jsp to handle custom portlet condition.
      boolean init​(Plugin plugin)
      Initialize the component with the given plugin configuration
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Comparable

        compareTo