Interface ISignature
- All Superinterfaces:
IChangeGenerator,IChangeListener,IHasCustomValues,IHasValues,IStructure
Signature of a user.
- Since:
- 3.9.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns revision of the parent object for which the verdict applies, ornullif this signature is pending.Time when verdict was set, ornullif this signature is pending.voidsetSignedRevision(String revision) Sets the revision of the signature.voidsetSignerRole(String signerRole) voidsetVerdict(ISignatureVerdictOpt newVerdict) Sets the verdict of the signature.voidsetVerdictComment(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
setChangeOwnerMethods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChangedMethods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomFieldMethods 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, ornullif this signature is pending. -
getSignedRevision
Returns revision of the parent object for which the verdict applies, ornullif 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
-