Interface IWorkflowSignaturesManager<T extends IWorkflowSignature>

All Known Subinterfaces:
IDocumentWorkflowSignaturesManager

public interface IWorkflowSignaturesManager<T extends IWorkflowSignature>
Since:
3.10.0
  • Method Details

    • getSortedWorkflowSignatures

      @NotNull List<T> getSortedWorkflowSignatures()
      Returns unmodifiable list of all existing workflow signatures. Workflow signatures are sorted first by transition revision number, with workflow signatures without transition revision at the end, and then according to the target workflow status (sort order of statuses is defined by the enumeration).
      See Also:
    • addWorkflowSignature

      @NotNull T addWorkflowSignature(@NotNull IStatusOpt targetStatus)
      Adds open workflow signature for the target workflow status, or returns existing one.
    • getWorkflowSignature

      @Nullable T getWorkflowSignature(@NotNull IStatusOpt targetStatus)
      Returns existing open workflow signature for target workflow status, or null.
    • removeWorkflowSignature

      void removeWorkflowSignature(@NotNull IStatusOpt targetStatus)
      Removes open workflow signature for the target workflow status, if there is such workflow signature.
    • getVerdictEnumeration

      @NotNull IEnumeration<ISignatureVerdictOpt> getVerdictEnumeration()
      Returns the verdict enumeration for convenience. It will typically be used to convert verdict ID to ISignatureVerdictOpt.