com.polarion.alm.tracker.model.signatures.IWorkflowSignature
FIELDS
| Modifiers and Type | Name | Description |
|---|---|---|
| String | PROTO | |
| String | KEY_TARGET_STATUS_ID | ID of the target workflow status of the parent workflow object, transition to which is signed by this object. |
| String | KEY_SIGNATURE_STATE | The current signature state, see {@link ISignatureStateOpt} . |
| String | KEY_TRANSITION_DATA_REVISION | |
| String | KEY_SIGNATURES | |
| String | KEY_WORKFLOW_OBJECT | |
| String | ENUM_ID_SIGNATURE_STATE |
METHODS
| Modifiers and Type | Name | Description |
|---|---|---|
| IWorkflowObject | getWorkflowObject() | The workflow object to which this workflow signature belongs. |
| IStatusOpt | getTargetStatus() | The target workflow status of the parent workflow object, transition to which is signed by this object. |
| String | getTransitionRevision() | Revision of the parent object in which the workflow transition was performed, or null if the transition was not performed yet. |
| boolean | isClosed() | |
| List | getSignatures() | Returns all signatures. Returned list is live, so changes to it are reflected in the workflow signature. |
| ISignature | addSignature(IUser) | Adds an invited signature if signature for the user does not exist yet. This method should be used also for setting of the signature status - first use this method to get the signature and then set the signature status on it. |
| ISignature | getSignature(IUser) | Returns existing signature of the user, or null. |
| void | removeSignature(IUser) | Removes signature of the user, has no effect if there is no such signature. |
| void | resetSignatures() | Resets all existing signatures to invited status. |
| ISignatureStateOpt | getSignatureState() | Returns the current signature state, calculates the current state if necessary. |
| void | setObsolete(boolean) | Marks or unmarks this workflow signature as obsolete. If obsolete is true, the workflow signature state is changed to {@link ISignatureStateOpt#OPT_OBSOLETE} and related verdict comments are resolved. If obsolete is false and the current signature state is {@link ISignatureStateOpt#OPT_OBSOLETE} , the signature state is cleared and recalculated. |
| String | getLabel() | Returns the workflow signature label. |
Back to Index