public interface IStatemanagementUtilsResource
Modifier and Type | Method and Description |
---|---|
boolean |
addFeedback(String impFeedbackText)
Adds feedback to the IStatemanagementUtilsResource object.
|
IStepList |
convertToApproverList(String impApproverString)
Converts a string as returned from the
convertToString() method back to a IStepList . |
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
|
Integer |
readCurrentStep()
Reads the index of the last step approved for a resource
|
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()
Deprecated.
As of NetWeaver 7.1, replaced by
readWorkflowInitiatorUME() |
IUser |
readWorkflowInitiatorUME()
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.
|
void setStatemanagementEnabled(boolean enabled) throws WcmException
enabled
- the new StatemanagementEnabled valueWcmException
- exception raised in failure situationboolean isStatemanagementEnabled() throws WcmException
WcmException
- exception raised in failure situationboolean isApproverlistAllowedForWrite() throws WcmException
WcmException
- exception raised in failure situationboolean isApproverlistAllowedForRead() throws WcmException
WcmException
- exception raised in failure situationvoid saveApproverList(IStepList impApproverList) throws WcmException
impApproverList
- the list of steps and approversWcmException
- exception raised in failure situationIStepList readApproverList() throws WcmException
WcmException
- exception raised in failure situationIStepList convertToApproverList(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)
String convertToString(IStepList impStepList) throws WcmException
impStepList
- a steplistWcmException
- exception raised in failure situationboolean addFeedback(String impFeedbackText) throws WcmException
impFeedbackText
- feedback to be addedWcmException
- exception raised in failure situationInteger readNextStep() throws WcmException
WcmException
- exception raised in failure situationInteger readCurrentStep() throws WcmException
WcmException
- exception raised in failure situationcom.sapportals.portal.security.usermanagement.IUser readWorkflowInitiator() throws WcmException
readWorkflowInitiatorUME()
WcmException
- exception raised in failure situationIUser readWorkflowInitiatorUME() throws WcmException
WcmException
- exception raised in failure situationIState readState() throws WcmException
WcmException
- exception raised in failure situationAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice