|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginVersionStore
Handles PluginVersion
's persistence.
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. |
Method Detail |
---|
PluginVersion create(PluginVersion pluginVersion)
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.PluginVersion update(PluginVersion pluginVersion)
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.boolean delete(Long pluginVersionId)
pluginVersionId
- identifies the plugin version record to delete, not null.
IllegalArgumentException
- if the pluginVersionId is null.PluginVersion getById(Long pluginVersionId)
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.List<PluginVersion> getAll()
PluginVersion
's.
PluginVersion
's.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |