Interface IWorkflowBpmnEnvironmentStore
public interface IWorkflowBpmnEnvironmentStore
Store to access various contextual entities that might be referenced by the workflow when building a BPMN diagram,
such as client or form files.
- Since:
- 8.4.0
-
Method Summary
Modifier and TypeMethodDescriptionclient()Gets the client to which the workflow belongs that is being modeled as a BPMN diagram.clientFileName(UuidEntityRef clientFile) Gets the name of a client file, identified by its UUID.clientFileName(UUID clientFileUuid) Gets the name of a client file, identified by its UUID.clock()Gets the clock of the workflow engine, which is used for obtaining the current date and time.counterName(EntityRef counterRef) Gets the name of a counter reference by the givenEntityRef.counterName(UuidEntityRef counter) Gets the name of a counter, identified by its UUID.counterName(UUID counterUuid) Gets the name of a counter, identified by its UUID.databaseConnectionForQuery(UuidEntityRef dbQuery) Gets the UUID of a database connection, identified by the UUID of a referencing database query.databaseConnectionForQuery(UUID dbQueryUuid) Gets the UUID of a database connection, identified by the UUID of a referencing database query.databaseConnectionName(UuidEntityRef dbConnection) Gets the name of a database connection, identified by its UUID.databaseConnectionName(UUID dbConnectionUuid) Gets the name of a database connection, identified by its UUID.databaseQueryName(UuidEntityRef dbQuery) Gets the name of a database query, identified by its UUID.databaseQueryName(UUID dbQueryUuid) Gets the name of a database query, identified by its UUID.directClientAuthorizationName(UuidEntityRef directClientAuthorization) Gets the name of a direct client authorization, identified by its UUID.directClientAuthorizationName(UUID directClientAuthorizationUuid) Gets the name of a direct client authorization, identified by its UUID.Grants access to the entity context that can be used for custom database queries.entityName(EntityRef entity) Gets the name of the given entity reference.entityName(UuidEntityRef entity) Gets the name of the given entity reference.formFileName(UuidEntityRef formFile) Gets the name of a form file, identified by its UUID.formFileName(UUID formFileUuid) Gets the name of a form file, identified by its UUID.inboxName(UuidEntityRef inbox) Gets the name of an inbox, identified by its UUID.Gets the name of an inbox, identified by its UUID.indirectClientAuthorizationName(UuidEntityRef indirectClientAuthorization) Gets the name of an indirect client authorization, identified by its UUID.indirectClientAuthorizationName(UUID indirectClientAuthorizationUuid) Gets the name of an indirect client authorization, identified by its UUID.ldapConnectionForQuery(UuidEntityRef ldapQuery) Gets the UUID of an LDAP connection, identified by the UUID of a referencing LDAP query.ldapConnectionForQuery(UUID ldapQueryUuid) Gets the UUID of an LDAP connection, identified by the UUID of a referencing LDAP query.ldapConnectionName(UuidEntityRef ldapConnection) Gets the name of an LDAP connection, identified by its UUID.ldapConnectionName(UUID ldapConnectionUuid) Gets the name of an LDAP connection, identified by its UUID.ldapQueryName(UuidEntityRef ldapQuery) Gets the name of an LDAP query, identified by its UUID.ldapQueryName(UUID ldapQueryUuid) Gets the name of an LDAP query, identified by its UUID.objectName(ObjectReference object) Gets the name of the given object reference.project()Gets the project to which the workflow belongs that is being modeled as a BPMN diagram.promptConnectionName(String scope, UUID connection) Gets the name of a prompt connection, identified by its UUID.promptQueryName(String scope, UUID query) Gets the name of a prompt query, identified by its UUID.textTemplateName(UuidEntityRef textTemplate) Gets the name of a text template, identified by its UUID.textTemplateName(UUID textTemplateUuid) Gets the name of a text template, identified by its UUID.userGroupName(UuidEntityRef userGroup) Gets the name of a user group, identified by its UUID.userGroupName(UUID userGroupUuid) Gets the name of a user group, identified by its UUID.webDavConnectionName(UuidEntityRef webDavConnection) Gets the name of a WebDAV connection, identified by its UUID.webDavConnectionName(UUID webDavConnectionUuid) Gets the name of a WebDAV connection, identified by its UUID.workflowStateName(UuidEntityRef workflowState) Gets the name of a workflow state, identified by its UUID.workflowStateName(UUID workflowStateUuid) Gets the name of a workflow state, identified by its UUID.zone()Gets the default system time zone of the workflow engine, which is used for date and time calculations.
-
Method Details
-
client
Mandant client()Gets the client to which the workflow belongs that is being modeled as a BPMN diagram.- Returns:
- The client of the workflow, never null.
-
clientFileName
Gets the name of a client file, identified by its UUID. Uses theclientowning the workflow for which the BPMN diagram is being created.- Parameters:
clientFileUuid- The UUID of the client file to get the name for.- Returns:
- The name of the client file, or empty if no client file with the given UUID exists in the client.
-
clientFileName
Gets the name of a client file, identified by its UUID. Uses theclientowning the workflow for which the BPMN diagram is being created.- Parameters:
clientFile- The client file reference to get the name for.- Returns:
- The name of the client file, or empty if no client file with the given UUID exists in the client.
-
clock
Clock clock()Gets the clock of the workflow engine, which is used for obtaining the current date and time.- Returns:
- The system time zone, never null.
-
counterName
Gets the name of a counter, identified by its UUID. Limited to counters that are defined in theclientof the workflow for which the BPMN diagram is being created.- Parameters:
counterUuid- The UUID of the counter to get the name for.- Returns:
- The name of the counter, or empty if no counter with the given UUID exists.
-
counterName
Gets the name of a counter, identified by its UUID. Limited to counters that are defined in theclientof the workflow for which the BPMN diagram is being created.- Parameters:
counter- The counter reference to get the name for.- Returns:
- The name of the counter, or empty if no counter with the given UUID exists.
-
counterName
Gets the name of a counter reference by the givenEntityRef. Uses theclientof the workflow for which the BPMN diagram is being created to look up the counter.- Parameters:
counterRef- The reference to the counter to get the name for.- Returns:
- The name of the counter, or empty if no counter with the given reference exists.
-
databaseConnectionForQuery
Gets the UUID of a database connection, identified by the UUID of a referencing database query. The search is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
dbQueryUuid- The UUID of a database query that references a database connection.- Returns:
- The UUID of the database connection, or null if no database connection with the given UUID exists in the client.
-
databaseConnectionForQuery
Gets the UUID of a database connection, identified by the UUID of a referencing database query. The search is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
dbQuery- The database query reference that references a database connection.- Returns:
- The UUID of the database connection, or null if no database connection with the given UUID exists in the client.
-
databaseConnectionName
Gets the name of a database connection, identified by its UUID. The search for connections is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
dbConnectionUuid- The UUID of the database connection to get the name for.- Returns:
- The name of the database connection, or empty if no database connection with the given UUID exists in the client.
-
databaseConnectionName
Gets the name of a database connection, identified by its UUID. The search for connections is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
dbConnection- The database connection reference to get the name for.- Returns:
- The name of the database connection, or empty if no database connection with the given UUID exists in the client.
-
databaseQueryName
Gets the name of a database query, identified by its UUID. The search for queries is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
dbQueryUuid- The UUID of the database query to get the name for.- Returns:
- The name of the database query, or empty if no database query with the given UUID exists in the client.
-
databaseQueryName
Gets the name of a database query, identified by its UUID. The search for queries is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
dbQuery- The database query reference to get the name for.- Returns:
- The name of the database query, or empty if no database query with the given UUID exists in the client.
-
directClientAuthorizationName
Gets the name of a direct client authorization, identified by its UUID. The search is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
directClientAuthorizationUuid- The UUID of the direct client authorization to get the name for.- Returns:
- The name of the direct client authorization, or empty if no direct client authorization with the given UUID exists in the client.
-
directClientAuthorizationName
Gets the name of a direct client authorization, identified by its UUID. The search is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
directClientAuthorization- The direct client authorization reference to get the name for.- Returns:
- The name of the direct client authorization, or empty if no direct client authorization with the given UUID exists in the client.
-
entityContext
IEntityContext entityContext()Grants access to the entity context that can be used for custom database queries.- Returns:
- The entity context for this store.
-
entityName
-
entityName
Gets the name of the given entity reference.- Parameters:
entity- The entity reference for which to get the name.- Returns:
- The name of the entity, or empty string if no matching entity exists.
-
formFileName
Gets the name of a form file, identified by its UUID. Uses theformof the workflow for which the BPMN diagram is being created.- Parameters:
formFileUuid- The UUID of the form file to get the name for.- Returns:
- The name of the form file, or empty if no form file with the given UUID exists in the project.
-
formFileName
Gets the name of a form file, identified by its UUID. Uses theformof the workflow for which the BPMN diagram is being created.- Parameters:
formFile- The form file reference to get the name for.- Returns:
- The name of the form file, or empty if no form file with the given UUID exists in the project.
-
inboxName
Gets the name of an inbox, identified by its UUID. The search for inboxes is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
inboxUuid- The UUID of the inbox to get the name for.- Returns:
- The name of the inbox, or empty if no inbox with the given UUID exists in the client.
-
inboxName
Gets the name of an inbox, identified by its UUID. The search for inboxes is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
inbox- The inbox reference to get the name for.- Returns:
- The name of the inbox, or empty if no matching inbox exists in the client.
-
indirectClientAuthorizationName
Gets the name of an indirect client authorization, identified by its UUID. The search is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
indirectClientAuthorizationUuid- The UUID of the indirect client authorization to get the name for.- Returns:
- The name of the indirect client authorization, or empty if no indirect client authorization with the given UUID exists in the client.
-
indirectClientAuthorizationName
Gets the name of an indirect client authorization, identified by its UUID. The search is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
indirectClientAuthorization- The indirect client authorization reference to get the name for.- Returns:
- The name of the indirect client authorization, or empty if no indirect client authorization with the given UUID exists in the client.
-
ldapConnectionForQuery
Gets the UUID of an LDAP connection, identified by the UUID of a referencing LDAP query. The search is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
ldapQueryUuid- The UUID of an LDAP query that references an LDAP connection.- Returns:
- The UUID of the LDAP connection, or null if no LDAP connection with the given UUID exists in the client.
-
ldapConnectionForQuery
Gets the UUID of an LDAP connection, identified by the UUID of a referencing LDAP query. The search is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
ldapQuery- The LDAP query reference that references an LDAP connection.- Returns:
- The UUID of the LDAP connection, or null if no LDAP connection with the given UUID exists in the client.
-
ldapConnectionName
Gets the name of an LDAP connection, identified by its UUID. The search for connections is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
ldapConnectionUuid- The UUID of the LDAP connection to get the name for.- Returns:
- The name of the LDAP connection, or empty if no LDAP connection with the given UUID exists in the client.
-
ldapConnectionName
Gets the name of an LDAP connection, identified by its UUID. The search for connections is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
ldapConnection- The LDAP connection reference to get the name for.- Returns:
- The name of the LDAP connection, or empty if no LDAP connection with the given UUID exists in the client.
-
ldapQueryName
Gets the name of an LDAP query, identified by its UUID. The search for queries is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
ldapQueryUuid- The UUID of the LDAP query to get the name for.- Returns:
- The name of the LDAP query, or empty if no LDAP query with the given UUID exists in the client.
-
ldapQueryName
Gets the name of an LDAP query, identified by its UUID. The search for queries is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
ldapQuery- The LDAP query reference to get the name for.- Returns:
- The name of the LDAP query, or empty if no LDAP query with the given UUID exists in the client.
-
objectName
Gets the name of the given object reference.- Parameters:
object- The object reference for which to get the name.- Returns:
- The name of the entity, or empty string if no matching entity exists.
-
project
Projekt project()Gets the project to which the workflow belongs that is being modeled as a BPMN diagram.- Returns:
- The project of the workflow, never null.
-
promptConnectionName
Gets the name of a prompt connection, identified by its UUID. The search for queries is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
scope- The prompt scope to look in.connection- The prompt connection reference to get the name for.- Returns:
- The name of the prompt connection, or empty if no prompt connection with the given UUID exists in the client.
-
promptQueryName
Gets the name of a prompt query, identified by its UUID. The search for queries is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
scope- The prompt scope to look in.query- The prompt query reference to get the name for.- Returns:
- The name of the prompt query, or empty if no prompt query with the given UUID exists in the client.
-
textTemplateName
Gets the name of a text template, identified by its UUID. The search for templates is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
textTemplateUuid- The UUID of the text template to get the name for.- Returns:
- The name of the text template, or empty if no text template with the given UUID exists in the client.
-
textTemplateName
Gets the name of a text template, identified by its UUID. The search for templates is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
textTemplate- The text template reference to get the name for.- Returns:
- The name of the text template, or empty if no text template with the given UUID exists in the client.
-
userGroupName
Gets the name of a user group, identified by its UUID. The search for user groups is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
userGroupUuid- The UUID of the user group to get the name for.- Returns:
- The name of the user group, or empty if no user group with the given UUID exists in the client.
-
userGroupName
Gets the name of a user group, identified by its UUID. The search for user groups is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
userGroup- The user group reference to get the name for.- Returns:
- The name of the user group, or empty if no user group with the given UUID exists in the client.
-
webDavConnectionName
Gets the name of a WebDAV connection, identified by its UUID. The search for WebDAV connections is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
webDavConnectionUuid- The UUID of the WebDAV connection to get the name for.- Returns:
- The name of the WebDAV connection, or empty if no WebDAV connection with the given UUID exists in the client.
-
webDavConnectionName
Gets the name of a WebDAV connection, identified by its UUID. The search for WebDAV connections is limited to theclientof the workflow for which the BPMN diagram is being created.- Parameters:
webDavConnection- The WebDAV connection reference to get the name for.- Returns:
- The name of the WebDAV connection, or empty if no WebDAV connection with the given UUID exists in the client.
-
workflowStateName
-
workflowStateName
Gets the name of a workflow state, identified by its UUID.- Parameters:
workflowState- The workflow state reference to get the name for.- Returns:
- The name of the workflow state, or empty if no workflow state with the given UUID exists.
-
zone
ZoneId zone()Gets the default system time zone of the workflow engine, which is used for date and time calculations.- Returns:
- The system time zone, never null.
-