Interface I_CmsOuTreeType

All Known Implementing Classes:
CmsOuTreeType

public interface I_CmsOuTreeType
Interface for OU tree types.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the key for the empty-message.
    Get the icon.
    Gets the id of the type.
    Gets the name of the element.
    boolean
    Checks if type is expandable.
    boolean
    Checks if the tree type is group-like.
    boolean
    Checks if the tree type is OU-like.
    boolean
    Checks if the tree type is role-like.
    boolean
    Checks if the tree type is user-like.
    boolean
    Checks if the tree type is available for a given OU.
    boolean
    True if type should be shown in OU overview table.
  • Method Details

    • getEmptyMessageKey

      Returns the key for the empty-message.

      Returns:
      key as string
    • getIcon

      Get the icon.

      Returns:
      CmsCssIcon
    • getId

      Gets the id of the type.

      Returns:
      id string
    • getName

      Gets the name of the element.

      Returns:
      name
    • isExpandable

      boolean isExpandable()
      Checks if type is expandable.

      Returns:
      true if expandable
    • isGroup

      boolean isGroup()
      Checks if the tree type is group-like.

      Returns:
      true for group-like types
    • isOrgUnit

      boolean isOrgUnit()
      Checks if the tree type is OU-like.

      Returns:
      true for OU-like types
    • isRole

      boolean isRole()
      Checks if the tree type is role-like.

      Returns:
      true for role-like OUs
    • isUser

      boolean isUser()
      Checks if the tree type is user-like.

      Returns:
      true for user-like OUs
    • isValidForOu

      boolean isValidForOu(CmsObject cms, String ou)
      Checks if the tree type is available for a given OU.
      Parameters:
      cms - the CMS context
      ou - the OU FQN.
      Returns:
      true if the tree type is valid for the OU
    • showInOuTable

      boolean showInOuTable()
      True if type should be shown in OU overview table.

      Returns:
      true if the type should be shown in the overview table for an OU