java.lang.Object | |
↳ | com.atlassian.jira.bc.project.component.OfBizProjectComponentStore |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
log |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check whether component with specified name is stored.
| |||||||||||
Remove the given component from the persistent storage.
| |||||||||||
Deletes all components in given project.
| |||||||||||
Retrieve the MutableProjectComponent with the specified ID.
| |||||||||||
Retrieve all ProjectComponent objects stored and sort by name.
| |||||||||||
Retrieve all components that are related to the project with given ID and sort by name.
| |||||||||||
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 components - where the lead of each component is the specified user.
| |||||||||||
Retrieve the project ID for the given component ID.
| |||||||||||
Returns the ProjectComponent for the given ID, or null.
| |||||||||||
Persists the component.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Check whether component with specified name is stored.
name | component name, null will cause IllegalArgumentException |
---|---|
projectId | project ID |
IllegalArgumentException | if name or projectId is null |
---|
Remove the given component from the persistent storage.
componentId | ID of the component. |
---|
EntityNotFoundException |
---|
Deletes all components in given project.
projectId | id of the project in which components will be deleted. |
---|
Retrieve the MutableProjectComponent with the specified ID. An EntityNotFoundException is thrown if the component is not found.
id | component ID to search for |
---|
EntityNotFoundException | if the component is not found |
---|
Retrieve all ProjectComponent objects stored and sort by name.
Retrieve all components that are related to the project with given ID and sort by name.
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. |
IllegalArgumentException |
---|
Finds the ProjectComponents with the given name (case insensitive) in all projects.
componentName | the name of the component to find. |
---|
Retrieve a collection of components - where the lead of each component is the specified user.
userKey | the lead user's key |
---|
Retrieve the project ID for the given component ID. If project is not found, a EntityNotFoundException is thrown.
componentId | component ID |
---|
EntityNotFoundException | if component not found for the given component ID |
---|
Returns the ProjectComponent for the given ID, or null.
projectComponentId | the ID |
---|
Persists the component. If component has no ID (null), it is inserted in the store, otherwise an update operation is performed on the store.
component | component to persist |
---|
EntityNotFoundException | in case of update if the component does not exist (maybe was deleted :-) |
---|---|
DataAccessException | if cannot persist the component |