|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IStatemanagementUtilsResource instead.
The interface enables access to all information related to state management for a resource. For example, it provides information on the list of steps and approvers, the state of the resource, and the initiator of the workflow.
| Method Summary | |
boolean |
addFeedback(IResource impResource,
java.lang.String impFeedbackText)
Deprecated. Wrapper method for saving feedback from the service servlet for the feedback service |
IStepList |
convertToApproverList(java.lang.String impApproverString)
Deprecated. Constructs a steplist from a string which is returned by convertToString |
java.lang.String |
convertToString(IStepList impStepList)
Deprecated. Converts a steplist object into a string which can be used for persistent properties in UI |
IAclPermission |
getApproverAdminPermission(IResource impResource)
Deprecated. Gets the permission for approver administration for a resource. |
boolean |
isApproverlistAllowedForRead(IResource impResource)
Deprecated. Checks whether the current user is allowed to read the approver list for a resource |
boolean |
isApproverlistAllowedForWrite(IResource impResource)
Deprecated. Checks whether the current user has permission to change the approver list for a resource |
boolean |
isStatemanagementEnabled(IResource impResource)
Deprecated. Checks whether the state management service is enabled for a collection or for the parent collection of a resource. |
IStepList |
readApproverList(IResource impResource)
Deprecated. Reads the list of steps and approvers for a resource. |
java.lang.Integer |
readCurrentStep(IResource impResource)
Deprecated. Reads the last step approved for a resource. |
java.lang.Integer |
readNextStep(IResource impResource)
Deprecated. Reads the index of the next step to be approved. |
IState |
readState(IResource impResource)
Deprecated. Determines the current state of a resource. |
com.sapportals.portal.security.usermanagement.IUser |
readWorkflowInitiator(IResource impResource)
Deprecated. Determines the person who initiated the approval process for a resource |
void |
saveApproverList(IResource impResource,
IStepList impApproverList)
Deprecated. Saves the list of steps and approvers for a resource |
void |
saveCurrentStep(IResource impResource,
java.lang.Integer impStep)
Deprecated. Saves the last approved step for a resource |
void |
saveState(IResource impResouce,
IState impState)
Deprecated. Saves the state of a resource |
void |
saveWorkflowInitiator(IResource impResource,
com.sapportals.portal.security.usermanagement.IUser impWorkflowInitiator)
Deprecated. Saves the person who initiated the approval process for a resource |
void |
setStatemanagementEnabled(ICollection impCollection,
boolean enabled)
Deprecated. Enables or disables the statemanagement for a folder. |
| Method Detail |
public IAclPermission getApproverAdminPermission(IResource impResource)
throws WcmException
impResource - the resource for the permissionWcmException - exception raised in failure situation
public void setStatemanagementEnabled(ICollection impCollection,
boolean enabled)
throws WcmException
enabled - Boolean flag to enable or disable state management for a collectionimpCollection - the new StatemanagementEnabled valueWcmException -
public boolean isStatemanagementEnabled(IResource impResource)
throws WcmException
impResource - the resouce to checkWcmException -
public void saveApproverList(IResource impResource,
IStepList impApproverList)
throws WcmException
impResource - resource for which the list is savedimpApproverList - list of steps and approversWcmException -
public IStepList readApproverList(IResource impResource)
throws WcmException
impResource - resource for which the list is savedWcmException -
public java.lang.Integer readCurrentStep(IResource impResource)
throws WcmException
impResource - resource in the approval processWcmException -
public java.lang.Integer readNextStep(IResource impResource)
throws WcmException
impResource - resource in the approval process.WcmException -
public void saveCurrentStep(IResource impResource,
java.lang.Integer impStep)
throws WcmException
impResource - resource to save the stepimpStep - number of the step. If null, the step is deleted.WcmException - exception raised in failure situation
public com.sapportals.portal.security.usermanagement.IUser readWorkflowInitiator(IResource impResource)
throws WcmException
impResource - resource in approval processWcmException -
public void saveWorkflowInitiator(IResource impResource,
com.sapportals.portal.security.usermanagement.IUser impWorkflowInitiator)
throws WcmException
impResource - resource in approval processimpWorkflowInitiator - User who started the approval process. If null, the entry is deleted.WcmException -
public IState readState(IResource impResource)
throws WcmException
impResource - resourceWcmException -
public void saveState(IResource impResouce,
IState impState)
throws WcmException
impResouce - the resource for which the state has to be savedimpState - the state to saveWcmException -
public boolean isApproverlistAllowedForWrite(IResource impResource)
throws WcmException
impResource - the resource to be checkedWcmException -
public boolean isApproverlistAllowedForRead(IResource impResource)
throws WcmException
impResource - resource to be approvedWcmException -
public IStepList convertToApproverList(java.lang.String impApproverString)
throws WcmException
impApproverString - string as returned from convertToString. This string is used in the persistent properties
of a control. IStepList which contains the steps and approvers which were encoded
in the impApproverStringWcmException -
public java.lang.String convertToString(IStepList impStepList)
throws WcmException
impStepList - the steplist to convertWcmException -
public boolean addFeedback(IResource impResource,
java.lang.String impFeedbackText)
throws WcmException
impResource - resource for which there is feedbackimpFeedbackText - text to save as feedbackWcmException -
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||