Class JPortalEditorHandler

    • Field Detail

      • PORTLET_EDITION_REQUEST_ATTR

        public static final java.lang.String PORTLET_EDITION_REQUEST_ATTR
        See Also:
        Constant Field Values
      • FORM_HANDLER_REQUEST_ATTR

        public static final java.lang.String FORM_HANDLER_REQUEST_ATTR
        See Also:
        Constant Field Values
      • JPORTAL_INSTANCE_REQUEST_ATTR

        public static final java.lang.String JPORTAL_INSTANCE_REQUEST_ATTR
        See Also:
        Constant Field Values
      • JPORTAL_EDITION_REQUEST_ATTR

        public static final java.lang.String JPORTAL_EDITION_REQUEST_ATTR
        See Also:
        Constant Field Values
      • containerCssClass

        public static final java.lang.String[] containerCssClass
      • containerLabels

        public static final java.lang.String[] containerLabels
    • Constructor Detail

      • JPortalEditorHandler

        public JPortalEditorHandler()
    • Method Detail

      • getCloseUrl

        public java.lang.String getCloseUrl()
      • getPublishModalUrl

        public java.lang.String getPublishModalUrl()
      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Description copied from class: JcmsFormHandler
        Method to be implemented to check/validate action to be performed and process them.

        Default implementation is to return false. No need to call super method.

        This method may NOT be invoked at all if security validation are not met.

        You must ensure your handler and JSP can work properly without any code invoked in this method.

        Overrides:
        processAction in class JcmsFormHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • getPortletSet

        public java.util.Set<Portlet> getPortletSet()
      • canCreatePortlet

        public boolean canCreatePortlet()
      • getPortletName

        public java.lang.String getPortletName()
      • getPortletEditTemplatePath

        public java.lang.String getPortletEditTemplatePath()
      • getPortletTypeTemplateEntrySet

        public static java.util.Set<TypeTemplateEntry> getPortletTypeTemplateEntrySet​(java.lang.Class portletClazz)
      • isSearchPerformed

        public boolean isSearchPerformed()
      • isJPortalCollaborativeSpace

        public boolean isJPortalCollaborativeSpace()
        Check if the edited jportal belongs to a CollaborativeSpace
        Returns:
        true if the edited jportal belongs to a collaborative space
        Since:
        jcms-10.0.7
      • getSkinUsage

        public java.lang.String getSkinUsage()
      • getPortletInstanceSet

        public java.util.Set<Portlet> getPortletInstanceSet()
      • isPortletJaliosSkin

        public boolean isPortletJaliosSkin()
        Returns:
        true if current portlet uses jalios skin
      • getPortletPortalSet

        public java.util.Set<PortalInterface> getPortletPortalSet()
      • getEnumerateSettings

        public EnumerateSettings getEnumerateSettings​(java.lang.String prop)
      • getComponentsAutoCompleteSettings

        public TextFieldSettings getComponentsAutoCompleteSettings()
      • addFrontEndDependencies

        public void addFrontEndDependencies()
      • getjPortalStructure

        public java.lang.String getjPortalStructure()
      • setjPortalStructure

        public void setjPortalStructure​(java.lang.String jPortalStructure)
      • getPortletClass

        public java.lang.Class<Portlet> getPortletClass()
      • setPortletClassName

        public void setPortletClassName​(java.lang.String portletClassName)
      • isCreatePortlet

        public boolean isCreatePortlet()
      • setCreatePortlet

        public void setCreatePortlet​(boolean createPortlet)
      • getPortletId

        public java.lang.String getPortletId()
      • setPortletId

        public void setPortletId​(java.lang.String portletId)
      • getBlockId

        public java.lang.String getBlockId()
      • setBlockId

        public void setBlockId​(java.lang.String blockId)
      • setjPortal

        public void setjPortal​(java.lang.String jPortalId)
      • getText

        public java.lang.String getText()
      • setText

        public void setText​(java.lang.String text)
      • getAvailableJPortalMapping

        public JPortalMapping getAvailableJPortalMapping()
      • getJPortalMappingUI

        public java.lang.String getJPortalMappingUI()
      • getOpUnlock

        public java.lang.String getOpUnlock()
      • setOpUnlock

        public void setOpUnlock​(java.lang.String opUnlock)
      • getPortletSimpleName

        public static java.lang.String getPortletSimpleName​(java.lang.String portletName)
      • isOpResetHistory

        public boolean isOpResetHistory()
      • setOpResetHistory

        public void setOpResetHistory​(boolean opResetHistory)
      • getContainerCssClass

        public java.lang.String[] getContainerCssClass()
      • getContainerLabels

        public java.lang.String[] getContainerLabels​(java.lang.String lang)
      • getComponentSearchName

        public java.lang.String getComponentSearchName()
      • setComponentSearchName

        public void setComponentSearchName​(java.lang.String componentSearchName)
      • isOpSaveStructure

        public boolean isOpSaveStructure()
      • setOpSaveStructure

        public void setOpSaveStructure​(boolean opSaveStructure)
      • getResult

        public java.lang.String getResult()
      • setResult

        public void setResult​(java.lang.String result)
      • isOpRemoveBlockAndUpdateSizes

        public boolean isOpRemoveBlockAndUpdateSizes()
      • setOpRemoveBlockAndUpdateSizes

        public void setOpRemoveBlockAndUpdateSizes​(boolean opRemoveBlockAndUpdateSizes)
      • setPortletClass

        public void setPortletClass​(java.lang.Class<Portlet> portletClass)
      • getAvailableCollaborativeSpace

        public PortletCollection getAvailableCollaborativeSpace()
      • setCollaborativeSpace

        public void setCollaborativeSpace​(java.lang.String collaborativeSpace)
      • getBlocksAndSize

        public java.lang.String getBlocksAndSize()
      • setBlocksAndSize

        public void setBlocksAndSize​(java.lang.String blocksAndSize)
      • getTargetBlockId

        public java.lang.String getTargetBlockId()
      • setTargetBlockId

        public void setTargetBlockId​(java.lang.String targetBlockId)
      • getMovePosition

        public java.lang.String getMovePosition()
      • setMovePosition

        public void setMovePosition​(java.lang.String movePosition)
      • isOpMoveBlockAndUpdateSizes

        public boolean isOpMoveBlockAndUpdateSizes()
      • setOpMoveBlockAndUpdateSizes

        public void setOpMoveBlockAndUpdateSizes​(boolean opMoveBlockAndUpdateSizes)
      • getNewBlockId

        public java.lang.String getNewBlockId()
      • setNewBlockId

        public void setNewBlockId​(java.lang.String newBlockId)
      • getBlockToMoveId

        public java.lang.String getBlockToMoveId()
      • setBlockToMoveId

        public void setBlockToMoveId​(java.lang.String blockToMoveId)
      • getAvailableWorkspaceFilter

        public Workspace getAvailableWorkspaceFilter()
      • setWorkspaceFilter

        public void setWorkspaceFilter​(java.lang.String workspaceFilter)