|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceRepositoryDelegate
This interface is used for the management of resources within the Repository.
Method Summary | |
---|---|
void |
addLockTokens(java.util.Collection lockTokens)
Deprecated. |
void |
clearLockTokens()
Deprecated. |
java.util.List |
getLockTokens()
Deprecated. |
void |
setLoadProfile(RepositoryLoadProfile loadProfile)
The load profile to apply to objects returned from the repository. |
void |
setReturnByValue(boolean returnByValue)
Deprecated. Repository no longer provides the ability to return by reference. The APIs are all return by value now. |
Method Detail |
---|
void addLockTokens(java.util.Collection lockTokens)
lockTokens
- A Collection
of previously saved lock tokens.void clearLockTokens()
java.util.List getLockTokens()
Clients should invoke this method prior to destroying a delegate instance and initialize
the next delegate session with the saved lock tokens. This method exists for efficiency;
while it is possible to rediscover lock tokens by calling delegate.getLocks(...)
for
each resource for which a lock token was saved, it is faster to save the lock tokens for
the next session.
List
of lock tokens currently stored in the delegate.void setLoadProfile(RepositoryLoadProfile loadProfile)
loadProfile
is
unspecified or set to null
, a
default load profile that returns all resource attributes is used.
loadProfile
- The load profile.@Deprecated void setReturnByValue(boolean returnByValue)
Changes the type of results returned by read calls to the repository. If returnByValue
is true
the repository will return resources and data with all data loaded (based on the current
RepositoryLoadProfile
), otherwise the repository will return implementations which may still
make calls against the database to load data as requested.
returnByValue
- true
if the Repository should return results by value, false
if the
Repository should return results by reference.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |