Class WorkspaceWizardHandler

    • Field Detail

      • op

        protected boolean op
      • opCreate

        protected boolean opCreate
      • opCancel

        protected boolean opCancel
      • opRefresh

        protected boolean opRefresh
      • typeSet

        public java.util.Set<java.lang.Class<?>> typeSet
      • groupList

        protected java.util.List<Group> groupList
      • portalList

        protected java.util.List<Publication> portalList
      • catList

        protected java.util.List<Category> catList
      • title

        protected java.lang.String title
      • titleML

        protected java.util.HashMap<java.lang.String,​java.lang.String> titleML
      • administrator

        protected Member administrator
      • prefix

        protected java.lang.String prefix
      • id

        protected java.lang.String id
    • Constructor Detail

      • WorkspaceWizardHandler

        public WorkspaceWizardHandler()
    • Method Detail

      • 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
      • validateMember

        protected boolean validateMember()
        Returns:
        true if loggedMember has Workspace creation rights given the context.
        Since:
        jcms-9.0
      • validateCreate

        public boolean validateCreate()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • performCreate

        public boolean performCreate()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • validateCancel

        public boolean validateCancel()
      • performCancel

        public boolean performCancel()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • validateRefresh

        public boolean validateRefresh()
      • performRefresh

        public boolean performRefresh()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • setTypes

        public void setTypes​(java.lang.String[] clazz)
                      throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • getAvailableTypes

        public java.util.Collection<java.lang.Class<?>> getAvailableTypes()
      • setGroups

        public void setGroups​(java.lang.String[] groups)
      • getAvailableGroups

        public java.util.Collection<Group> getAvailableGroups()
      • setPortals

        public void setPortals​(java.lang.String[] portals)
      • getAvailablePortals

        public java.util.Collection<Publication> getAvailablePortals()
                                                              throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • setCidsNames

        public void setCidsNames​(java.lang.String[] cids)
      • getAvailableCidsNames

        public java.util.Collection<Category> getAvailableCidsNames()
      • setTitle

        public void setTitle​(java.lang.String[] v)
      • getAvailableTitle

        public java.lang.String getAvailableTitle()
      • getAvailableTitle

        public java.lang.String getAvailableTitle​(java.lang.String lang)
      • getAvailableTitleML

        public java.util.Map<java.lang.String,​java.lang.String> getAvailableTitleML()
      • getAllAvailableTitleML

        public java.util.Map<java.lang.String,​java.lang.String> getAllAvailableTitleML()
      • setAdministrator

        public void setAdministrator​(java.lang.String v)
      • getAvailableAdministrator

        public Member getAvailableAdministrator()
      • setPrefix

        public void setPrefix​(java.lang.String prefix)
      • getAvailablePrefix

        public java.lang.String getAvailablePrefix()
      • getAvailableId

        public java.lang.String getAvailableId()
      • setId

        public void setId​(java.lang.String v)
      • getWorkspaceWizardContext

        public WorkspaceWizardContext getWorkspaceWizardContext()
        Returns:
        the workspaceWizardContext result of the Workspace duplication.

        May be null if duplication failed.

        Since:
        jcms-9.0
      • setOpCreate

        public void setOpCreate​(java.lang.String v)
      • setOpCancel

        public void setOpCancel​(java.lang.String v)
      • setOpRefresh

        public void setOpRefresh​(java.lang.String v)