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)
ProjectCategoryStore
ProjectCategory
for the given id.getProjectCategory
in interface ProjectCategoryStore
id
- project category idProjectCategory
for the provided id if it was found or else nullpublic List<ProjectCategory> getAllProjectCategories()
ProjectCategoryStore
getAllProjectCategories
in interface ProjectCategoryStore
public ProjectCategory createProjectCategory(String name, String description)
createProjectCategory
in interface ProjectCategoryStore
public void removeProjectCategory(Long id)
removeProjectCategory
in interface ProjectCategoryStore
public void updateProjectCategory(ProjectCategory projectCategory)
updateProjectCategory
in interface ProjectCategoryStore
Copyright © 2002-2017 Atlassian. All Rights Reserved.