@Deprecated public interface PersistenceService
| Modifier and Type | Method and Description |
|---|---|
<T> T |
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.
|
<T> org.apache.tapestry5.grid.GridDataSource |
getGridDataSource(Class<T> 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
|
<T> T |
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.
|
<T> List<T> |
getInstances(Class<T> type)
Deprecated.
|
<T> List<T> |
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
|
<T> T |
save(T instance)
Deprecated.
|
<T> T getInstance(Class<T> type, Serializable id)
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)
<T> org.apache.tapestry5.grid.GridDataSource getGridDataSource(Class<T> type)
Copyright © 2004-2013. All Rights Reserved.