|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface PersistenceService
| Method Summary | ||
|---|---|---|
|
addToCollection(CollectionDescriptor descriptor,
T element,
Object collectionOwner)
Deprecated. Adds and element to the collectionOwner's collection described by the descriptor |
|
int |
count(Class type)
Deprecated. |
|
Serializable |
getIdentifier(Object data)
Deprecated. Returns the identifier value of the given entity |
|
Serializable |
getIdentifier(Object data,
TynamoClassDescriptor classDescriptor)
Deprecated. Returns the identifier value of the given entity |
|
|
getInstance(Class<T> type,
Serializable id)
Deprecated. Returns the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance. |
|
|
getInstances(Class<T> type)
Deprecated. |
|
|
getInstances(Class<T> type,
int startIndex,
int maxResults)
Deprecated. |
|
List |
getOrphanInstances(CollectionDescriptor descriptor,
Object owner)
Deprecated. |
|
void |
remove(Object instance)
Deprecated. |
|
void |
removeAll(Collection collection)
Deprecated. Removes all the elements in the specified collection |
|
void |
removeFromCollection(CollectionDescriptor descriptor,
Object element,
Object collectionOwner)
Deprecated. Removes the element from the collectionOwner's collection described by the descriptor |
|
|
save(T instance)
Deprecated. |
|
| Method Detail |
|---|
<T> T getInstance(Class<T> type,
Serializable id)
<T> List<T> getInstances(Class<T> type)
<T> List<T> getInstances(Class<T> type,
int startIndex,
int maxResults)
int count(Class type)
<T> T save(T instance)
void remove(Object instance)
void removeAll(Collection collection)
<T> T addToCollection(CollectionDescriptor descriptor,
T element,
Object collectionOwner)
void removeFromCollection(CollectionDescriptor descriptor,
Object element,
Object collectionOwner)
List getOrphanInstances(CollectionDescriptor descriptor,
Object owner)
Serializable getIdentifier(Object data,
TynamoClassDescriptor classDescriptor)
Serializable getIdentifier(Object data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||