Interface ISignature

All Superinterfaces:
IChangeGenerator, IChangeListener, IHasCustomValues, IHasValues, IStructure

public interface ISignature extends IStructure
Signature of a user.
Since:
3.9.0
  • Field Details

  • Method Details

    • getSignedBy

      @Nullable IUser getSignedBy()
    • getVerdict

      @Nullable ISignatureVerdictOpt getVerdict()
    • sign

      ISignature sign(@NotNull String newVerdictId)
      Sets the verdict with current verdict time and revision. To modify the revision, call setSignedRevision(String) afterwards.
      Returns:
      this signature itself
    • setSignedRevision

      void setSignedRevision(@Nullable String revision)
      Sets the revision of the signature. Should be called after sign(String)
    • setVerdict

      void setVerdict(@NotNull ISignatureVerdictOpt newVerdict)
      Sets the verdict of the signature.
    • getVerdictTime

      @Nullable Date getVerdictTime()
      Time when verdict was set, or null if this signature is pending.
    • getSignedRevision

      @Nullable String getSignedRevision()
      Returns revision of the parent object for which the verdict applies, or null if this signature is pending.
    • getSignerRole

      @Nullable String getSignerRole()
    • setSignerRole

      void setSignerRole(@Nullable String signerRole)
    • setVerdictComment

      void setVerdictComment(@Nullable ICommentBase comment)
      Sets the verdict comment. The comment must belong to the workflow object of the containing workflow signature (so e.g. for IDocumentWorkflowSignature) it has to be IModuleComment .
    • getVerdictComment

      @Nullable ICommentBase getVerdictComment()