|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The entry point into the WCM repository.
This interface provides methods for obtaining a
Workspace. A Workspace represents
a view of the repository for the specified user.
| Field Summary | |
static java.lang.String |
COPYRIGHT
Copyright statement |
| Method Summary | |
void |
endWorkspace()
Close the current Workspace when finished with it. |
Workspace |
getAnonymousWorkspace()
Returns a Workspace object representing a view of the repository
for the Anonymous user. |
Workspace |
getWorkspace(java.security.Principal p_principal)
Returns a Workspace object representing a view of the repository
for the specified Principal. |
Workspace |
getWorkspace(java.lang.String p_username,
java.lang.String p_password)
Returns a Workspace object that represents a view of the
repository for a user with the specified credentials. |
| Field Detail |
public static final java.lang.String COPYRIGHT
| Method Detail |
public Workspace getWorkspace(java.lang.String p_username,
java.lang.String p_password)
throws ServiceNotAvailableException,
OperationFailedException
Workspace object that represents a view of the
repository for a user with the specified credentials.
p_username - the username of the user to get a
Workspace forp_password - the user's password
Workspace for the specified user; returns an
Anonymous Workspace if the user could not be authenticated.
ServiceNotAvailableException - if the WCM service is not available
OperationFailedException - if a Workspace could not be
created for this user
java.lang.NullPointerException - if either of the arguments to this method is
null
public Workspace getAnonymousWorkspace()
throws ServiceNotAvailableException,
OperationFailedException
Workspace object representing a view of the repository
for the Anonymous user.
ServiceNotAvailableException - if the WCM service is not available
OperationFailedException - if a workspace could not be
created for this user
public Workspace getWorkspace(java.security.Principal p_principal)
throws ServiceNotAvailableException,
OperationFailedException
Workspace object representing a view of the repository
for the specified Principal.
p_principal -
ServiceNotAvailableException - if the WCM service is not available
OperationFailedException - if a workspace could not be
created for the specified Principal
java.lang.NullPointerException - if the argument to this method is
nullpublic void endWorkspace()
Workspace when finished with it.
This will unregister the current thread from its session
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||