Class Portal

All Implemented Interfaces:
EditableData, JcmsConstants, ImportConstants, MashupConstants, Parent, PortalInterface, Searchable, Storable, JaliosConstants, LangPropertyArgument, TreeNode, Cloneable, Comparable<BasicStorable>
Direct Known Subclasses:
AbstractPortalJspCollection

public abstract class Portal extends PortalElement implements Parent, PortalInterface
 
 An abstract Portal representation with fields to implements
 - String -> CSSFile
 - String -> Header
 - String -> Footer
 - Publication -> Child
  
 
  • Field Details

  • Constructor Details

  • Method Details

    • getPageTitleML

      public abstract HashMap<String,String> getPageTitleML()
    • getPageTitle

      public abstract String getPageTitle(String lang)
    • getPageTitle

      public abstract String getPageTitle(String lang, boolean b)
    • setPageTitle

      public abstract void setPageTitle(String s)
    • setPageTitleML

      public abstract void setPageTitleML(HashMap<String,String> s)
    • getExactCategory

      public abstract boolean getExactCategory()
      Specified by:
      getExactCategory in interface PortalInterface
    • setExactCategory

      public abstract void setExactCategory(boolean exactCategory)
    • getCssFile

      public abstract String getCssFile()
    • setCssFile

      public abstract void setCssFile(String s)
    • duplicateDeep

      protected void duplicateDeep(WizardContext context, PortalElement parent)
      Description copied from class: PortalElement
      Performs a deep duplicate of the PortalElement in a WizardContext. Update prefix, workspace, category, groups, ...
      Overrides:
      duplicateDeep in class PortalElement
      Parameters:
      context - WizardContext describe the dupliate context
      parent - PortalElement parent of portlets to deeply duplicate
    • getIcon

      public String getIcon()
      Specified by:
      getIcon in interface PortalInterface
      Overrides:
      getIcon in class PortalElement
    • getTreeChildren

      public Collection getTreeChildren()
      Description copied from interface: TreeNode
      Returns a Collection of TreeNode children of the current node
      Specified by:
      getTreeChildren in interface PortalInterface
      Specified by:
      getTreeChildren in interface TreeNode
      Overrides:
      getTreeChildren in class PortalElement
      Returns:
      Collection of TreeNode
      See Also:
    • isDefaultPortal

      public boolean isDefaultPortal()
      Check if this portal is the default portal
      Since:
      jcms-5.0.0
    • performAfterWrite

      protected void performAfterWrite(int op, Member mbr, Map context)
      Description copied from class: Data
      Called to perform some action after the write.
      Overrides:
      performAfterWrite in class Publication
      Parameters:
      op - the operation (OP_CREATE, OP_UPDATE, ...)
      mbr - the member which requests the write operation
      context - a map which contains context parameters (may be null)
    • checkDelete

      public ControllerStatus checkDelete(Member mbr, Map context)
      Checks if the deletion can be performed
      Overrides:
      checkDelete in class Publication
      Parameters:
      mbr - the member which requests the write operation
      context - a map which contains context parameters (may be null)
      Returns:
      a ControllerStatus
      Since:
      jcms-5.0.0