Class CmsOrgUnitsAdminList

    • Constructor Detail

      • CmsOrgUnitsAdminList

        public CmsOrgUnitsAdminList​(org.opencms.jsp.CmsJspActionElement jsp)
        Public constructor.

        Parameters:
        jsp - an initialized JSP action element
      • CmsOrgUnitsAdminList

        public CmsOrgUnitsAdminList​(javax.servlet.jsp.PageContext context,
                                    javax.servlet.http.HttpServletRequest req,
                                    javax.servlet.http.HttpServletResponse res)
        Public constructor with JSP variables.

        Parameters:
        context - the JSP page context
        req - the JSP request
        res - the JSP response
    • Method Detail

      • forwardToSingleAdminOU

        public void forwardToSingleAdminOU()
                                    throws javax.servlet.ServletException,
                                           java.io.IOException,
                                           org.opencms.main.CmsException
        Performs a forward to the overview of the single organizational unit the current user is allowed to administrate.

        Throws:
        javax.servlet.ServletException - in case of errors during forwarding
        java.io.IOException - in case of errors during forwarding
        org.opencms.main.CmsException - in case of errors during getting orgunits
      • getOverviewIcon

        public java.lang.String getOverviewIcon()
        Returns the path of the overview icon.

        Returns:
        the path of the overview icon
      • hasMoreAdminOUs

        public boolean hasMoreAdminOUs()
                                throws org.opencms.main.CmsException
        Checks if the user has more then one organizational unit to administrate.

        Returns:
        true if the user has more then then one organizational unit to administrate otherwise false
        Throws:
        org.opencms.main.CmsException - if the organizational units can not be read
      • getForwardToolPath

        protected java.lang.String getForwardToolPath()
        Returns the tool path to forward if there is only one single organizational unit.

        Returns:
        the tool path to forward
      • getGroupsToolPath

        protected java.lang.String getGroupsToolPath()
        Returns the tool path of the groups management tool.

        Returns:
        the tool path of the groups management tool
      • getUsersToolPath

        protected java.lang.String getUsersToolPath()
        Returns the tool path of the users management tool.

        Returns:
        the tool path of the users management tool