Class AbstractJPortal

    • Constructor Detail

      • AbstractJPortal

        public AbstractJPortal()
    • Method Detail

      • getPageTitle

        public abstract java.lang.String getPageTitle​(java.lang.String lang)
      • getStructure

        public abstract java.lang.String getStructure()
      • setStructure

        public abstract void setStructure​(java.lang.String v)
      • performBeforeWrite

        protected void performBeforeWrite​(int op,
                                          Member mbr,
                                          java.util.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,
                                           java.util.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,
                                            java.util.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