Package de.xima.fc.interfaces.workflow
Interface IWorkflowProvider
-
- All Known Implementing Classes:
ValidationWorkflowProvider
,WorkflowProviderBean
public interface IWorkflowProvider
A provider for the workflow designer that lets you access various data related to the workflow, such a list of all user groups or text templates.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description List<EAttachmentSource>
getAllAttachmentSources()
List<EntityRef>
getAllClientCounterRefs()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<EntityRef>>
getAllClientCounterRefSelectItems()
List<ClientCounter>
getAllClientCounters()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllClientCounterSelectItems()
List<MandantRessource>
getAllClientResources()
List<DatenbankZugriff>
getAllDatabaseConnections()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllDatabaseConnectionSelectItems()
List<Datenquelle>
getAllDatabaseQueries()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllDatabaseQuerySelectItems()
List<DirectClientAuthorization>
getAllDirectClientAuthorizations()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllDirectClientAuthorizationSelectItems()
List<String>
getAllFormElements()
List<Postfach>
getAllInboxes()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllInboxSelectItems()
List<LDAPZugriff>
getAllLdapConnections()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllLdapConnectionSelectItems()
List<LDAPAbfrage>
getAllLdapQueries()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllLdapQuerySelectItems()
List<INodeWithName>
getAllNodesOfType(String type)
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<NodeKey>>
getAllNodesOfTypeSelectItems(String type)
List<ProjektRessource>
getAllProjectResources()
List<IWorkflowQualifiedSubmitButton>
getAllQualifiedSubmitButtons()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<QualifiedSubmitButton>>
getAllQualifiedSubmitButtonSelectItems()
List<String>
getAllRepeatedFormElementContainers()
Gets all form elements of the current form version that arerepeated
containers.List<String>
getAllRepeatedFormElements()
List<WorkflowStateModel>
getAllStates(boolean includeMarkedForDeletion)
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllStateSelectItems(boolean includeMarkedForDeletion)
List<IWorkflowSubmitButton>
getAllSubmitButtons()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<String>>
getAllSubmitButtonSelectItems()
List<ITaskWithName>
getAllTasks(boolean excludeSelf)
List<ITaskWithName>
getAllTasks(UUID taskToExclude)
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UUID>>
getAllTaskSelectItems(boolean excludeSelf)
Same asgetAllTriggersOfType(String, UUID)
, but converted to select items with the trigger key as the value.List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UUID>>
getAllTaskSelectItems(UUID taskToExclude)
Same asgetAllTasks(UUID)
, but converted to select items with the task key as the value.List<ITriggerWithName>
getAllTriggersOfType(String type, boolean excludeSelf)
List<ITriggerWithName>
getAllTriggersOfType(String type, UUID taskToExclude)
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<TriggerKey>>
getAllTriggersOfTypeSelectItems(String type, boolean excludeSelf)
Same asgetAllTriggersOfType(String, boolean)
, but converted to select items with the trigger key as the value.List<? extends de.xima.cmn.validation.spec.IChoiceEntry<TriggerKey>>
getAllTriggersOfTypeSelectItems(String type, UUID taskToExclude)
Same asgetAllTriggersOfType(String, UUID)
, but converted to select items with the trigger key as the value.List<String>
getAllUploadElements()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<String>>
getAllUploadElementSelectItems()
List<BenutzerGruppe>
getAllUserGroups()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllUserGroupSelectItems()
List<Benutzer>
getAllUsers()
Deprecated.List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllUserSelectItems()
Deprecated.List<WebDavAccess>
getAllWebDavConnections()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getAllWebDavConnectionsSelectItems()
List<IFileProvidingTriggerWithName>
getAssignedProvidingTriggers()
Returns the triggers of the workflow task that contains the given node and also provide files.List<IFileProvidingTriggerWithName>
getAssignedProvidingTriggers(NodeKey key)
Returns the triggers of the workflow task that contains the given node and also provide files.List<ITriggerWithName>
getAssignedTriggers()
Returns the triggers of the workflow task that contains the given node.List<ITriggerWithName>
getAssignedTriggers(NodeKey key)
Returns the triggers of the workflow task that contains the given node.List<INodeWithName>
getAttachmentProvidingParents()
Returns a list of all nodes that are parents of the currently selected node n and that provide attachment to the currently selected node.List<INodeWithName>
getAttachmentProvidingParents(NodeKey nodeKey)
Returns a list of all nodes that are parents of the given node and that provides or creates attachments, seegetAttachmentValueDescriptor
).List<? extends de.xima.cmn.validation.spec.IChoiceEntry<AttachmentItem>>
getAvailableAttachments(GetAvailableAttachmentsParams params)
Returns a list of all available attachment items that are available for the currently selected workflow node.List<? extends de.xima.cmn.validation.spec.IChoiceEntry<AttachmentItem>>
getAvailableAttachments(NodeKey nodeKey, GetAvailableAttachmentsParams params)
Returns a list of all available attachment items that are available for the given workflow node.default List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>>
getAvailableResources(boolean includeForm, boolean includeClient, boolean includeExternal, boolean includeAttachmentSearch, boolean includeUpload, boolean includeProvidingAction, String... extensions)
Deprecated.default List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>>
getAvailableResources(boolean includeForm, boolean includeClient, boolean includeExternal, boolean includeAttachmentSearch, boolean includeUpload, boolean includeProvidingAction, List<String> extensions)
Deprecated.List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>>
getAvailableResources(GetAvailableResourcesParams params)
default List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>>
getAvailableResources(NodeKey nodeKey, boolean includeForm, boolean includeClient, boolean includeExternal, boolean includeAttachmentSearch, boolean includeUpload, boolean includeProvidingAction)
Deprecated.default List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>>
getAvailableResources(NodeKey nodeKey, boolean includeForm, boolean includeClient, boolean includeExternal, boolean includeAttachmentSearch, boolean includeUpload, boolean includeProvidingAction, String... extensions)
Deprecated.List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>>
getAvailableResources(NodeKey nodeKey, GetAvailableResourcesParams params)
Returns a list of all available resources, which may include client resources, form resources, and external resource URLs, etc.Mandant
getClient()
List<INodeWithName>
getErrorCompletionPredecessors()
A list of all nodes that have finished execution and that precede the currently selected node n; i.e.List<INodeWithName>
getErrorCompletionPredecessors(NodeKey key)
A list of all nodes that have finished execution and that precede the given node n; i.e.List<Charset>
getInstalledCharsets()
List<String>
getInstalledFontNames()
UUID
getInvalidEntityUuid()
String
getInvalidEntityUuidString()
Locale
getLocale()
List<BaseConfigViewModel>
getNonOrderableAuthenticatorConfigs()
List<INodeWithName>
getNormalCompletionAttachmentProvidingPredecessors()
Returns a list of all predecessors of the currently selected node N, that have finished execution and that provide attachments.List<INodeWithName>
getNormalCompletionAttachmentProvidingPredecessors(NodeKey key)
Returns a list of all predecessors of the given node N, that have finished execution and that provide attachments.List<INodeWithName>
getNormalCompletionPredecessors()
A list of all nodes that have finished execution and that precede the currently selected node n; i.e.List<INodeWithName>
getNormalCompletionPredecessors(NodeKey key)
A list of all nodes that have finished execution and that precede the given node n; i.e.List<IFileProvidingNodeWithName>
getNormalCompletionProvidingPredecessors()
Returns a list of all predecessors of the currently selected node N, that have finished execution and that provide files.List<IFileProvidingNodeWithName>
getNormalCompletionProvidingPredecessors(NodeKey key)
Returns a list of all predecessors of the given node N that provide files.List<BaseConfigViewModel>
getOrderableAuthenticatorConfigs()
List<INodeWithName>
getParentControlTransferTargets(NodeKey key, String... controlTransferTypes)
List<INodeWithName>
getParentControlTransferTargets(String... controlTransferTypes)
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<NodeKey>>
getParentControlTransferTargetsSelectItems(NodeKey key, String... controlTransferTypes)
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<NodeKey>>
getParentControlTransferTargetsSelectItems(String... controlTransferTypes)
List<INodeWithName>
getParents()
List<INodeWithName>
getParents(NodeKey key)
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<NodeKey>>
getParentsSelectItems()
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<NodeKey>>
getParentsSelectItems(NodeKey key)
default List<INodeWithName>
getPredecessors()
Deprecated.default List<INodeWithName>
getPredecessors(NodeKey key)
Deprecated.Projekt
getProject()
List<IFileProvidingNodeWithName>
getProvidingParents()
Returns a list of all nodes that are parents of the currently selected node n.List<IFileProvidingNodeWithName>
getProvidingParents(NodeKey nodeKey)
Returns a list of all nodes that are parents of the given node and that provides or creates files, seegetFileValueDescriptor
).default List<IFileProvidingNodeWithName>
getProvidingPredecessors()
Deprecated.default List<IFileProvidingNodeWithName>
getProvidingPredecessors(NodeKey key)
Deprecated.List<Charset>
getStandardSupportedCharsets()
List<Textbaustein>
getTextTemplatesByCategory(ETextbausteinKategorie category)
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>>
getTextTemplateSelectItemsByCategory(ETextbausteinKategorie category)
WorkflowVersion
getWorkflowVersion()
-
-
-
Method Detail
-
getAllAttachmentSources
List<EAttachmentSource> getAllAttachmentSources()
- Returns:
- a list of all attachment sources
-
getAllClientCounterRefSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<EntityRef>> getAllClientCounterRefSelectItems()
- Returns:
- Similar to
getAllClientCounterSelectItems()
, but includes aEntityRef.forNameValue(String)
entry that lets the user enter a counter by its name.
-
getAllClientCounterRefs
List<EntityRef> getAllClientCounterRefs()
- Returns:
- Similar to
getAllClientCounters()
, but includes aEntityRef.forNameValue(String)
entry that lets the user enter a counter by its name.
-
getAllClientCounterSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllClientCounterSelectItems()
- Returns:
- Same as
getAllClientCounters()
, but returns select items with the value and the name of the LDAP query.
-
getAllClientCounters
List<ClientCounter> getAllClientCounters()
- Returns:
- A list of all client counters available to the current client. Empty list if none are found.
-
getAllClientResources
List<MandantRessource> getAllClientResources()
- Returns:
- A list of all client resources of the current client.
-
getAllDatabaseConnectionSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllDatabaseConnectionSelectItems()
- Returns:
- Same as
getAllDatabaseConnections()
, but returns select items with the value and the name of the database connection.
-
getAllDatabaseConnections
List<DatenbankZugriff> getAllDatabaseConnections()
- Returns:
- A list of all database connection available to the current client. Empty list if none are found.
-
getAllDatabaseQueries
List<Datenquelle> getAllDatabaseQueries()
- Returns:
- A list of all database queries that are defined in client scope. Empty list when none are available.
-
getAllDatabaseQuerySelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllDatabaseQuerySelectItems()
- Returns:
- Same as
getAllDatabaseQueries()
, but returns select items with the value and the name of the database query.
-
getAllDirectClientAuthorizationSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllDirectClientAuthorizationSelectItems()
- Returns:
- Same as
getAllDirectClientAuthorizations()
, but returns select items with the value and the name of the user. - Since:
- 8.0.0
-
getAllDirectClientAuthorizations
List<DirectClientAuthorization> getAllDirectClientAuthorizations()
- Returns:
- All direct client authorizations available to the current client. Empty list if none are found.
- Since:
- 8.0.0
-
getAllFormElements
List<String> getAllFormElements()
- Returns:
- All
valuable
form elements of the current form version. Empty list if none are found.
-
getAllInboxSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllInboxSelectItems()
- Returns:
- Same as
getAllInboxes()
, but returns select items with the value and the name of the inbox.
-
getAllInboxes
List<Postfach> getAllInboxes()
- Returns:
- All inboxes available to the current client. Empty list if none are found.
-
getAllLdapConnectionSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllLdapConnectionSelectItems()
- Returns:
- Same as
getAllLdapConnections()
, but returns select items with the value and the name of the LDAP connection.
-
getAllLdapConnections
List<LDAPZugriff> getAllLdapConnections()
- Returns:
- A list of all LDAP queries available to the current client. Empty list if none are found.
-
getAllLdapQueries
List<LDAPAbfrage> getAllLdapQueries()
- Returns:
- A list of all LDAP queries available to the current client. Empty list if none are found.
-
getAllLdapQuerySelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllLdapQuerySelectItems()
- Returns:
- Same as
getAllLdapQueries()
, but returns select items with the value and the name of the LDAP query.
-
getAllNodesOfType
List<INodeWithName> getAllNodesOfType(String type)
- Parameters:
type
-type
of the nodes to retrieve. Can be empty to retrieve all nodes.- Returns:
- All nodes in the current process that are of the given type.
-
getAllNodesOfTypeSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<NodeKey>> getAllNodesOfTypeSelectItems(String type)
- Parameters:
type
-type
of the nodes to retrieve. Can be empty to retrieve all nodes.- Returns:
- Same as
getAllNodesOfType(String)
, but returns select items with the value set to theNodeKey
and the name to the name of the node.
-
getAllProjectResources
List<ProjektRessource> getAllProjectResources()
- Returns:
- A list of all project resource of the current project.
-
getAllQualifiedSubmitButtonSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<QualifiedSubmitButton>> getAllQualifiedSubmitButtonSelectItems()
- Returns:
- Same as
getAllSubmitButtons()
, but converted to select items with the button name as the value.
-
getAllQualifiedSubmitButtons
List<IWorkflowQualifiedSubmitButton> getAllQualifiedSubmitButtons()
- Returns:
- A list of all qualified submit buttons contained in the project whose workflow is being edited. When there are buttons with the same button name, they are included multiple times.
-
getAllRepeatedFormElementContainers
List<String> getAllRepeatedFormElementContainers()
Gets all form elements of the current form version that arerepeated
containers. This does not include form element inside repeated containers, usegetAllRepeatedFormElements()
for that.- Returns:
- All repetition containers.
-
getAllRepeatedFormElements
List<String> getAllRepeatedFormElements()
Gets all form elements of the current form version that are eitherrepeated
container; or avaluable
and either themselves repeated or are inside a repeated container.- Returns:
- All repeated elements or elements inside repeated containers.
-
getAllStateSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllStateSelectItems(boolean includeMarkedForDeletion)
- Parameters:
includeMarkedForDeletion
-true
to include states that have been marked for deletion when the workflow is saved,false
to exclude those states and return only states that are still present.- Returns:
- Same as
getAllStates(boolean)
, but returns select items with the value and the name of the state.
-
getAllStates
List<WorkflowStateModel> getAllStates(boolean includeMarkedForDeletion)
- Parameters:
includeMarkedForDeletion
-true
to include states that have been marked for deletion when the workflow is saved,false
to exclude those states and return only states that are still present.- Returns:
- A list of all states for the current project.
-
getAllSubmitButtonSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<String>> getAllSubmitButtonSelectItems()
- Returns:
- Same as
getAllSubmitButtons()
, but converted to select items with the button name as the value.
-
getAllSubmitButtons
List<IWorkflowSubmitButton> getAllSubmitButtons()
- Returns:
- A list of all submit buttons contained in the project whose workflow is being edited. When there are buttons with the same button name, only one is included.
-
getAllTaskSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UUID>> getAllTaskSelectItems(boolean excludeSelf)
Same asgetAllTriggersOfType(String, UUID)
, but converted to select items with the trigger key as the value.- Parameters:
excludeSelf
-true
to exclude the task of the current trigger,true
to include all.- Returns:
- All task in the current process, without the task to exclude if given.
-
getAllTaskSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UUID>> getAllTaskSelectItems(UUID taskToExclude)
Same asgetAllTasks(UUID)
, but converted to select items with the task key as the value.- Parameters:
taskToExclude
- Task to exclude in the result,null
to exclude none.- Returns:
- All task in the current process, without the task to exclude if given.
-
getAllTasks
List<ITaskWithName> getAllTasks(boolean excludeSelf)
- Parameters:
excludeSelf
-true
to exclude the task of the current trigger,true
to include all.- Returns:
- All task in the current process, without the task to exclude if given.
-
getAllTasks
List<ITaskWithName> getAllTasks(UUID taskToExclude)
- Parameters:
taskToExclude
- Task to exclude in the result,null
to exclude none.- Returns:
- All task in the current process, without the task to exclude if given.
-
getAllTriggersOfType
List<ITriggerWithName> getAllTriggersOfType(String type, boolean excludeSelf)
- Parameters:
type
-type
of the triggers to retrieve. Can be empty to retrieve all triggers.excludeSelf
-true
to exclude the task of the current trigger,true
to include all.- Returns:
- All triggers in the current process that are of the given type.
-
getAllTriggersOfType
List<ITriggerWithName> getAllTriggersOfType(String type, UUID taskToExclude)
- Parameters:
type
-type
of the triggers to retrieve. Can be empty to retrieve all triggers.taskToExclude
- Task to exclude in the result,null
to exclude none.- Returns:
- All triggers in the current process that are of the given type.
-
getAllTriggersOfTypeSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<TriggerKey>> getAllTriggersOfTypeSelectItems(String type, boolean excludeSelf)
Same asgetAllTriggersOfType(String, boolean)
, but converted to select items with the trigger key as the value.- Parameters:
type
-type
of the triggers to retrieve. Can be empty to retrieve all triggers.excludeSelf
-true
to exclude the task of the current trigger,true
to include all.- Returns:
- All triggers in the current process that are of the given type.
-
getAllTriggersOfTypeSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<TriggerKey>> getAllTriggersOfTypeSelectItems(String type, UUID taskToExclude)
Same asgetAllTriggersOfType(String, UUID)
, but converted to select items with the trigger key as the value.- Parameters:
type
-type
of the triggers to retrieve. Can be empty to retrieve all triggers.taskToExclude
- Task to exclude in the result,null
to exclude none.- Returns:
- All triggers in the current process that are of the given type.
-
getAllUploadElementSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<String>> getAllUploadElementSelectItems()
- Returns:
- Same as
getAllUploadElements()
, but converted to select items with the field name as the value.
-
getAllUploadElements
List<String> getAllUploadElements()
- Returns:
- A list with all upload elements available to the currently selected action.
-
getAllUserGroupSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllUserGroupSelectItems()
- Returns:
- Same as
getAllUserGroups()
, but returns select items with the value and the name of the user group.
-
getAllUserGroups
List<BenutzerGruppe> getAllUserGroups()
- Returns:
- All user groups available to the current client. Empty list if none are found.
-
getAllUserSelectItems
@Deprecated List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllUserSelectItems()
Deprecated.- Returns:
- Same as
getAllUsers()
, but returns select items with the value and the name of the user .
-
getAllUsers
@Deprecated List<Benutzer> getAllUsers()
Deprecated.- Returns:
- All users available to the current client. Empty list if none are found.
-
getAllWebDavConnections
List<WebDavAccess> getAllWebDavConnections()
- Returns:
- A list of all WebDAV connections available to the current client. Empty list if none are found.
-
getAllWebDavConnectionsSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getAllWebDavConnectionsSelectItems()
- Returns:
- Same as
getAllWebDavConnections()
, but returns select items with the value and the name of the database connection.
-
getAssignedProvidingTriggers
List<IFileProvidingTriggerWithName> getAssignedProvidingTriggers()
Returns the triggers of the workflow task that contains the given node and also provide files. When those triggers fire, the processing chain with the node gets executed.This method is available only when the workflow designer UI is opened. Use
getNormalCompletionProvidingPredecessors
and specify the node directly.- Returns:
- A list of all triggers that control the execution of the processing chain with the given node.
- Since:
- 8.2.0
-
getAssignedProvidingTriggers
List<IFileProvidingTriggerWithName> getAssignedProvidingTriggers(NodeKey key)
Returns the triggers of the workflow task that contains the given node and also provide files. When those triggers fire, the processing chain with the node gets executed.- Parameters:
key
- Key of the node to process.- Returns:
- A list of all triggers that control the execution of the processing chain with the given node.
- Since:
- 8.2.0
-
getAssignedTriggers
List<ITriggerWithName> getAssignedTriggers()
Returns the triggers of the workflow task that contains the given node. When those triggers fire, the processing chain with the node gets executed.This method is available only when the workflow designer UI is opened. Use
getNormalCompletionProvidingPredecessors
and specify the node directly.- Returns:
- A list of all triggers that control the execution of the processing chain with the given node.
- Since:
- 8.2.0
-
getAssignedTriggers
List<ITriggerWithName> getAssignedTriggers(NodeKey key)
Returns the triggers of the workflow task that contains the given node. When those triggers fire, the processing chain with the node gets executed.- Parameters:
key
- Key of the node to process.- Returns:
- A list of all triggers that control the execution of the processing chain with the given node.
- Since:
- 8.2.0
-
getAttachmentProvidingParents
List<INodeWithName> getAttachmentProvidingParents()
Returns a list of all nodes that are parents of the currently selected node n and that provide attachment to the currently selected node. This method is available only when the workflow designer UI is opened. UsegetParents(NodeKey)
and specify the node directly. Parent nodes such as loops may provide attachments during their execution.- Returns:
- A list of all workflow nodes that are a parent of the current node and provide attachments.
- Since:
- 8.2.0
-
getAttachmentProvidingParents
List<INodeWithName> getAttachmentProvidingParents(NodeKey nodeKey)
Returns a list of all nodes that are parents of the given node and that provides or creates attachments, seegetAttachmentValueDescriptor
). Parent nodes such as loops may provide attachments during their execution.- Parameters:
nodeKey
- Key of the node to check.- Returns:
- A list of all workflow nodes that are a parent of the given node and provide attachments.
- Since:
- 8.2.0
-
getAvailableAttachments
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<AttachmentItem>> getAvailableAttachments(GetAvailableAttachmentsParams params)
Returns a list of all available attachment items that are available for the currently selected workflow node.- Parameters:
params
- Parameters for retrieving the available attachments. Whennull
, usesGetAvailableAttachmentsParams.defaults()
.- Returns:
- A list of all attachment items available for the given node.
- Since:
- 8.1.0
- See Also:
getAvailableAttachments(NodeKey, GetAvailableAttachmentsParams)
-
getAvailableAttachments
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<AttachmentItem>> getAvailableAttachments(NodeKey nodeKey, GetAvailableAttachmentsParams params)
Returns a list of all available attachment items that are available for the given workflow node.- Parameters:
nodeKey
-NodeKey
of the currently selected node.params
- Parameters for retrieving the available attachments. Whennull
, usesGetAvailableAttachmentsParams.defaults()
.- Returns:
- A list of all attachment items available for the given node.
- Since:
- 8.1.0
-
getAvailableResources
@Deprecated default List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>> getAvailableResources(boolean includeForm, boolean includeClient, boolean includeExternal, boolean includeAttachmentSearch, boolean includeUpload, boolean includeProvidingAction, List<String> extensions)
Deprecated.Returns a list of all available resources, which may include client resources, form resources, and external resource URLs.- Parameters:
includeForm
- Whether to include the available form resources.includeClient
- Whether to include the available client resources.includeExternal
- Whether to include an option for entering an external resource URL.includeAttachmentSearch
- Specifies whether to include an option to search by file name for a form record attachmentincludeUpload
- Specifies whether to add available file upload elements to the result listincludeProvidingAction
- Specifies whether to add all available providing-file actionsextensions
- A list of extensions for filtering the returned resources. When no extensions are given, no filtering is applied.- Returns:
- A list of all available resources. Only resources with the given extensions are returned.
-
getAvailableResources
@Deprecated default List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>> getAvailableResources(boolean includeForm, boolean includeClient, boolean includeExternal, boolean includeAttachmentSearch, boolean includeUpload, boolean includeProvidingAction, String... extensions)
Deprecated.Returns a list of all available resources, which may include client resources, form resources, and external resource URLs.- Parameters:
includeForm
- Whether to include the available form resources.includeClient
- Whether to include the available client resources.includeExternal
- Whether to include an option for entering an external resource URL.includeAttachmentSearch
- Specifies whether to include an option to search by file name for a form record attachmentincludeUpload
- Specifies whether to add available file upload elements to the result listincludeProvidingAction
- Specifies whether to add all available providing-file actionsextensions
- A list of extensions for filtering the returned resources. When no extensions are given, no filtering is applied.- Returns:
- A list of all available resources. Only resources with the given extensions are returned.
-
getAvailableResources
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>> getAvailableResources(GetAvailableResourcesParams params)
-
getAvailableResources
@Deprecated default List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>> getAvailableResources(NodeKey nodeKey, boolean includeForm, boolean includeClient, boolean includeExternal, boolean includeAttachmentSearch, boolean includeUpload, boolean includeProvidingAction)
Deprecated.Returns a list of all available resources, which may include client resources, form resources, and external resource URLs.- Parameters:
nodeKey
-NodeKey
of the current selected node.includeForm
- Whether to include the available form resources.includeClient
- Whether to include the available client resources.includeExternal
- Whether to include an option for entering an external resource URL.includeAttachmentSearch
- Specifies whether to include an option to search by file name for a form record attachmentincludeUpload
- Specifies whether to add available file upload elements to the result listincludeProvidingAction
- Specifies whether to add all available providing-file actions- Returns:
- A list of all available resources (files).
-
getAvailableResources
@Deprecated default List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>> getAvailableResources(NodeKey nodeKey, boolean includeForm, boolean includeClient, boolean includeExternal, boolean includeAttachmentSearch, boolean includeUpload, boolean includeProvidingAction, String... extensions)
Deprecated.Returns a list of all available resources, which may include client resources, form resources, and external resource URLs.- Parameters:
nodeKey
-NodeKey
of the current selected node.includeForm
- Whether to include the available form resources.includeClient
- Whether to include the available client resources.includeExternal
- Whether to include an option for entering an external resource URL.includeAttachmentSearch
- Specifies whether to include an option to search by file name for a form record attachmentincludeUpload
- Specifies whether to add available file upload elements to the result listincludeProvidingAction
- Specifies whether to add all available providing-file actionsextensions
- A list of extensions for filtering the returned resources. When no extensions are given, no filtering is applied. When an item of this array contains a comma, it is split into several extension. SogetAvailableResources(nodeKey, true,true,true,true,true,"pdf,docx")
is the same asgetAvailableResources(nodeKey, true,true,true,true,true,"pdf", "docx")
- Returns:
- A list of all available resources. Only resources with the given extensions are returned.
-
getAvailableResources
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>> getAvailableResources(NodeKey nodeKey, GetAvailableResourcesParams params)
Returns a list of all available resources, which may include client resources, form resources, and external resource URLs, etc.- Parameters:
nodeKey
-NodeKey
of the current selected node.params
- Parameters controlling the search for available resources, e.g. which files to include.- Returns:
- A list of all available resources matching the search criteria.
-
getClient
Mandant getClient()
- Returns:
- The current client for which the workflow is being edited.
-
getErrorCompletionPredecessors
List<INodeWithName> getErrorCompletionPredecessors()
A list of all nodes that have finished execution and that precede the currently selected node n; i.e. the set of all nodes {m} such that m is not a parent of n and that there exists at least one code path where m is executed before n, where the path does not includebackwards
edges and starts with athrowing edge
.This method is available only when the workflow designer UI is opened. Use
getErrorCompletionPredecessors(NodeKey)
and specify the node directly.- Returns:
- A list of all nodes that have finished execution and that precede the currently selected node.
- Since:
- 8.1.0
-
getErrorCompletionPredecessors
List<INodeWithName> getErrorCompletionPredecessors(NodeKey key)
A list of all nodes that have finished execution and that precede the given node n; i.e. the set of all nodes {m} such that m is not a parent of n and that there exists at least one code path where m is executed before n, where the path does not includebackwards
edges and starts with athrowing edge
.- Parameters:
key
- Node for which to find its predecessors.- Returns:
- A list of all nodes that have finished execution and that precede the given node.
- Since:
- 8.1.0
-
getInstalledCharsets
List<Charset> getInstalledCharsets()
- Returns:
- A list of all character supported by the server.
-
getInstalledFontNames
List<String> getInstalledFontNames()
- Returns:
- A list of all font names that are currently installed on the system.
-
getInvalidEntityUuid
UUID getInvalidEntityUuid()
- Returns:
- The UUID that is considered invalid. May be used as a default or no select option.
-
getInvalidEntityUuidString
String getInvalidEntityUuidString()
- Returns:
- The UUID that is considered invalid. May be used as a default or no select option.
-
getLocale
Locale getLocale()
- Returns:
- The current locale that is to be used for locale-sensitive operations.
-
getNonOrderableAuthenticatorConfigs
List<BaseConfigViewModel> getNonOrderableAuthenticatorConfigs()
- Returns:
- All non-orderable authenticator configurations that are available to the current project.
-
getNormalCompletionAttachmentProvidingPredecessors
List<INodeWithName> getNormalCompletionAttachmentProvidingPredecessors()
Returns a list of all predecessors of the currently selected node N, that have finished execution and that provide attachments. Specifically, returns all workflow nodes X with the following properties:- the node X is part of the same
WorkflowTask
as the currently selected node N - the node X is not a parent of the currently selected node N (as such nodes are still executing)
- the currently selected node N is potentially reachable from node X (see
getPotentialPredecessorsOf
via a path that does not include backwards edges and starts with anormal
edge. - the node X provides or creates attachments, see
getAttachmentValueDescriptor
)
getNormalCompletionProvidingPredecessors
and specify the node directly.- Returns:
- A list of all workflow nodes that can provide files to the currently selected node.
- Since:
- 8.1.0
- the node X is part of the same
-
getNormalCompletionAttachmentProvidingPredecessors
List<INodeWithName> getNormalCompletionAttachmentProvidingPredecessors(NodeKey key)
Returns a list of all predecessors of the given node N, that have finished execution and that provide attachments. Specifically, returns all workflow nodes X with the following properties:- the node X is part of the same
WorkflowTask
as the given node N - the node X is not a parent of the given node N (as such nodes are still executing)
- the given node N is potentially reachable from node X (see
getPotentialPredecessorsOf
via a path that does not include backwards edges and starts with anormal
edge. - the node X provides or creates attachments, see
getAttachmentValueDescriptor
)
- Returns:
- A list of all workflow nodes that can provide files to the given node.
- Since:
- 8.1.0
- the node X is part of the same
-
getNormalCompletionPredecessors
List<INodeWithName> getNormalCompletionPredecessors()
A list of all nodes that have finished execution and that precede the currently selected node n; i.e. the set of all nodes {m} such that m is not a parent of n and that there exists at least one code path where m is executed before n, where the path does not includebackwards
edges and starts with anormal edge
.This method is available only when the workflow designer UI is opened. Use
getNormalCompletionPredecessors
and specify the node directly.- Returns:
- A list of all nodes that have finished execution and that precede the currently selected node.
- Since:
- 8.0.0
-
getNormalCompletionPredecessors
List<INodeWithName> getNormalCompletionPredecessors(NodeKey key)
A list of all nodes that have finished execution and that precede the given node n; i.e. the set of all nodes {m} such that m is not a parent of n and that there exists at least one code path where m is executed before n, where the path does not includebackwards
edges and starts with anormal edge
.- Parameters:
key
- Node for which to find its predecessors.- Returns:
- A list of all nodes that have finished execution and that precede the given node.
- Since:
- 8.0.0
-
getNormalCompletionProvidingPredecessors
List<IFileProvidingNodeWithName> getNormalCompletionProvidingPredecessors()
Returns a list of all predecessors of the currently selected node N, that have finished execution and that provide files. Specifically, return all workflow nodes X with the following properties:- the node X is part of the same
WorkflowTask
as the currently selected node N - the node X is not a parent of the currently selected node N (as such nodes are still executing)
- the currently selected node N is potentially reachable from node X (see
getPotentialPredecessorsOf
via a path that does not includebackwards
edges and starts with anormal
edge. - the node X provides or creates files, see
getFileValueDescriptor
)
getNormalCompletionProvidingPredecessors
and specify the node directly.- Returns:
- A list of all workflow nodes that can provide files to the currently selected node.
- Since:
- 8.0.0
- the node X is part of the same
-
getNormalCompletionProvidingPredecessors
List<IFileProvidingNodeWithName> getNormalCompletionProvidingPredecessors(NodeKey key)
Returns a list of all predecessors of the given node N that provide files. Specifically, return all workflow nodes X with the following properties:- the node X is part of the same
WorkflowTask
as the given node - the node X is not a parent of the given node N (as such nodes are still executing)
- the currently selected node N is potentially reachable from node X (see
getPotentialPredecessorsOf
) via a path that does not includebackwards
edges and starts with anormal
edge. - the node X provides or creates files, see
getFileValueDescriptor
)
- Parameters:
key
- Key of the node to check.- Returns:
- A list of all workflow nodes that can provide files to the given node.
- Since:
- 8.0.0
- the node X is part of the same
-
getOrderableAuthenticatorConfigs
List<BaseConfigViewModel> getOrderableAuthenticatorConfigs()
- Returns:
- All orderable authenticator configurations that are available to the current project.
-
getParentControlTransferTargets
List<INodeWithName> getParentControlTransferTargets(NodeKey key, String... controlTransferTypes)
- Parameters:
key
- Node for which to find its control transfer parents.controlTransferTypes
- Control transfer types to look for. When none are given, all nodes that support at least one control transfer type are returned.- Returns:
- Similar to
getParents(NodeKey)
, but only returnsbreakable
.
-
getParentControlTransferTargets
List<INodeWithName> getParentControlTransferTargets(String... controlTransferTypes)
- Parameters:
controlTransferTypes
- Control transfer types to look for. When none are given, all nodes that support at least one control transfer type are returned.- Returns:
- Similar to
getParents(NodeKey)
, but only returnsbreakable
.
-
getParentControlTransferTargetsSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<NodeKey>> getParentControlTransferTargetsSelectItems(NodeKey key, String... controlTransferTypes)
- Parameters:
key
- Node for which to find its predecessors.controlTransferTypes
- Control transfer types to look for. When none are given, all nodes that support at least one control transfer type are returned.- Returns:
- Same as
getParentControlTransferTargets(NodeKey, String[])
, but returns select items with the value set to theNodeKey
and the name to the name of the node.
-
getParentControlTransferTargetsSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<NodeKey>> getParentControlTransferTargetsSelectItems(String... controlTransferTypes)
- Parameters:
controlTransferTypes
- Control transfer types to look for. When none are given, all nodes that support at least one control transfer type are returned.- Returns:
- Same as
getParentControlTransferTargets(String[])
, but returns select items with the value set to theNodeKey
and the name to the name of the node.
-
getParents
List<INodeWithName> getParents()
- Returns:
- A list of all nodes that are parents of the currently selected node n. This method is
available only when the workflow designer UI is opened. Use
getParents(NodeKey)
and specify the node directly.
-
getParents
List<INodeWithName> getParents(NodeKey key)
- Parameters:
key
- Node for which to find its parents.- Returns:
- A list of all nodes that are parents of the currently selected node n.
-
getParentsSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<NodeKey>> getParentsSelectItems()
- Returns:
- Same as
getParents()
, but returns select items with the value set to theNodeKey
and the name to the name of the node.
-
getParentsSelectItems
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<NodeKey>> getParentsSelectItems(NodeKey key)
- Parameters:
key
- Node for which to find its predecessors.- Returns:
- Same as
getParents(NodeKey)
, but returns select items with the value set to theNodeKey
and the name to the name of the node.
-
getPredecessors
@Deprecated default List<INodeWithName> getPredecessors()
Deprecated.- Returns:
- A list of all nodes that precede the currently selected node n, i.e. the set of all
nodes {m} such that there exists at least one code path where m is
executed before n. This method is available only when the workflow designer UI is opened.
Use
getPredecessors(NodeKey)
and specify the node directly.
-
getPredecessors
@Deprecated default List<INodeWithName> getPredecessors(NodeKey key)
Deprecated.- Parameters:
key
- Node for which to find its predecessors.- Returns:
- A list of all nodes that precede the given node n, i.e. the set of all nodes {m} such that there exists at least one code path where m is executed before n.
-
getProject
Projekt getProject()
- Returns:
- The current project for which the workflow is being edited.
-
getProvidingParents
List<IFileProvidingNodeWithName> getProvidingParents()
Returns a list of all nodes that are parents of the currently selected node n. This method is available only when the workflow designer UI is opened. UsegetParents(NodeKey)
and specify the node directly. Parent nodes such as loops may provide files during their execution.- Returns:
- A list of all workflow nodes that are a parent of the current node and provide files.
- Since:
- 8.2.0
-
getProvidingParents
List<IFileProvidingNodeWithName> getProvidingParents(NodeKey nodeKey)
Returns a list of all nodes that are parents of the given node and that provides or creates files, seegetFileValueDescriptor
). Parent nodes such as loops may provide files during their execution.- Parameters:
nodeKey
- Key of the node to check.- Returns:
- A list of all workflow nodes that are a parent of the given node and provide files.
- Since:
- 8.2.0
-
getProvidingPredecessors
@Deprecated default List<IFileProvidingNodeWithName> getProvidingPredecessors()
Deprecated.Returns a list of all predecessors of the currently selected node, if it provides files. Specifically, return all workflow nodes X with the following properties:- the node X is part of the same
WorkflowTask
as the currently selected node - the currently selected node is potentially reachable from node X (see
IWorkflowFlowAnalysis.getPotentialPredecessorsOf(NodeKey)
- the node X provides or creates files, see
IExecutionResultDescriptor.getFileValueDescriptor()
)
- Returns:
- A list of all workflow nodes that can provide files to the currently selected node.
- the node X is part of the same
-
getProvidingPredecessors
@Deprecated default List<IFileProvidingNodeWithName> getProvidingPredecessors(NodeKey key)
Deprecated.Returns a list of all predecessors of the given node that provide files. Specifically, return all workflow nodes X with the following properties:- the node X is part of the same
WorkflowTask
as the given node - the given node is potentially reachable from node X (see
IWorkflowFlowAnalysis.getPotentialPredecessorsOf(NodeKey)
- the node X provides or creates files, see
IExecutionResultDescriptor.getFileValueDescriptor()
)
- Parameters:
key
- Key of the node to check.- Returns:
- A list of all workflow nodes that can provide files to the given node.
- the node X is part of the same
-
getStandardSupportedCharsets
List<Charset> getStandardSupportedCharsets()
- Returns:
- A list of all character sets normally supported by FORMCYCLE.
-
getTextTemplateSelectItemsByCategory
List<? extends de.xima.cmn.validation.spec.IChoiceEntry<UuidEntityRef>> getTextTemplateSelectItemsByCategory(ETextbausteinKategorie category)
- Parameters:
category
- The template category for which to return the available templates.- Returns:
- Same as
getTextTemplatesByCategory(ETextbausteinKategorie)
, but returns select items with the value and the name of the template.
-
getTextTemplatesByCategory
List<Textbaustein> getTextTemplatesByCategory(ETextbausteinKategorie category)
- Parameters:
category
- The template category for which to return the available templates.- Returns:
- A list of all templates of the given category. Empty list when none are available.
-
getWorkflowVersion
WorkflowVersion getWorkflowVersion()
- Returns:
- The current version in which the workflow is
-
-