Class CmsOUHandler

java.lang.Object
org.opencms.ui.apps.user.CmsOUHandler

public class CmsOUHandler extends Object
Ou Handler.
  • Constructor Details

  • Method Details

    • getManagableOUs

      public static List<String> getManagableOUs(CmsObject cms)
      Gets List of managable OU names for the current user.

      Parameters:
      cms - CmsObject
      Returns:
      List of String
    • getBaseOU

      public String getBaseOU()
      Get base ou for given manageable ous.

      Returns:
      Base ou (may be outside of given ou)
    • isOUManagable

      public boolean isOUManagable(String ou)
      Checks if given ou is manageable.

      Parameters:
      ou - to check
      Returns:
      true is it is manageable
    • isParentOfManagableOU

      public boolean isParentOfManagableOU(String name)
      Checks if given ou is parent of a managable ou.

      Parameters:
      name - to check
      Returns:
      boolean