com.atlassian.jira.bc.project.component.ProjectComponentStore |
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Implement this method to check whether component with specified name is stored.
| |||||||||||
Remove the given component from the persistent storage.
| |||||||||||
Implement this method to look up the project component by the given ID and return it.
| |||||||||||
Retrieve all ProjectComponent objects stored.
| |||||||||||
Implement this method to look up all components that are related to the project with given ID.
| |||||||||||
Finds the ProjectComponent with the given name (case sensitive) in the project with the
given Id.
| |||||||||||
Finds the ProjectComponents with the given name (case insensitive) in all projects.
| |||||||||||
Retrieve a collection of ProjectComponents - where the lead of each component is
the specified user.
| |||||||||||
Implement this method to look up the project ID for the given component ID.
| |||||||||||
Implement this method to persist the component.
|
Implement this method to check whether component with specified name is stored.
name | component name, null will cause IllegalArgumentException |
---|
Remove the given component from the persistent storage.
componentId | ID of the component. |
---|
EntityNotFoundException | if component does not exist (maybe was removed previously). |
---|
Implement this method to look up the project component by the given ID and return it. If not found, throw the EntityNotFoundException. Do not return null!
id | project component ID |
---|
EntityNotFoundException | if the component not found |
---|
Retrieve all ProjectComponent objects stored.
Implement this method to look up all components that are related to the project with given ID.
projectId | project ID |
---|
Finds the ProjectComponent with the given name (case sensitive) in the project with the given Id.
projectId | the id of the component's project. |
---|---|
componentName | the name of the component to find. |
EntityNotFoundException |
---|
Finds the ProjectComponents with the given name (case insensitive) in all projects.
componentName | the name of the component to find. |
---|
Retrieve a collection of ProjectComponents - where the lead of each component is the specified user.
userKey | the lead user's key |
---|
Implement this method to look up the project ID for the given component ID. If project is not found throw EntityNotFoundException, never return null!
componentId | component ID |
---|
EntityNotFoundException | if component not found for the given component ID |
---|
Implement this method to persist the component. If component has no ID (null), insert it to the store, otherwise perform an update operation on the store.
component | component to persist |
---|
EntityNotFoundException | in case of update if the component does not exist (maybe was deleted :-) |
---|