|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.plugin.OfBizPluginVersionStore
public class OfBizPluginVersionStore
OfBiz implementation of the PluginVersionStore
.
Field Summary | |
---|---|
static String |
PLUGIN_VERSION_CREATED
|
static String |
PLUGIN_VERSION_ENTITY_NAME
|
static String |
PLUGIN_VERSION_ID
|
static String |
PLUGIN_VERSION_KEY
|
static String |
PLUGIN_VERSION_NAME
|
static String |
PLUGIN_VERSION_VERSION
|
Constructor Summary | |
---|---|
OfBizPluginVersionStore(OfBizDelegator ofBizDelegator)
|
Method Summary | |
---|---|
PluginVersion |
create(PluginVersion pluginVersion)
Creates a PluginVersion in the database. |
boolean |
delete(Long pluginVersionId)
Deletes a plugin version from the datastore. |
List<PluginVersion> |
getAll()
Returns a list of all PluginVersion 's. |
PluginVersion |
getById(Long pluginVersionId)
Gets the PluginVersion specified by the id. |
PluginVersion |
update(PluginVersion pluginVersion)
Updates a plugin version in the datastore. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PLUGIN_VERSION_ENTITY_NAME
public static final String PLUGIN_VERSION_ID
public static final String PLUGIN_VERSION_KEY
public static final String PLUGIN_VERSION_NAME
public static final String PLUGIN_VERSION_VERSION
public static final String PLUGIN_VERSION_CREATED
Constructor Detail |
---|
public OfBizPluginVersionStore(OfBizDelegator ofBizDelegator)
Method Detail |
---|
public PluginVersion create(PluginVersion pluginVersion)
PluginVersionStore
PluginVersion
in the database. The id in the object will
be ignored.
create
in interface PluginVersionStore
pluginVersion
- contains the key, name, and version to be persisted.
PluginVersion
with the database id populated.public PluginVersion update(PluginVersion pluginVersion)
PluginVersionStore
update
in interface PluginVersionStore
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.public boolean delete(Long pluginVersionId)
PluginVersionStore
delete
in interface PluginVersionStore
pluginVersionId
- identifies the plugin version record to delete, not null.
public PluginVersion getById(Long pluginVersionId)
PluginVersionStore
PluginVersion
specified by the id.
getById
in interface PluginVersionStore
pluginVersionId
- identifies the plugin version record to retrieve.
PluginVersion
with the corresponding id or null if the record
is not found.public List<PluginVersion> getAll()
PluginVersionStore
PluginVersion
's.
getAll
in interface PluginVersionStore
PluginVersion
's.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |