Class AbstractJPortal

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

public abstract class AbstractJPortal extends PortalElement implements PortalInterface
  • Constructor Details

    • AbstractJPortal

      public AbstractJPortal()
    • AbstractJPortal

      public AbstractJPortal(AbstractJPortal other)
  • Method Details

    • getPageTitle

      public abstract String getPageTitle(String lang)
    • getStructure

      public abstract String getStructure()
    • setStructure

      public abstract void setStructure(String v)
    • getPortlets

      public abstract Portlet[] getPortlets()
    • performBeforeWrite

      protected void performBeforeWrite(int op, Member mbr, Map context)
      Description copied from class: Data
      Called to perform some action before the write.
      Overrides:
      performBeforeWrite 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)
    • duplicate

      public PortalElement duplicate(WizardContext context, boolean deep)
      Description copied from class: PortalElement
      Performs a deep duplicate.
      Overrides:
      duplicate in class PortalElement
      Parameters:
      context - WizardContext describe the dupliate context
      deep - boolean indicating if it is a deep copy
      Returns:
      a newly created PortalElement instance, duplicate of this
    • checkWrite

      public ControllerStatus checkWrite(int op, Member mbr, boolean checkIntegrity, Map context)
      Description copied from class: Publication
      Checks if the given write operation can be performed
      Overrides:
      checkWrite in class Publication
      Parameters:
      op - the operation (OP_CREATE, OP_UPDATE, ...)
      mbr - the member which requests the write operation
      checkIntegrity - if true, requires the constraints integrity to be checked
      context - a map which contains context parameters (may be null)
      Returns:
      a ControllerStatus
    • checkDelete

      public ControllerStatus checkDelete(Member mbr, Map context)
      Description copied from class: Publication
      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
    • getDisplayUrl

      public String getDisplayUrl(Locale locale)
      Description copied from class: Data
      Return the URL to access this data in the front office.
      If descriptive URLs are enabled in JCMS (DescriptiveURLs) the url will be generated using DescriptiveURLs.getDescriptiveURL(Data, Locale) otherwise, a standard "display.jsp?id=" URL is generated.

      Warning: The return url may or may not contains a query string
      Specified by:
      getDisplayUrl in interface PortalInterface
      Overrides:
      getDisplayUrl in class Data
      Parameters:
      locale - the Locale to use for I18N and localized operations
      Returns:
      a path relative to the webapp path, (no '/' at begining).
      See Also:
    • isTreeNode

      public boolean isTreeNode()
      Description copied from interface: TreeNode
      Returns boolean true if the TreeNode is a node
      Specified by:
      isTreeNode in interface TreeNode
      Overrides:
      isTreeNode in class PortalElement
      Returns:
      boolean indicating if node is leaf or node
      See Also: