Package com.atlassian.jira.config
Interface StatusCategoryManager
- All Known Implementing Classes:
DefaultStatusCategoryManager
public interface StatusCategoryManager
Manager for
StatusCategory
ies.- Since:
- v6.1
-
Method Summary
Modifier and TypeMethodDescriptionGetStatusCategory
which is default for statusesGet all status categoriesFind category by given IDFind category by given KeyFind category by given NameGet status categories visible to any userboolean
Returns a boolean whether status lozenge is enabled or not
-
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()GetStatusCategory
which is default for statuses- Returns:
- StatusCategory
-
getStatusCategory
Find category by given ID- Parameters:
id
- the id of the category- Returns:
- category or null when is not found
-
getStatusCategoryByKey
Find category by given Key- Parameters:
key
- the key of the category- Returns:
- category or null when is not found
-
getStatusCategoryByName
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
-