|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface provides acces to persistent data of a resource for the statemanagement related controls. Everything related to the current state and the defined workflow is accessed via this interface.
| Method Summary | |
boolean |
addFeedback(java.lang.String impFeedbackText)
Adds feedback to the IStatemanagementUtilsResource object. |
IStepList |
convertToApproverList(java.lang.String impApproverString)
Converts a string as returned from the convertToString() method back to a IStepList .
|
java.lang.String |
convertToString(IStepList impStepList)
Converts a steplist to a string in order to save this string as persistant data within a control |
boolean |
isApproverlistAllowedForRead()
Gets the ApproverlistAllowedForRead attribute of the IStatemanagementUtilsResource object. |
boolean |
isApproverlistAllowedForWrite()
Gets the ApproverlistAllowedForWrite attribute of the IStatemanagementUtilsResource object. |
boolean |
isStatemanagementEnabled()
Gets the StatemanagementEnabled attribute of the IStatemanagementUtilsResource object. |
IStepList |
readApproverList()
Reads the list of steps and approvers from the database |
java.lang.Integer |
readCurrentStep()
Reads the index of the last step approved for a resource |
java.lang.Integer |
readNextStep()
Reads the index of the next step to be approved. |
IState |
readState()
Determines the current state of a resource. |
com.sapportals.portal.security.usermanagement.IUser |
readWorkflowInitiator()
Determines the user who initiated the approval process for a resource |
void |
saveApproverList(IStepList impApproverList)
Saves the defined workflow for the current resource |
void |
setStatemanagementEnabled(boolean enabled)
Sets the StatemanagementEnabled attribute of the IStatemanagementUtilsResource object. |
| Method Detail |
public void setStatemanagementEnabled(boolean enabled)
throws WcmException
enabled - the new StatemanagementEnabled valueWcmException - exception raised in failure situation
public boolean isStatemanagementEnabled()
throws WcmException
WcmException - exception raised in failure situation
public boolean isApproverlistAllowedForWrite()
throws WcmException
WcmException - exception raised in failure situation
public boolean isApproverlistAllowedForRead()
throws WcmException
WcmException - exception raised in failure situation
public void saveApproverList(IStepList impApproverList)
throws WcmException
impApproverList - the list of steps and approversWcmException - exception raised in failure situation
public IStepList readApproverList()
throws WcmException
WcmException - exception raised in failure situation
public IStepList convertToApproverList(java.lang.String impApproverString)
throws WcmException
convertToString() method back to a IStepList .
This method can be used to restore the persistent data from a control.impApproverString - a string as returned from convertToString()WcmException - exception raised in failure situationIStepList.setStepListString(String impStepListString)
public java.lang.String convertToString(IStepList impStepList)
throws WcmException
impStepList - a steplistWcmException - exception raised in failure situation
public boolean addFeedback(java.lang.String impFeedbackText)
throws WcmException
impFeedbackText - feedback to be addedWcmException - exception raised in failure situation
public java.lang.Integer readNextStep()
throws WcmException
WcmException - exception raised in failure situation
public java.lang.Integer readCurrentStep()
throws WcmException
WcmException - exception raised in failure situation
public com.sapportals.portal.security.usermanagement.IUser readWorkflowInitiator()
throws WcmException
WcmException - exception raised in failure situation
public IState readState()
throws WcmException
WcmException - exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||