java.lang.Object | |
↳ | com.atlassian.jira.project.version.CachingVersionStore |
A caching implementation of the VersionStore that relies on a delegate to do the DB operations.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a list of GenericValues representing all Versions in JIRA, ordered by sequence.
| |||||||||||
Returns a list of GenericValues representing all Versions in JIRA with a given name, case insensitively.
| |||||||||||
Returns a list of GenericValues representing all Versions in a project.
| |||||||||||
Stores an individual Version in the DB.
| |||||||||||
Stores a collection of Version objects.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||
![]()
|
Returns a list of GenericValues representing all Versions in JIRA, ordered by sequence.
Returns a list of GenericValues representing all Versions in JIRA with a given name, case insensitively.
name | Version name |
---|
Returns a list of GenericValues representing all Versions in a project.
projectId | Project Id |
---|
Stores an individual Version in the DB.
If you want to store a collection of Versions, consider using storeVersions(Collection
, it can be more efficient.
version | The Version to store. |
---|
Stores a collection of Version objects.
This method can have performance benefits over calling storeVersion()
multiple times.
eg the
CachingVersionStore
will reload the cache from DB with every call to storeVersion()
.
versions | Collection of Version objects. |
---|