Class CmsOrgUnitsSubList

    • Constructor Detail

      • CmsOrgUnitsSubList

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

        Parameters:
        jsp - an initialized JSP action element
      • CmsOrgUnitsSubList

        public CmsOrgUnitsSubList​(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

      • actionDelete

        public void actionDelete()
                          throws java.lang.Exception
        Deletes the given organizational unit.

        Throws:
        java.lang.Exception - if something goes wrong
      • actionParent

        public void actionParent()
                          throws java.lang.Exception
        Deletes the given organizational unit.

        Throws:
        java.lang.Exception - if something goes wrong
      • getParamOufqn

        public java.lang.String getParamOufqn()
        Returns the organizational unit fqn parameter value.

        Returns:
        the organizational unit fqn parameter value
      • hasSubOUs

        public boolean hasSubOUs()
                          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
      • setParamOufqn

        public void setParamOufqn​(java.lang.String ouFqn)
        Sets the organizational unit fqn parameter value.

        Parameters:
        ouFqn - the organizational unit fqn parameter value