public class ProjectCategoryStoreImpl extends Object implements ProjectCategoryStore
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_NAME |
| Constructor and Description |
|---|
ProjectCategoryStoreImpl(EntityEngine entityEngine) |
| Modifier and Type | Method and Description |
|---|---|
ProjectCategory |
createProjectCategory(String name,
String description) |
List<ProjectCategory> |
getAllProjectCategories()
Returns all ProjectCategories, ordered by name.
|
ProjectCategory |
getProjectCategory(Long id)
Returns
ProjectCategory for the given id. |
void |
removeProjectCategory(Long id) |
void |
updateProjectCategory(ProjectCategory projectCategory) |
public static final String ENTITY_NAME
public ProjectCategoryStoreImpl(EntityEngine entityEngine)
public ProjectCategory getProjectCategory(Long id)
ProjectCategoryStoreProjectCategory for the given id.getProjectCategory in interface ProjectCategoryStoreid - project category idProjectCategory for the provided id if it was found or else nullpublic List<ProjectCategory> getAllProjectCategories()
ProjectCategoryStoregetAllProjectCategories in interface ProjectCategoryStorepublic ProjectCategory createProjectCategory(String name, String description)
createProjectCategory in interface ProjectCategoryStorepublic void removeProjectCategory(Long id)
removeProjectCategory in interface ProjectCategoryStorepublic void updateProjectCategory(ProjectCategory projectCategory)
updateProjectCategory in interface ProjectCategoryStoreCopyright © 2002-2019 Atlassian. All Rights Reserved.