| com.atlassian.jira.plugin.PluginVersionStore |
Known Indirect Subclasses
| |||||||||||||||
Handles PluginVersion's persistence.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
PluginVersion in the database. | |||||||||||
Deletes a plugin version from the datastore.
| |||||||||||
Deletes any
PluginVersions for the plugin with the given key. | |||||||||||
Returns a list of all
PluginVersion's. | |||||||||||
Gets the
PluginVersion specified by the id. | |||||||||||
Persists the given
PluginVersion, performing an insert or update according to whether a record for this
plugin key already exists. | |||||||||||
Updates a plugin version in the datastore.
| |||||||||||
Creates a PluginVersion in the database. The id in the object will
be ignored.
| pluginVersion | contains the key, name, and version to be persisted. |
|---|
PluginVersion with the database id populated.| IllegalArgumentException | if pluginVersion is null. |
|---|
Deletes a plugin version from the datastore. If the provided id does not resolve to an existing record then this method will return false and no records will be deleted.
| pluginVersionId | identifies the plugin version record to delete, not null. |
|---|
| IllegalArgumentException | if the pluginVersionId is null. |
|---|
Deletes any PluginVersions for the plugin with the given key.
| pluginKey | the key for which to delete the version(s) (required) |
|---|
Returns a list of all PluginVersion's.
PluginVersion's.
Gets the PluginVersion specified by the id.
| pluginVersionId | identifies the plugin version record to retrieve. |
|---|
PluginVersion with the corresponding id or null if the record
is not found.
Persists the given PluginVersion, performing an insert or update according to whether a record for this
plugin key already exists.
| pluginVersion | the plugin version to save (required) |
|---|
Updates a plugin version in the datastore.
| pluginVersion | contains the key, name, and version to update. The id will be used to find the record to update. |
|---|
PluginVersion that represents the updated record.| IllegalArgumentException | if pluginVersion or pluginVersion.getId is null or we can not find the record with the provided id. |
|---|

