Package com.comalatech.workflow.model
Interface Approval
-
- All Superinterfaces:
Activity
,Completion
- All Known Subinterfaces:
PartialApproval
public interface Approval extends Completion
Represents an approve or reject activity by a user on an approval.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
The name of the approval givenSignatureType
getSignatureType()
Returns the signature type used for this approval.boolean
isApproved()
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 Detail
-
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
-
-