Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVITY_DATA_PARAM_WORKSPACENAME
The activity data parameter that represents the workspace name of the context.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
NAME
The name of the context.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getWorkspace()
Returns the workspace name.
|
WorkspaceData |
getWorkspaceData()
Returns the configuration information associated with the workspace
of the content context.
|
void |
prepareForViewing()
Prepares the request for reading to setup any environment setting if the data is content managed.
|
void |
prepareForWriting()
Prepares the request for writing to setup any environment settings if the data is content managed.
|
void |
restoreOriginalState()
Restores the environment state back to the original state if prepared for read or write were called.
|
void |
setWorkspace(java.lang.String workspace)
Sets the workspace of the content context.
|
copyContext, getActivityToken, getContextName, validate
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String ACTIVITY_DATA_PARAM_WORKSPACENAME
void prepareForWriting() throws ResourceException
ResourceException
- Any problem when preparing for write.void prepareForViewing() throws ResourceException
ResourceException
- Any problem when preparing for read.void restoreOriginalState() throws ResourceException
ResourceException
- Any problem when restoring the original state.void setWorkspace(java.lang.String workspace) throws ResourceException
workspace
- The workspace name.ResourceException
- A problem resolving the workspace to a physical workspace.java.lang.String getWorkspace()
WorkspaceData getWorkspaceData()