public interface ApprovalFlow extends CentraSiteRegistryObject
Modifier and Type | Interface and Description |
---|---|
static class |
ApprovalFlow.RequestType
Enum specifying the approval request type.
|
Modifier and Type | Method and Description |
---|---|
void |
approve(java.lang.String comment)
Approve the request sent.
|
java.lang.String |
getApprovalRequestType()
Get the type of the approval request.
|
java.lang.String |
getReasonForRequest()
Gets the reason for requesting the approval.
|
java.util.Date |
getRequestDate()
Gets the date of the approval request.
|
java.lang.String |
getRequestType()
Get the type of the request.
|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getRuntimeValues()
Gets the runtime related values specific to the approval flow.
|
java.lang.Boolean |
isOnboardingRequest()
Checks whether the request is a User on-boarding request or not.
|
void |
reject(java.lang.String comment)
Reject the approval request.
|
getConsumers, getDescription, getDescription, getDisplayVersion, getLCMAssignment, getLocalName, getMandatoryAttributeProfiles, getName, getName, getNameSpace, getNextVersion, getNextVersions, getOrganization, getOwner, getPendingApprovals, getPreviousVersion, getPreviousVersions, getRegistryObject, getSubscribers, getSystemVersion, getTitle, getUserVersion, getVisiblePrimaryProfiles, getVisibleProfile, isDeployedOn, isLatestVersionObject, isPropagatePermissions, isPropagateProfilePermissions, setDescription, setDescription, setDisplayVersion, setLCMState, setLocalName, setName, setName, setNameSpace, setOrganization, setOwner, setPropagatePermissions, setPropagateProfilePermissions, setUserVersion
delete, getAttributeLink, getAttributeValue, getAttributeValue, getAttributeValue, getId, getType, isModified, isReadOnly, save, setAttributeValue, setAttributeValue, setAttributeValue
void approve(java.lang.String comment) throws CLLException
comment
- The comment that is provided for approvalCLLException
- If the approval fails to executevoid reject(java.lang.String comment) throws CLLException
comment
- The comment for rejecting the approval requestCLLException
- If the approval rejection fails to executejava.lang.String getRequestType() throws CLLException
CLLException
- If an error occurs while trying to obtain the request type.java.util.Date getRequestDate() throws CLLException
Date
when the request for approval was sentCLLException
- If an error occurs while trying to obtain the requested valuejava.lang.String getReasonForRequest() throws CLLException
CLLException
- If an error occurs while trying to obtain the requested valuejava.util.LinkedHashMap<java.lang.String,java.lang.String> getRuntimeValues() throws CLLException
LinkedHashMap
having slot names and their valuesCLLException
- If an error occurs while trying to obtain the requested valuejava.lang.Boolean isOnboardingRequest() throws CLLException
CLLException
- If an error occurs while trying to obtain the requested valuejava.lang.String getApprovalRequestType() throws CLLException
ApprovalFlow.RequestType
.CLLException
- If an error occurs while trying to obtain the request type.