Interface ISignatureData
- All Superinterfaces:
IChangeGenerator
,IChangeListener
,IHasCustomValues
,IHasValues
,IStructure
Signature related data of a comment.
- Since:
- 3.9.0
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionIf the corresponding comment is a verdict comment, returns the signer role of the author of that comment.Returns the target workflow status of the comment's parent object, i.e.If the corresponding comment is a verdict comment, returns the signature verdict - signed or declined.Returns the workflow action ID of the corresponding workflow action.Returns the workflow action name to display.Workflow signature for which this comment was created.void
setVerdictData
(String verdict, String signerRole) Sets verdict signature data.Methods inherited from interface com.polarion.platform.persistence.model.IChangeGenerator
setChangeOwner
Methods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChanged
Methods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomField
Methods inherited from interface com.polarion.platform.persistence.model.IStructure
getEnumeration, getEnumerationOptionForField, getEnumerationTypeForField, getPrototype, getValue, isModified, isReadOnly, isReadOnly, setValue
-
Field Details
-
KEY_VERDICT
- See Also:
-
KEY_TARGET_STATUS_ID
- See Also:
-
KEY_SIGNER_ROLE
- See Also:
-
KEY_WORKFLOW_ACTION_ID
- See Also:
-
KEY_WORKFLOW_SIGNATURE
- See Also:
-
-
Method Details
-
getTargetStatus
Returns the target workflow status of the comment's parent object, i.e. the workflow status in context of which the comment was added. -
getWorkflowActionId
Returns the workflow action ID of the corresponding workflow action. -
getWorkflowActionLabel
Returns the workflow action name to display. -
setVerdictData
Sets verdict signature data.- Parameters:
verdict
- signature verdict id (ISignatureVerdictOpt.OPT_SIGNED
orISignatureVerdictOpt.OPT_DECLINED
)signerRole
- the signer role or null
-
getVerdict
If the corresponding comment is a verdict comment, returns the signature verdict - signed or declined. Returns null if the parent comment is not a verdict comment. A verdict comment is a comment which was added when setting signed or declined verdict of the comment's parent object. -
getSignerRole
If the corresponding comment is a verdict comment, returns the signer role of the author of that comment. A verdict comment is a comment which was added when setting signed or declined verdict of the comment's parent object. -
getWorkflowSignature
Workflow signature for which this comment was created.
-