Interface StatusCategoryManager

All Known Implementing Classes:
DefaultStatusCategoryManager

public interface StatusCategoryManager
Manager for StatusCategoryies.
Since:
v6.1
  • Method Details

    • getStatusCategories

      List<StatusCategory> getStatusCategories()
      Get all status categories
      Returns:
      a list of all StatusCategories
    • getUserVisibleStatusCategories

      List<StatusCategory> getUserVisibleStatusCategories()
      Get status categories visible to any user
      Returns:
      a list of StatusCategories visible to any user
    • getDefaultStatusCategory

      StatusCategory getDefaultStatusCategory()
      Get StatusCategory which is default for statuses
      Returns:
      StatusCategory
    • getStatusCategory

      StatusCategory getStatusCategory(Long id)
      Find category by given ID
      Parameters:
      id - the id of the category
      Returns:
      category or null when is not found
    • getStatusCategoryByKey

      StatusCategory getStatusCategoryByKey(String key)
      Find category by given Key
      Parameters:
      key - the key of the category
      Returns:
      category or null when is not found
    • getStatusCategoryByName

      StatusCategory getStatusCategoryByName(String name)
      Find category by given Name
      Parameters:
      name - the non-i18n name of the category
      Returns:
      category or null when is not found
      Since:
      v6.2
    • isStatusAsLozengeEnabled

      boolean isStatusAsLozengeEnabled()
      Returns a boolean whether status lozenge is enabled or not
      Returns:
      a boolean