Package com.atlassian.jira.project
Interface ProjectCategoryStore
- All Known Implementing Classes:
ProjectCategoryStoreImpl
public interface ProjectCategoryStore
Does DB operations for ProjectCategory.
- Since:
- v4.4
-
Method Summary
Modifier and TypeMethodDescriptioncreateProjectCategory(String name, String description) Returns all ProjectCategories, ordered by name.ReturnsProjectCategoryfor the given id.voidvoidupdateProjectCategory(ProjectCategory projectCategory)
-
Method Details
-
createProjectCategory
-
removeProjectCategory
-
getProjectCategory
ReturnsProjectCategoryfor the given id.- Parameters:
id- project category id- Returns:
- the
ProjectCategoryfor the provided id if it was found or else null
-
getAllProjectCategories
List<ProjectCategory> getAllProjectCategories()Returns all ProjectCategories, ordered by name.- Returns:
- all ProjectCategories, ordered by name.
-
updateProjectCategory
-