|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Session
A session is a token that encapsulates connectivity to a single Content Server instance.
It is the only supported mechanism to obtain manager instances that interact with Content Server's business objects. Session is created with user's credentials, therefore, business objects obtained with a given have access privileges and restrictions for that user. It is not advisable to cache Session instance in memory and use it across threads. A new Session instance must be obtained at the beginning of a program's thread and discarded after use.
Method Summary | |
---|---|
AssetDataManager |
getAssetDataManager()
Deprecated. use Session.getManager(java.lang.String) instead |
AssetTypeDefManager |
getAssetDefManager()
Deprecated. use Session.getManager(java.lang.String) instead |
java.lang.Object |
getManager(java.lang.String name)
Get a manager from the session given the name of Manager. |
RevisionTrackingManager |
getRevisionTrackingManager()
Deprecated. use Session.getManager(java.lang.String) instead |
Method Detail |
---|
java.lang.Object getManager(java.lang.String name)
name
- the name of the manager to return, as it was registered in the session
java.lang.IllegalArgumentException
- if the requested manager does not exist.AssetTypeDefManager getAssetDefManager()
Session.getManager(java.lang.String)
instead
AssetDataManager getAssetDataManager()
Session.getManager(java.lang.String)
instead
RevisionTrackingManager getRevisionTrackingManager()
Session.getManager(java.lang.String)
instead
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |