Package com.comalatech.workflow.model
Interface Approval
- All Superinterfaces:
Activity
,Completion
- All Known Subinterfaces:
PartialApproval
Represents an approve or reject activity by a user on an approval.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
The name of the approval givenReturns the signature type used for this approval.boolean
Returns true if this is an approve activity, false if it is a reject activity.Methods inherited from interface com.comalatech.workflow.model.Activity
getActivityId, getComment, getDate, getPerformer, getUserName
Methods inherited from interface com.comalatech.workflow.model.Completion
getOutcome
-
Method Details
-
getName
String getName()The name of the approval given- Returns:
- the name of the approval
-
isApproved
boolean isApproved()Returns true if this is an approve activity, false if it is a reject activity.- Returns:
- Since:
- 1.11
-
getSignatureType
SignatureType getSignatureType()Returns the signature type used for this approval. Can return null if the signature type is not known for old approvals.- Returns:
- SignatureType
-