Interface ISignature
- All Superinterfaces:
IChangeGenerator
,IChangeListener
,IHasCustomValues
,IHasValues
,IStructure
Signature of a user.
- Since:
- 3.9.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns revision of the parent object for which the verdict applies, ornull
if this signature is pending.Time when verdict was set, ornull
if this signature is pending.void
setSignedRevision
(String revision) Sets the revision of the signature.void
setSignerRole
(String signerRole) void
setVerdict
(ISignatureVerdictOpt newVerdict) Sets the verdict of the signature.void
setVerdictComment
(ICommentBase comment) Sets the verdict comment.Sets the verdict with current verdict time and revision.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
-
STRUCTURE_ID
- See Also:
-
KEY_SIGNED_BY
- See Also:
-
KEY_VERDICT
- See Also:
-
KEY_VERDICT_TIME
- See Also:
-
KEY_SIGNED_REVISION
- See Also:
-
KEY_SIGNER_ROLE
- See Also:
-
KET_VERDICT_COMMENT
- See Also:
-
ENUM_ID_SIGNATURE_VERDICT
- See Also:
-
-
Method Details
-
getSignedBy
-
getVerdict
-
sign
Sets the verdict with current verdict time and revision. To modify the revision, callsetSignedRevision(String)
afterwards.- Returns:
- this signature itself
-
setSignedRevision
Sets the revision of the signature. Should be called aftersign(String)
-
setVerdict
Sets the verdict of the signature. -
getVerdictTime
Time when verdict was set, ornull
if this signature is pending. -
getSignedRevision
Returns revision of the parent object for which the verdict applies, ornull
if this signature is pending. -
getSignerRole
-
setSignerRole
-
setVerdictComment
Sets the verdict comment. The comment must belong to the workflow object of the containing workflow signature (so e.g. forIDocumentWorkflowSignature
) it has to beIModuleComment
. -
getVerdictComment
-