Class FlowableRuntimeUtils
java.lang.Object
org.apache.syncope.core.flowable.impl.FlowableRuntimeUtils
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
static String
getFormTask
(DomainProcessEngine engine, String procInstId) static ProcessDefinition
getLatestProcDefByKey
(DomainProcessEngine engine, String key) getPerformedTasks
(DomainProcessEngine engine, String procInstId) static String
getProcBusinessKey
(String procDefId, String userKey) static String
getWFProcBusinessKey
(String userKey) static String
getWFProcInstID
(DomainProcessEngine engine, String userKey) static void
saveForFormSubmit
(DomainProcessEngine engine, String procInstId, UserTO userTO, String password, Boolean enabled, PropagationByResource<String> propByRes, PropagationByResource<Pair<String, String>> propByLinkedAccount) Saves resources to be propagated and password for later - after form submission - propagation.splitProcBusinessKey
(String procBusinessKey) static void
throwException
(org.flowable.common.engine.api.FlowableException e, String defaultMessage) static void
updateStatus
(DomainProcessEngine engine, String procInstId, User user)
-
Field Details
-
WF_PROCESS_ID
- See Also:
-
USER
- See Also:
-
WF_EXECUTOR
- See Also:
-
FORM_SUBMITTER
- See Also:
-
USER_CR
- See Also:
-
USER_TO
- See Also:
-
ENABLED
- See Also:
-
USER_UR
- See Also:
-
TASK
- See Also:
-
TOKEN
- See Also:
-
PASSWORD
- See Also:
-
PROP_BY_RESOURCE
- See Also:
-
PROP_BY_LINKEDACCOUNT
- See Also:
-
PROPAGATE_ENABLE
- See Also:
-
ENCRYPTED_PWD
- See Also:
-
EVENT
- See Also:
-
-
Method Details
-
encrypt
-
decrypt
-
getWFProcBusinessKey
-
getWFProcInstID
-
getProcBusinessKey
-
splitProcBusinessKey
-
getLatestProcDefByKey
-
getPerformedTasks
-
updateStatus
-
getFormTask
-
saveForFormSubmit
public static void saveForFormSubmit(DomainProcessEngine engine, String procInstId, UserTO userTO, String password, Boolean enabled, PropagationByResource<String> propByRes, PropagationByResource<Pair<String, String>> propByLinkedAccount) Saves resources to be propagated and password for later - after form submission - propagation.- Parameters:
engine
- Flowable engineprocInstId
- process instance iduserTO
- user transfer objectpassword
- passwordenabled
- is user to be enabled or not?propByRes
- current propagation actions against resourcespropByLinkedAccount
- current propagation actions for linked accounts
-
throwException
public static void throwException(org.flowable.common.engine.api.FlowableException e, String defaultMessage)
-