Interface IDocumentWorkflowSignaturesManager
- All Superinterfaces:
IWorkflowSignaturesManager<IDocumentWorkflowSignature>
public interface IDocumentWorkflowSignaturesManager
extends IWorkflowSignaturesManager<IDocumentWorkflowSignature>
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptionaddWorkflowSignature
(IStatusOpt targetStatus) Adds open workflow signature for the target workflow status, or returns existing one.Returns users that are allowed to sign target document.
It counts with a custom set permissions that can be defined for target document.Returns unmodifiable list of all existing workflow signatures.Returns the verdict enumeration for convenience.getWorkflowSignature
(IStatusOpt targetStatus) Returns existing open workflow signature for target workflow status, ornull
.void
removeWorkflowSignature
(IStatusOpt targetStatus) Removes open workflow signature for the target workflow status, if there is such workflow signature.
-
Method Details
-
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).- Specified by:
getSortedWorkflowSignatures
in interfaceIWorkflowSignaturesManager<IDocumentWorkflowSignature>
- See Also:
-
addWorkflowSignature
Adds open workflow signature for the target workflow status, or returns existing one.- Specified by:
addWorkflowSignature
in interfaceIWorkflowSignaturesManager<IDocumentWorkflowSignature>
-
getWorkflowSignature
Returns existing open workflow signature for target workflow status, ornull
.- Specified by:
getWorkflowSignature
in interfaceIWorkflowSignaturesManager<IDocumentWorkflowSignature>
-
removeWorkflowSignature
Removes open workflow signature for the target workflow status, if there is such workflow signature.- Specified by:
removeWorkflowSignature
in interfaceIWorkflowSignaturesManager<IDocumentWorkflowSignature>
-
getVerdictEnumeration
Returns the verdict enumeration for convenience. It will typically be used to convert verdict ID toISignatureVerdictOpt
.- Specified by:
getVerdictEnumeration
in interfaceIWorkflowSignaturesManager<IDocumentWorkflowSignature>
-
getDocumentSigners
Returns users that are allowed to sign target document.
It counts with a custom set permissions that can be defined for target document.- Returns:
- users sorted by name
- Since:
- 3.9.1
-