java.lang.Object | |
↳ | org.apache.archiva.redback.components.jdo.RedbackJdoUtils |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Use
getObjectById(PersistenceManager, Class, long, String)
instead
| |||||||||||
Obtain and return an Object instance from the underlying data
store based on the passed in identifier.
| |||||||||||
Obtain and return an Object instance from the underlying data
store based on the passed in identifier.
| |||||||||||
This method is deprecated.
Use
getObjectById(PersistenceManager, Class, long)
instead
| |||||||||||
This operation as opposed to
updateObject(PersistenceManager, Object) is an
new school technique, which does not
requires that the object be previously added using
addObject(PersistenceManager, Object) or
addObject(PersistenceManager, Object, String[]) .@return | |||||||||||
This operation is an old school technique, which required that
the object be previously added using
addObject(PersistenceManager, Object) or
addObject(PersistenceManager, Object, String[]) .@return |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Obtain and return an Object instance from the underlying data store based on the passed in identifier.
pm | PersistenceManager manager to use to query database. |
---|---|
clazz | Expected Class of the Object instance to be returned. |
id | Object identifier to match in the database. |
fetchGroup | TODO: Document! |
RedbackStoreException | if there was an error querying the database for the object. |
---|---|
RedbackObjectNotFoundException | if a matching object could not be found. |
Obtain and return an Object instance from the underlying data store based on the passed in identifier.
pm | PersistenceManager manager to use to query database. |
---|---|
clazz | Expected Class of the Object instance to be returned. |
id | Object identifier to match in the database. |
RedbackStoreException | if there was an error querying the database for the object. |
---|---|
RedbackObjectNotFoundException | if a matching object could not be found. |
This operation as opposed to
updateObject(PersistenceManager, Object)
is an
new school technique, which does not
requires that the object be previously added using
addObject(PersistenceManager, Object)
or
addObject(PersistenceManager, Object, String[])
.@return
RedbackStoreException | |
RedbackStoreException |
This operation is an old school technique, which required that
the object be previously added using
addObject(PersistenceManager, Object)
or
addObject(PersistenceManager, Object, String[])
.@return
RedbackStoreException | |
RedbackStoreException |