Uses of Interface
de.aristaflow.adept2.base.sessionmanagement.SessionToken
-
-
Uses of SessionToken in de.aristaflow.adept2.base.cluster
Methods in de.aristaflow.adept2.base.cluster with parameters of type SessionToken Modifier and Type Method Description URI[]
RegistryProviderConf. getGlobalRegistry(SessionToken session)
URI[]
RegistryProviderDb. getGlobalRegistry(SessionToken session)
-
Uses of SessionToken in de.aristaflow.adept2.base.communication
Methods in de.aristaflow.adept2.base.communication with parameters of type SessionToken Modifier and Type Method Description GlobalRegistry
GlobalRegistryServiceProvider. getGlobalRegistry(SessionToken session)
Gets (the instance of) the current global registry. -
Uses of SessionToken in de.aristaflow.adept2.base.globalregistry
Methods in de.aristaflow.adept2.base.globalregistry with parameters of type SessionToken Modifier and Type Method Description Throwable[]
GlobalServiceExport. exportService(SessionToken session, URI[] serviceURIs, Class<? extends ADEPT2Service> serviceInterface, ADEPT2Service service)
Enables the designated service identified by the designated URI to be called globally via this global service export service.URI[]
GlobalRegistryProvider. getGlobalRegistry(SessionToken session)
Gets the URIs of the current global registry.void
GlobalRegistry. invalidate(SessionToken session, String clusterName, String serviceType, String serviceName)
Informs the global registry that the designated service is not reachable any more.void
GlobalRegistry. invalidate(SessionToken session, String clusterName, URI[] globalServiceUris)
Informs the global registry that the designated service is not reachable any more.URI[]
GlobalServiceExport. prepareServiceExport(SessionToken session, String clusterName, String serviceTypeName, String simpleServiceName, Class<? extends ADEPT2Service> serviceInterface, String peerId)
Prepares the specified service for being globally exported and creates a remote object identifiers of type URI for all communication protocols this global service exports services.List<URI>
GlobalRegistry. prepareServicePublishing(SessionToken session, String clusterName, String serviceType, String serviceName, List<URI> localServiceUris)
Prepares the specified service for being published.void
GlobalRegistry. publishService(SessionToken session, String serviceType, String serviceName, List<URI> globalServiceUris)
Publishes the designated service with the designated global URIs and registers the designated local URIs for it.boolean
GlobalRegistry. unpublishService(SessionToken session, String clusterName, String serviceType, String serviceName, List<URI> globalServiceUris)
Unpublishes the designated service with the designated global URIs.void
GlobalServiceExport. unregisterService(SessionToken session, ADEPT2Service service)
Unregisters the designated service (callback) which removes the export of the designated service. -
Uses of SessionToken in de.aristaflow.adept2.base.licensing
Methods in de.aristaflow.adept2.base.licensing with parameters of type SessionToken Modifier and Type Method Description LicenceInformation
LicenceManager. getLicenceInformation(SessionToken session)
Deprecated.UseLicenceManager.getLicenceInformation()
instead.boolean
LicenceManager. logViolation(SessionToken session, String violationType, long violationValue)
Logs violations of the designated type with the designated value, for instance the number of users concurrently logged on.void
LicenceManager. setViolationShutdown(SessionToken session, ADEPT2Service shutdownService)
Sets the designated service to be the one to be shut down in case of severe licence violations. -
Uses of SessionToken in de.aristaflow.adept2.base.mailservice
Methods in de.aristaflow.adept2.base.mailservice with parameters of type SessionToken Modifier and Type Method Description EmailResult
MailService. sendMail(SessionToken session, Email mail, boolean allowAsyncRetry)
Sends the designated mail which needs at least one recipient, a subject and a body/text.EmailResult
MailService. sendMail(SessionToken session, Email mail, Map<String,String> addAttributes, boolean allowAsyncRetry)
Sends the designated mail which needs at least one recipient, a subject and a body/text.EmailResult
MailService. sendMail(SessionToken session, String from, List<String> to, List<String> cc, List<String> bcc, String subject, String body, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated sender, subject and body.EmailResult
MailService. sendMail(SessionToken session, String from, List<String> to, List<String> cc, List<String> bcc, String subject, String body, List<SerialisableAttachment> attachments, Map<String,String> addAttributes, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated sender, subject and body.EmailResult
MailService. sendMail(SessionToken session, List<String> to, String subject, String body, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated subject and the designated body.EmailResult
MailService. sendMail(SessionToken session, List<String> to, String subject, String body, Map<String,String> addAttributes, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated subject and the designated body and the optional additional attributes.EmailResult
MailService. sendMail(SessionToken session, List<String> to, List<String> cc, List<String> bcc, String subject, String body, List<SerialisableAttachment> attachments, Map<String,String> addAttributes, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated subject and body and the default sender from theMailService
.EmailResult
MailService. sendMail(SessionToken session, List<String> to, List<String> cc, List<String> bcc, String subject, String body, Map<String,String> addAttributes, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated subject and the designated body and the optional additional attributes. -
Uses of SessionToken in de.aristaflow.adept2.base.registry
Methods in de.aristaflow.adept2.base.registry with parameters of type SessionToken Modifier and Type Method Description protected void
LocalServiceRegistry. checkServiceURI(SessionToken session, URI serviceURI)
Validates whether the designated URI is local, well-formed and may identify a service instance.protected void
ServiceRegistry. checkServiceURI(SessionToken session, URI serviceURI)
Validates whether the designated URI is well-formed and may identify a service instance.protected void
LocalServiceRegistry. exportService(SessionToken session, String serviceName, ADEPT2Service service, LocalServiceRegistry.ServiceExportInformation serviceExportInformation)
Exports and publishes the designated service (in case of an exported service) using the designated service export objects and the designated URIs if appropriate.protected void
ServiceRegistry. exportService(SessionToken session, String serviceName, ADEPT2Service service, LocalServiceRegistry.ServiceExportInformation serviceExportInformation)
Exports the designated service (in case of an exported service) using the designated service export objects and the designated URIs.protected String
LocalServiceRegistry. getAndCheckRequiredService(SessionToken session, String usingService, String usedServiceTypeName)
Gets the name of the used service of the designated type and for the designated using service.protected CommunicationService<?,?,?,?>
ServiceRegistry. getCommunicationService(SessionToken session, String simpleInstanceName)
Returns the communication service with the designated instance name.protected <T> T
LocalServiceRegistry. getConfiguredPlugin(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType, String pluginInstanceName, Class<?>[] additionalParameterTypes, Object[] additionalParameterValues)
protected <T> T
PluginRegistry. getConfiguredPlugin(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType)
Retrieves the default instance of the designated plugin type.protected <T> T
PluginRegistry. getConfiguredPlugin(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType, String pluginInstanceName)
Retrieves the plugin with the designated name of the designated type if it is declared by the using instance or if it is declared and found as runtime plugin.protected <T> T
PluginRegistry. getConfiguredPlugin(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType, String pluginInstanceName, Class<?>[] additionalParameterTypes, Object[] additionalParameterValues)
Retrieves the plugin with the designated name of the designated type if it is declared by the using instance or if it is declared and found as runtime plugin.<T> T
RegistryWrapper. getConfiguredPlugin(SessionToken session, Object usingInstance, String pluginTypeName, Class<T> componentType)
<T> T
RegistryWrapper. getConfiguredPlugin(SessionToken session, Object usingInstance, String pluginTypeName, Class<T> componentType, String pluginInstanceName)
protected <T> Map<String,T>
PluginRegistry. getConfiguredPlugins(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType)
Retrieves all plugin instances (pre-configured and dynamic) of the designated plugin type.<T> Map<String,T>
RegistryWrapper. getConfiguredPlugins(SessionToken session, Object usingInstance, String pluginTypeName, Class<T> pluginType)
protected Map<String,Class<?>>
PluginRegistry. getConfiguredPluginTypes(SessionToken session, String usingInstanceName)
Retrieves all plugin types declared for the designated using instance.Map<String,Class<?>>
RegistryWrapper. getConfiguredPluginTypes(SessionToken session)
GlobalRegistry
ServiceRegistry. getGlobalRegistry(SessionToken session)
Returns a reference to (the default instance of) the global registry.protected <T extends ADEPT2Service>
TServiceRegistry. getLocallyExportedService(SessionToken session, URI chosenUri, URI[] serviceUris, Class<T> serviceType)
Gets the locally exported service identified by the designated URI.protected <T extends ADEPT2Service>
TLocalServiceRegistry. getLocalServiceObject(SessionToken session, String serviceName, Class<T> requestedType)
Returns an instance of the designated service and of the requested type.protected <T extends ADEPT2Service>
TServiceRegistry. getLocalServiceObject(SessionToken session, String serviceName, Class<T> requestedType)
Returns an instance of the designated service if it is local, null otherwise.protected <T extends AbstractRegistry>
TLocalServiceRegistry. getRegistry(SessionToken session, String registryTypeName, Class<T> registryType)
Gets a registry (as service and therefore singleton) for the specified type name of the specified type, for instanceRuntimeRegistry
.<T extends ADEPT2Service>
TLocalServiceRegistry. getService(SessionToken session, String serviceName, Class<T> serviceType)
Initialises, starts and exports (not relevant in this registry but in subclasses) the designated local service as well as the services that are startup-required by the designated service.<T extends ADEPT2Service>
TLocalServiceRegistry. getService(SessionToken session, URI[] serviceURIs, Class<T> serviceType)
Retrieves the service described by the URIs of which one has to be a local one.<T extends ADEPT2Service>
TRegistryWrapper. getService(SessionToken session, String serviceName, Class<T> serviceType)
<T extends ADEPT2Service>
TRegistryWrapper. getService(SessionToken session, URI[] serviceURIs, Class<T> serviceType)
<T extends ADEPT2Service>
TServiceRegistry. getService(SessionToken session, String serviceName, Class<T> serviceType)
Returns the designated service which is either a started local service (seeLocalServiceRegistry.getService(SessionToken, String, Class)
) or a service stub based on URIs (seeServiceRegistry.getService(SessionToken, URI[], Class)
).<T extends ADEPT2Service>
TServiceRegistry. getService(SessionToken session, URI[] serviceURIs, Class<T> serviceType)
Retrieves the service described by the URIs which is either a local service (ServiceRegistry.getService(SessionToken, String, Class)
) or a stub for a remote service (ServiceRegistry.getServiceStub(SessionToken, URI, Class)
).protected <T extends ADEPT2Service>
TLocalServiceRegistry. getServiceForInstance(SessionToken session, String usingService, String usedServiceTypeName, Class<T> usedServiceType)
Returns a completely initialised and started service which has been configured to be used by theusingService
for the service typeusedServiceTypeName
and is of (object) typeusedServiceType
.<T extends ADEPT2Service>
TRegistryWrapper. getServiceOfType(SessionToken session, String serviceTypeName, Class<T> serviceType)
GlobalRegistry
ServiceRegistry. globalRegistryChanged(SessionToken session, URI globRegUri)
Changes the URI of the (default instance of the) global registry to the designated URI.protected void
ServiceRegistry. initExportServices(SessionToken session)
Starts and exports all local services that need be exported.protected LocalServiceRegistry.ServiceExportInformation
LocalServiceRegistry. prepareExport(SessionToken session, String serviceName, ADEPT2Service service)
Prepares the export by creating a local URI for initialisation of the service.protected LocalServiceRegistry.ServiceExportInformation
ServiceRegistry. prepareExport(SessionToken session, String serviceName, ADEPT2Service service)
Prepares the export of the designated service by retrieving the communication service for the export and the retrieving corresponding URIs from its service export.protected void
LocalServiceRegistry. startLocalService(SessionToken session, String serviceName, ADEPT2Service service, de.aristaflow.adept2.base.registry.ServiceLoadGraph loadGraph)
Initialises, starts and exports (not relevant in this registry but in subclasses) the designated local service as well as the services that are startup-required by the designated service.protected void
LocalServiceRegistry. unpublishService(SessionToken session, String serviceName, ADEPT2Service service)
Removes the designated service from the global registry and from the service exports.protected void
ServiceRegistry. unpublishService(SessionToken session, String serviceName, ADEPT2Service service)
Removes the designated service from the global registry and from the service exports.Constructors in de.aristaflow.adept2.base.registry with parameters of type SessionToken Constructor Description ServiceNameResolution(SessionToken session)
Creates a new instance for provision of the necessary data for a service load graph. -
Uses of SessionToken in de.aristaflow.adept2.base.security
Methods in de.aristaflow.adept2.base.security with parameters of type SessionToken Modifier and Type Method Description void
Authentication. logoff(SessionToken session)
Logs the agent off that is identified by the designatedSessionToken
. -
Uses of SessionToken in de.aristaflow.adept2.base.service
Fields in de.aristaflow.adept2.base.service declared as SessionToken Modifier and Type Field Description protected SessionToken
AbortTransactionException. session
The session token that initiated the transaction that is to be aborted.Fields in de.aristaflow.adept2.base.service with type parameters of type SessionToken Modifier and Type Field Description protected Function<SessionToken,SessionToken>
DynamicServiceRegistration. sessionProvider
The provider for creating child session tokens.protected Function<SessionToken,SessionToken>
DynamicServiceRegistration. sessionProvider
The provider for creating child session tokens.Methods in de.aristaflow.adept2.base.service that return SessionToken Modifier and Type Method Description SessionToken
AbstractAuthenticatedService. createChildSession(SessionToken parentSession)
Creates a new child session token to the given session using the session factory assigned to this service.SessionToken
AbstractAuthenticatedService. createSession()
Creates a new session token using the session factory assigned to this service.protected SessionToken
AbstractNonPrivilegedService. createSession()
Creates a new session token using the client session factory assigned to this service.SessionToken
AbortTransactionException. getSession()
Gets the session that initiated the transaction to be aborted.Methods in de.aristaflow.adept2.base.service with parameters of type SessionToken Modifier and Type Method Description void
AbstractADEPT2Service. _sessionActive(SessionToken session, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR, int addStackElems)
Registers the designated session as active, tracks the current thread and registers the log context (if CSV-logging is configured).void
AbstractAuthenticatedService. _sessionActive(SessionToken session, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR, int addStackElems)
void
AbstractADEPT2Service. _sessionFinished(SessionToken session, int addStackElems)
Unregisters the designated session, removes the current thread and the log context (if CSV-logging is configured).protected void
AbstractADEPT2Service. activeOrInvalidServiceStateException(SessionToken session)
Checks whether this service is active and throws anInvalidStateException
ifAbstractADEPT2Service.isActive()
returns false.void
DynamicServiceRegistration.DynamicServiceNotification. addedService(SessionToken session, K key, int index, URI[] uris, long contactTime)
Notifies the adding of the designated service (URIs) for the designated key at the designated index of the corresponding service list.void
AbstractADEPT2Service. changeLogContext(String contextString, SessionToken session, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR)
void
DebugLogger. changeLogContext(SessionToken session, QualifiedAgent tlAgent, QualifiedAgent agent, String arbString, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR)
Changes the current log record parameter values intermediately for the designated session to the designated values.void
LogService. changeLogContext(String arbString, SessionToken session, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR)
Changes the current log record parameter values for the designated session intermediately to the designated values.SessionToken
AbstractAuthenticatedService. createChildSession(SessionToken parentSession)
Creates a new child session token to the given session using the session factory assigned to this service.QualifiedAgent
AbstractAuthenticatedService. getAgent(SessionToken session)
Gets the agent of the designated session token.List<String>
ConfigurableService. getChangeableConfigurationKeys(SessionToken session)
Gets a list of configuration keys that may be changed by the owner of the designated session token.org.apache.commons.configuration2.Configuration
AbstractConfigurableAuthenticatedService. getConfiguration(SessionToken session)
org.apache.commons.configuration2.Configuration
AbstractConfigurableService. getConfiguration(SessionToken session)
org.apache.commons.configuration2.Configuration
ConfigurableService. getConfiguration(SessionToken session)
Gets the configuration of this service for displaying it.String
AbstractConfigurableAuthenticatedService. getConfigurationValue(SessionToken session, String key)
String
ConfigurableService. getConfigurationValue(SessionToken session, String key)
Gets the string representation of the configuration value for the designated key ornull
if the key does not exist or has no value.<T> T
ServiceAccess. getConfiguredPlugin(SessionToken session, Object usingInstance, String pluginTypeName, Class<T> pluginType)
Retrieves the default plugin of the designated type which is configured for the designated (using) instance.<T> T
ServiceAccess. getConfiguredPlugin(SessionToken session, Object usingInstance, String pluginTypeName, Class<T> pluginType, String pluginInstanceName)
Retrieves the plugin having the designated type and instance name as well as type and which is configured for the designated (using) instance.<T> Map<String,T>
ServiceAccess. getConfiguredPlugins(SessionToken session, Object usingInstance, String pluginTypeName, Class<T> pluginType)
Retrieves all plugin instances (pre-configured and dynamic) of the designated plugin type.Map<String,Class<?>>
ServiceAccess. getConfiguredPluginTypes(SessionToken session)
Retrieves all plugin types declared for the instance using this interface.S
DynamicServiceRegistration. getNewServiceFor(SessionToken session, K key)
Gets a new service for the designated key, i. e. the registered services (after the currently used one) are being contacted and the first successfully contacted service will become the new used service.<T extends ADEPT2Service>
TServiceAccess. getService(SessionToken session, String serviceName, Class<T> serviceType)
Returns the designated service which is either a local service or a service stub that is retrieved from the global registry if the service is not known to this registry but to the global registry.<T extends ADEPT2Service>
TServiceAccess. getService(SessionToken session, URI[] serviceURIs, Class<T> serviceType)
Retrieves the service described by the URIs which is either a local service stub that is retrieved from the global registry if the service is not known to this registry but to the global registry.S
DynamicServiceRegistration. getServiceFor(SessionToken parentSession, K key)
Gets the currently used service for the designated key.<T extends ADEPT2Service>
TServiceAccess. getServiceOfType(SessionToken session, String serviceTypeName, Class<T> serviceType)
Returns the service instance of the designated service type which is configured for usage by this (the requesting) service instance.QualifiedAgent
AbstractAuthenticatedService. getTopLevelAgent(SessionToken session)
Gets the agent of the top-level session token of the designated session token.protected Pair<QualifiedAgent,QualifiedAgent>
AbstractADEPT2Service. getUserCredentials(SessionToken session)
Gets the agent of the top-level session token and the agent of the designated session token if a session factory is available.Pair<QualifiedAgent,QualifiedAgent>
AbstractAuthenticatedService. getUserCredentials(SessionToken session)
Gets the agent of the top-level session token and the agent of the designated session token if a session factory is available.boolean
AbstractADEPT2Service.ActiveSessions. isActive(SessionToken session)
Returns whether the designated session token (or a session token having the same top-level session) is currently active or privileged.protected boolean
AbstractADEPT2Service. isSessionActive(SessionToken session)
Gets whether the designated session token is active, that is, it is registered for this service.void
AbstractADEPT2Service. logMethodEntry(String contextString, SessionToken session, String msg)
void
AbstractADEPT2Service. logMethodEntry(String contextString, SessionToken session, String msg, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR)
void
AbstractADEPT2Service. logMethodEntry(String contextString, SessionToken session, String msg, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR, int removeElems)
Registers the designated parameters as log context and logs a message for the entry of a method.void
LogService. logMethodEntry(String contextString, SessionToken session, String msg)
Registers the log context for the current thread (if CSV-logging is configured) and logs the designated message.void
LogService. logMethodEntry(String contextString, SessionToken session, String msg, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR)
Registers the log context for the current thread (if CSV-logging is configured) and logs the designated message.protected void
AbstractADEPT2Service.ActiveSessions. privilegeSession(SessionToken session)
Privileges the designated session, that is the session may access the service even when shutting down or initialising.protected void
AbstractADEPT2Service. privilegeSession(SessionToken activeSession, SessionToken newSession)
Privileges the designated session which will allow this session to become active even if this service is shutting down.protected void
AbstractSubService. privilegeSession(SessionToken activeSession, SessionToken newSession)
Forwards toAbstractADEPT2Service.privilegeSession(SessionToken, SessionToken)
of the main service.void
DebugLogger. registerLogContext(SessionToken session, QualifiedAgent tlAgent, QualifiedAgent agent, String arbString, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR)
Registers a new (sub-)session with the designated log record parameters.SortedMap<Integer,URI[]>
DynamicServiceRegistration. registerService(SessionToken parentSession, K key, URI[] serviceUris, DynamicServiceRegistration.RegistrationMode mode)
Registers the designated service (URI) for the designated key.void
DynamicServiceRegistration.DynamicServiceNotification. removedService(SessionToken session, K key, int index, URI[] uris)
Notifies the removal of the designated service (URIs) for the designated key at the designated index of the corresponding service list.void
DynamicServiceRegistration.DynamicServiceNotification. removedServices(SessionToken session, K key)
Notifies the removal of all registered services for the designated key.protected void
AbstractADEPT2Service.ActiveSessions. sessionActive(SessionToken session)
Registers the designated session as active and also tracks the current thread.void
AbstractADEPT2Service. sessionActive(SessionToken session)
Registers the designated session as active, tracks the current thread and registers the log context (if CSV-logging is configured).protected void
AbstractADEPT2Service. sessionActive(SessionToken session, int addStackElems)
Similar toAbstractADEPT2Service.sessionActive(SessionToken)
but allows the caller to remove additional stack elements stemming from internal method forwarding and hiding the actual called method.void
AbstractADEPT2Service. sessionActive(SessionToken session, UUID templID, UUID embdTemplID, EBPInstanceReference ebpIR)
Registers the designated session as active, tracks the current thread and registers the log context (if CSV-logging is configured).void
AbstractADEPT2Service. sessionActive(SessionToken session, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID)
Registers the designated session as active, tracks the current thread and registers the log context (if CSV-logging is configured).protected void
AbstractSubService. sessionActive(SessionToken session)
Forwards toAbstractADEPT2Service.sessionActive(SessionToken)
of the main service.protected boolean
AbstractADEPT2Service.ActiveSessions. sessionFinished(SessionToken session)
Deregisters the designated session and also removes the current thread.void
AbstractADEPT2Service. sessionFinished(SessionToken session)
Unregisters the designated session, removes the current thread and the log context (if CSV-logging is configured).protected void
AbstractADEPT2Service. sessionFinished(SessionToken session, int addStackElems)
Similar toAbstractADEPT2Service.sessionFinished(SessionToken)
but allows the caller to remove additional stack elements stemming from internal method forwarding and hiding the actual called method.protected void
AbstractSubService. sessionFinished(SessionToken session)
Forwards toAbstractADEPT2Service.sessionFinished(SessionToken)
of the main service.boolean
AbstractAuthenticatedService. sessionHasAllCapabilities(SessionToken session, String... capabilities)
Gets whether the designated session has all of the designated capabilities.boolean
AbstractAuthenticatedService. sessionHasAllTopLevelCapabilities(SessionToken session, String... capabilities)
Gets whether the top-level session of the designated session has all of the designated capabilities.boolean
AbstractAuthenticatedService. sessionHasCapability(SessionToken session, String capability)
Deprecated.boolean
AbstractAuthenticatedService. sessionHasOneCapability(SessionToken session, String... capabilities)
Gets whether the designated session has one of the designated capabilities.boolean
AbstractAuthenticatedService. sessionHasOneTopLevelCapability(SessionToken session, String... capabilities)
Gets whether the top-level session of the designated session has one of the designated capabilities.void
ConfigurableService. setConfigurationValue(SessionToken session, String key, String value)
Sets the designated configuration value.protected void
DebugLogger. setLogParameters(Object[] logParameters, SessionToken session, QualifiedAgent tlAgent, QualifiedAgent agent, String arbString, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR)
Sets the designated values as parameters for log records.SortedMap<Integer,URI[]>
DynamicServiceRegistration. unregisterService(SessionToken parentSession, K key, URI[] serviceUris)
Unregisters the service for the designated key.void
DynamicServiceRegistration. updateContactData(SessionToken parentSession, K key, long timestamp)
Updates the last contact of the service for the designated key which is currently used to the designated timestamp.void
DynamicServiceRegistration.DynamicServiceNotification. updatedServiceContact(SessionToken session, K key, int index, URI[] uris, long contactTime)
Notifies the updating of (the contact time of) the designated service for the designated key at the designated index of the corresponding service list.Constructors in de.aristaflow.adept2.base.service with parameters of type SessionToken Constructor Description AbortTransactionException(SessionToken session, String message)
Create a new exception to abort the transaction for the designated session token having the designated description.AbortTransactionException(SessionToken session, String message, Throwable cause)
Create a new exception to abort the transaction for the designated session token having the designated description and cause.AbortTransactionException(SessionToken session, Throwable cause)
Create a new exception to abort the transaction for the designated session token having the designated cause.Constructor parameters in de.aristaflow.adept2.base.service with type arguments of type SessionToken Constructor Description DynamicServiceRegistration(Map<K,List<Pair<URI[],Long>>> registered, ReadWriteLock lock, long inactiveSeconds, Class<? extends S> serviceClass, ServiceAccess serviceAccess, Function<SessionToken,SessionToken> sessionProvider, DynamicServiceRegistration.DynamicServiceNotification<K> notification, LogService logService)
Constructs a newDynamicServiceRegistration
for handing dynamically registered services.DynamicServiceRegistration(Map<K,List<Pair<URI[],Long>>> registered, ReadWriteLock lock, long inactiveSeconds, Class<? extends S> serviceClass, ServiceAccess serviceAccess, Function<SessionToken,SessionToken> sessionProvider, DynamicServiceRegistration.DynamicServiceNotification<K> notification, LogService logService)
Constructs a newDynamicServiceRegistration
for handing dynamically registered services. -
Uses of SessionToken in de.aristaflow.adept2.base.sessionmanagement
Methods in de.aristaflow.adept2.base.sessionmanagement that return SessionToken Modifier and Type Method Description SessionToken
SessionFactory. getChildSession(SessionToken parentSession, URI[] callingComponent)
Creates a new child session token with the designated session as parent and for the designated component.SessionToken
SessionFactory. getChildSession(SessionToken parentSession, URI[] callingComponent, Map<String,String> additionalAttributes)
Creates a new child session token with the designated session as parent, the designated additional attributes and for the designated component.protected static SessionToken
SessionLock. getNearestCommonAncestor(SessionToken first, SessionToken second)
Gets the session token that is the nearest common ancestor of the designated session tokens.SessionToken
SessionToken. getParentSession()
Gets a reference to the parent session if this session is a child session, or a reference to this session in case of a top-level session.SessionToken
SessionFactory. getPrivilegedChildSession(SessionToken parentSession, URI[] callingComponent)
Creates a new child session token with the designated session as parent but with the privileges of the encapsulated security data.SessionToken
SessionFactory. getPrivilegedChildSession(SessionToken parentSession, URI[] callingComponent, Map<String,String> additionalAttributes)
Creates a new child session token with the designated session as parent and the additional attributes but with the privileges of the encapsulated security data.SessionToken
ClientSessionFactory. getSessionToken()
Creates a new (top-level) session token which is needed for calling the ADEPT2-API.SessionToken
ClientSessionFactory. getSessionToken(URI[] callingComponent)
Creates a new (top-level) session token which is needed for calling the ADEPT2-API.SessionToken
ClientSessionFactory. getSessionToken(URI[] callingComponent, Map<String,String> additionalAttributes)
Creates a new (top-level) session token which is needed for calling the ADEPT2-API.SessionToken
ClientSessionFactory. getSessionToken(Map<String,String> additionalAttributes)
Creates a new (top-level) session token which is needed for calling the ADEPT2-API.SessionToken
SessionFactory. getSessionToken(URI[] callingComponent)
Creates a new (top-level) session token for the designated component.SessionToken
SessionFactory. getSessionToken(URI[] callingComponent, Map<String,String> additionalAttributes)
Creates a new (top-level) session token for the designated component with the designated additional attributes.SessionToken
SessionFactory. getSubstituteSessionToken(SessionToken callerSession, SignedSecurityToken substitutedToken)
Creates a new (top-level) session token for the designated caller session with the designated security information for usage as substitute.SessionToken
SessionFactory. getSubstituteSessionToken(SessionToken callerSession, SignedSecurityToken substitutedToken, Map<String,String> additionalAttributes)
Creates a new (top-level) session token for the designated caller session with the designated security information and the designated additional attributes for usage as substitute.SessionToken
SessionFactory. unmarshalChildSessionToken(SessionToken parentSession, UUID childSessionID, URI[] callingComponent, Map<String,String> additionalAttributes)
Unmarshalls a child session token having the designated attributes and the designated parent session.SessionToken
SessionFactory. unmarshalSessionToken(UUID sessionID, SignedSecurityToken securityToken, URI[] callingComponent, Map<String,String> additionalAttributes)
Unmarshalls a top-level session token having the designated attributes.Methods in de.aristaflow.adept2.base.sessionmanagement with parameters of type SessionToken Modifier and Type Method Description QualifiedAgent
SessionFactory. checkAndGetAgent(SessionToken sessionToken)
Checks the integrity of the (security token of the) designated session token and returns the agent of the (child level) session token.QualifiedAgent
SessionFactory. checkAndGetTopLevelAgent(SessionToken sessionToken)
Checks the integrity of the (security token of the) top-level session of the designated session token and returns the agent of the corresponding top-level session token.void
SessionFactory. checkIntegrity(SessionToken sessionToken)
Checks the integrity of the (security token of the) designated session token.int
SessionLock.AbstractLockCount. decreaseAndGetLockCount(SessionToken session)
int
SessionLock.DownwardSubtreeLockCount. decreaseAndGetLockCount(SessionToken session)
int
SessionLock.SessionTreePathLockCount. decreaseAndGetLockCount(SessionToken session)
Deprecated.int
SessionLock.SubsessionLockCount. decreaseAndGetLockCount(SessionToken session)
Deprecated.int
SessionLock.UpwardSubtreeLockCount. decreaseAndGetLockCount(SessionToken session)
int
SessionLock.UUIDLockCount. decreaseAndGetLockCount(SessionToken session)
Deprecated.SessionToken
SessionFactory. getChildSession(SessionToken parentSession, URI[] callingComponent)
Creates a new child session token with the designated session as parent and for the designated component.SessionToken
SessionFactory. getChildSession(SessionToken parentSession, URI[] callingComponent, Map<String,String> additionalAttributes)
Creates a new child session token with the designated session as parent, the designated additional attributes and for the designated component.protected static SessionToken
SessionLock. getNearestCommonAncestor(SessionToken first, SessionToken second)
Gets the session token that is the nearest common ancestor of the designated session tokens.SessionToken
SessionFactory. getPrivilegedChildSession(SessionToken parentSession, URI[] callingComponent)
Creates a new child session token with the designated session as parent but with the privileges of the encapsulated security data.SessionToken
SessionFactory. getPrivilegedChildSession(SessionToken parentSession, URI[] callingComponent, Map<String,String> additionalAttributes)
Creates a new child session token with the designated session as parent and the additional attributes but with the privileges of the encapsulated security data.SessionToken
SessionFactory. getSubstituteSessionToken(SessionToken callerSession, SignedSecurityToken substitutedToken)
Creates a new (top-level) session token for the designated caller session with the designated security information for usage as substitute.SessionToken
SessionFactory. getSubstituteSessionToken(SessionToken callerSession, SignedSecurityToken substitutedToken, Map<String,String> additionalAttributes)
Creates a new (top-level) session token for the designated caller session with the designated security information and the designated additional attributes for usage as substitute.boolean
CapabilityChecker. hasAllCapabilities(SessionToken sessionToken, String... capabilities)
Checks the integrity of the (security token of the) designated session token and returns whether the (security token of the) designated session has all of the designated capabilities.boolean
CapabilityChecker. hasAllTopLevelCapabilities(SessionToken sessionToken, String... capabilities)
Checks the integrity of the (security token of the) top-level session of the designated session token and returns whether the (security token of the) top-level session of the designated session has all of the designated capabilities.boolean
SessionFactory. hasCapability(SessionToken sessionToken, String capability)
Deprecated.boolean
SessionLock.AbstractLockCount. hasLock(SessionToken session)
boolean
SessionLock.DownwardSubtreeLockCount. hasLock(SessionToken session)
boolean
SessionLock.SessionTreePathLockCount. hasLock(SessionToken session)
Deprecated.boolean
SessionLock.SubsessionLockCount. hasLock(SessionToken session)
Deprecated.boolean
SessionLock.UpwardSubtreeLockCount. hasLock(SessionToken session)
boolean
SessionLock.UUIDLockCount. hasLock(SessionToken session)
Deprecated.boolean
CapabilityChecker. hasOneCapability(SessionToken sessionToken, String... capabilities)
Checks the integrity of the (security token of the) designated session token and returns whether the (security token of the) designated session has at least one of the designated capabilities.boolean
CapabilityChecker. hasOneTopLevelCapability(SessionToken sessionToken, String... capabilities)
Checks the integrity of the (security token of the) top-level session of the designated session token and returns whether the (security token of the) top-level session of the designated session has at least one of the designated capabilities.boolean
SessionFactory. hasTopLevelCapability(SessionToken sessionToken, String capability)
Deprecated.int
SessionLock.AbstractLockCount. increaseAndGetLockCount(SessionToken session)
int
SessionLock.DownwardSubtreeLockCount. increaseAndGetLockCount(SessionToken session)
int
SessionLock.SessionTreePathLockCount. increaseAndGetLockCount(SessionToken session)
Deprecated.int
SessionLock.SubsessionLockCount. increaseAndGetLockCount(SessionToken session)
Deprecated.int
SessionLock.UpwardSubtreeLockCount. increaseAndGetLockCount(SessionToken session)
int
SessionLock.UUIDLockCount. increaseAndGetLockCount(SessionToken session)
Deprecated.protected static boolean
SessionLock. isAncestorOf(UUID ancestorId, int ancestorLevel, SessionToken session)
Gets whether the designated ID belongs to a session token that is an ancestor of the designated session token.boolean
SessionToken. isAncestorSession(SessionToken session)
Gets whether the designated session is a transitive parent session of this session.SessionToken
SessionFactory. unmarshalChildSessionToken(SessionToken parentSession, UUID childSessionID, URI[] callingComponent, Map<String,String> additionalAttributes)
Unmarshalls a child session token having the designated attributes and the designated parent session.Constructor parameters in de.aristaflow.adept2.base.sessionmanagement with type arguments of type SessionToken Constructor Description AbstractLockCount(Function<SessionToken,UUID> idFunction)
Creates a newLockCountManager
for session tokens with an equality based on the session IDs provided by the designated function.SessionLock(LockCountManager<SessionToken> writeLockCountManager, LockCountManager<SessionToken> readLockCountManager, LockNotification<SessionToken> notification, Logger logger)
Creates either a new exclusive lock or a new read/write-lock and using theLockCountManager
for counting locks as well as comparing objects.SessionLock(LockCountManager<SessionToken> writeLockCountManager, LockCountManager<SessionToken> readLockCountManager, LockNotification<SessionToken> notification, Logger logger)
Creates either a new exclusive lock or a new read/write-lock and using theLockCountManager
for counting locks as well as comparing objects.SessionLock(LockCountManager<SessionToken> lockCountManager, LockNotification<SessionToken> notification, Logger logger)
Creates a new exclusive lock using the designatedLockCountManager
for counting locks as well as comparing objects.SessionLock(LockCountManager<SessionToken> lockCountManager, LockNotification<SessionToken> notification, Logger logger)
Creates a new exclusive lock using the designatedLockCountManager
for counting locks as well as comparing objects.SessionLock(LockCountManager<SessionToken> lockCountManager, Logger logger)
Creates a new exclusive lock using the designatedLockCountManager
for counting locks as well as comparing objects.SessionLock(Class<? extends LockCountManager<SessionToken>> lockCountManager, boolean exclusive, LockNotification<SessionToken> notification, Logger logger)
Creates either a new exclusive lock or a new read/write-lock and using the designatedLockCountManager
for counting locks as well as comparing objects.SessionLock(Class<? extends LockCountManager<SessionToken>> lockCountManager, boolean exclusive, LockNotification<SessionToken> notification, Logger logger)
Creates either a new exclusive lock or a new read/write-lock and using the designatedLockCountManager
for counting locks as well as comparing objects.SessionLock(Class<? extends LockCountManager<SessionToken>> lockCountManager, boolean exclusive, Logger logger)
Creates either a new exclusive lock or a new read/write-lock and using the designatedLockCountManager
for counting locks as well as comparing sessions. -
Uses of SessionToken in de.aristaflow.adept2.core.activityrepository
Methods in de.aristaflow.adept2.core.activityrepository with parameters of type SessionToken Modifier and Type Method Description void
IconManager. addDevelopmentIcon(SessionToken session, UUID iconID, byte[] icon, long branch)
Adds the designated icon dimension to the designated icon in the designated branch and sets itIN_DEVELOPMENT
if not done yet.CheckReport
RevisionManager. checkBranch(SessionToken session, long branch, Locale... locales)
Checks the designated branch for inheritance conflicts.Branch
RevisionManager. createBranch(SessionToken session, String comment)
Creates a new branch with the designated comment.static void
CopyPasteTools. deepCopyECD(SessionToken session, ActivityRepository rep, ActivityModelFactory amf, String oldName, String newName, long branch)
This tool method will search the activity repository for the child operations of the executable component description (ECD) with the previous name and copy them to the ECD with the new name.static void
CopyPasteTools. deepCopyOperation(SessionToken session, ActivityRepository rep, ActivityModelFactory amf, String ecName, String oldName, String newName, long branch)
This tool method will search the activity repository for the child activity template definitions (ATD) of the operation with the previous name and copy them to the operation with the new name.ActivityTemplate
ActivityRepository. getActivityTemplate(SessionToken session, UUID atID)
Gets the activity template (executable component description, operation, activity template definition and optionally a configuration set merged to an appropriate activity template) for the designated ID.ActivityTemplate
ActivityRepository. getActivityTemplateRevision(SessionToken session, String ecName, String operationName, String atdName, long revision)
Gets the designated revision (independent from its state) of the designated activity template (executable component description, operation, activity template definition and optionally a configuration set merged to an appropriate activity template).Collection<Branch>
RevisionManager. getAllBranches(SessionToken session)
Gets all branches that are currently in use by this manager.RemoteIterator<List<Branch>>
RevisionManager. getAllBranchesIterator(SessionToken session)
The same asRevisionManager.getAllBranches(SessionToken)
but with partial retrieval of the branches.ATDReference
ActivityTemplateDefinitionManager. getATDReference(SessionToken session, UUID atID)
Gets a lightweight object representing the revision of the activity model branch having the designated ID.List<ATDReference>
ActivityTemplateDefinitionManager. getATDReferenceRevisions(SessionToken session, String ecName, String operationName, String atdName)
Gets lightweight objects representing all revisions of the designated activity template definition or an empty list in case there are no revisions yet.RemoteIterator<List<ATDReference>>
ActivityTemplateDefinitionManager. getATDReferenceRevisionsIterator(SessionToken session, String ecName, String operationName, String atdName)
The same asActivityTemplateDefinitionManager.getATDReferenceRevisions(SessionToken, String, String, String)
but with partial retrieval of the references.Collection<ATDReference>
ActivityTemplateDefinitionManager. getATDReferencesRevisionOfCS(SessionToken session, String csName, long revision)
Gets lightweight objects representing all activity template definitions of the designated revision of the designated configuration set known by this manager.RemoteIterator<List<ATDReference>>
ActivityTemplateDefinitionManager. getATDReferencesRevisionOfCSIterator(SessionToken session, String csName, long revision)
The same asActivityTemplateDefinitionManager.getATDReferencesRevisionOfCS(SessionToken, String, long)
but with partial retrieval of the references.Collection<ATDReference>
ActivityTemplateDefinitionManager. getATDReferencesRevisionOfOperation(SessionToken session, String ecName, String operationName, long revision)
Gets lightweight objects representing all activity template definitions of the designated revision of the designated operation known by this manager.RemoteIterator<List<ATDReference>>
ActivityTemplateDefinitionManager. getATDReferencesRevisionOfOperationIterator(SessionToken session, String ecName, String operationName, long revision)
The same asActivityTemplateDefinitionManager.getATDReferencesRevisionOfOperation(SessionToken, String, String, long)
but with partial retrieval of the references.ActivityTemplateDefinition
ActivityTemplateDefinitionManager. getATDRevision(SessionToken session, String ecName, String operationName, String atdName, long revision)
Gets the (full-fledged object representing the) designated revision of the designated activity template definition.Branch
RevisionManager. getBranchData(SessionToken session, long branch)
Gets detailed information on the designated branch, that is, the base revision, the creation time of the branch, the last modification time, the creator and a comment.List<CSReference>
ConfigurationSetManager. getCSReferenceRevisions(SessionToken session, String csName)
Gets lightweight objects representing all revisions of the designated configuration set, an empty list in case there are no revisions yet.RemoteIterator<List<CSReference>>
ConfigurationSetManager. getCSReferenceRevisionsIterator(SessionToken session, String csName)
The same asConfigurationSetManager.getCSReferenceRevisions(SessionToken, String)
but with partial retrieval of the references.Collection<CSReference>
ConfigurationSetManager. getCSReferencesRevision(SessionToken session, long revision)
Gets lightweight objects representing all configuration sets of the designated revision known by this manager.RemoteIterator<List<CSReference>>
ConfigurationSetManager. getCSReferencesRevisionIterator(SessionToken session, long revision)
The same asConfigurationSetManager.getCSReferencesRevision(SessionToken, long)
but with partial retrieval of the references.ConfigurationSet
ConfigurationSetManager. getCSRevision(SessionToken session, String csName, long revision)
Gets the (full-fledged object representing the) designated revision of the designated configuration set.ActivityTemplate
ActivityRepository. getDevelopmentActivityTemplate(SessionToken session, String ecName, String operationName, String atdName, long branch)
Gets the development version of the designated activity template (executable component description, operation, activity template definition and optionally a configuration set merged to an appropriate activity template) in the designated branch.ActivityTemplateDefinition
ActivityTemplateDefinitionManager. getDevelopmentATD(SessionToken session, String ecName, String operationName, String atdName, long branch)
Gets the (full-fledged object representing the) development version of the designated activity template definition in the designated branch.Collection<ATDReference>
ActivityTemplateDefinitionManager. getDevelopmentATDReferencesOfCS(SessionToken session, String csName, long branch)
Gets lightweight objects representing the development versions of all activity template definitions of the designated configuration set in the designated branch known by this manager.RemoteIterator<List<ATDReference>>
ActivityTemplateDefinitionManager. getDevelopmentATDReferencesOfCSIterator(SessionToken session, String csName, long branch)
The same asActivityTemplateDefinitionManager.getDevelopmentATDReferencesOfCS(SessionToken, String, long)
but with partial retrieval of the references.Collection<ATDReference>
ActivityTemplateDefinitionManager. getDevelopmentATDReferencesOfOperation(SessionToken session, String ecName, String operationName, long branch)
Gets lightweight objects representing the development versions of all activity template definitions of the designated operation in the designated branch known by this manager.RemoteIterator<List<ATDReference>>
ActivityTemplateDefinitionManager. getDevelopmentATDReferencesOfOperationIterator(SessionToken session, String ecName, String operationName, long branch)
The same asActivityTemplateDefinitionManager.getDevelopmentATDReferencesOfOperation(SessionToken, String, String, long)
but with partial retrieval of the references.ConfigurationSet
ConfigurationSetManager. getDevelopmentCS(SessionToken session, String csName, long branch)
Gets the (full-fledged object representing the) development version of the designated configuration set in the designated branch.Collection<CSReference>
ConfigurationSetManager. getDevelopmentCSReferences(SessionToken session, long branch)
Gets lightweight objects representing the development versions of all configuration sets in the designated branch known by this manager.RemoteIterator<List<CSReference>>
ConfigurationSetManager. getDevelopmentCSReferencesIterator(SessionToken session, long branch)
The same asConfigurationSetManager.getCSRevision(SessionToken, String, long)
but with partial retrieval of the references.ExecutableComponentDescription
ExecutableComponentDescriptionManager. getDevelopmentECD(SessionToken session, String ecName, long branch)
Gets the (full-fledged object representing the) development version of the designated executable component description in the designated branch.Collection<ECDReference>
ExecutableComponentDescriptionManager. getDevelopmentECDReferences(SessionToken session, long branch)
Gets lightweight objects representing the development versions of all executable component descriptions in the designated branch known by this manager.RemoteIterator<List<ECDReference>>
ExecutableComponentDescriptionManager. getDevelopmentECDReferencesIterator(SessionToken session, long branch)
The same asExecutableComponentDescriptionManager.getDevelopmentECDReferences(SessionToken, long)
but with partial retrieval of the references.byte[]
IconManager. getDevelopmentIcon(SessionToken session, UUID iconID, IconDescriptor.Dimension dimension, long branch)
Gets the designated dimension of the development version of the designated icon in the designated branch.ChangeableIconDescriptor
IconManager. getDevelopmentIconDescriptor(SessionToken session, UUID iconID, long branch)
Gets the development version of the icon descriptors for the designated icon ID in the designated branch.Collection<ChangeableIconDescriptor>
IconManager. getDevelopmentIconDescriptors(SessionToken session, long branch)
Gets the development versions of all icon descriptors in the designated branch known by this manager.RemoteIterator<List<ChangeableIconDescriptor>>
IconManager. getDevelopmentIconDescriptorsIterator(SessionToken session, long branch)
The same asIconManager.getDevelopmentIconDescriptors(SessionToken, long)
but with partial retrieval of the descriptors.Identifier
IdentifierManager. getDevelopmentIdentifier(SessionToken session, UUID identifierID, long branch)
Gets the development version of the designated identifier in the designated branch.Collection<Identifier>
IdentifierManager. getDevelopmentIdentifiers(SessionToken session, long branch)
Gets the development versions of all identifiers in the designated branch known by this manager.RemoteIterator<List<Identifier>>
IdentifierManager. getDevelopmentIdentifiersIterator(SessionToken session, long branch)
The same asIdentifierManager.getDevelopmentIdentifiers(SessionToken, long)
but with partial retrieval of the identifiers.Operation
OperationManager. getDevelopmentOperation(SessionToken session, String ecName, String operationName, long branch)
Gets the (full-fledged object representing the) development version of the designated operation in the designated branch.Collection<OperationReference>
OperationManager. getDevelopmentOperationReferencesOfECD(SessionToken session, String ecName, long branch)
Gets lightweight objects representing the development versions of all operations of the designated executable component description in the designated branch known by this manager.RemoteIterator<List<OperationReference>>
OperationManager. getDevelopmentOperationReferencesOfECDIterator(SessionToken session, String ecName, long branch)
The same asOperationManager.getDevelopmentOperationReferencesOfECD(SessionToken, String, long)
but with partial retrieval of the references.byte[]
ResourceManager. getDevelopmentResource(SessionToken session, UUID resourceID, long branch)
Gets the development version of the designated resource in the designated branch.ChangeableResourceDescriptor
ResourceManager. getDevelopmentResourceDescriptor(SessionToken session, UUID resourceID, long branch)
Gets the development version of the resource descriptors for the designated resource ID in the designated branch.Collection<ChangeableResourceDescriptor>
ResourceManager. getDevelopmentResourceDescriptors(SessionToken session, long branch)
Gets the development versions of all resource descriptors in the designated branch known by this manager.RemoteIterator<List<ChangeableResourceDescriptor>>
ResourceManager. getDevelopmentResourceDescriptorsIterator(SessionToken session, long branch)
The same asResourceManager.getDevelopmentResourceDescriptors(SessionToken, long)
but with partial retrieval of the descriptors.List<ECDReference>
ExecutableComponentDescriptionManager. getECDReferenceRevisions(SessionToken session, String ecName)
Gets lightweight objects representing all revisions of the designated executable component description or an empty list in case there are no revisions yet.RemoteIterator<List<ECDReference>>
ExecutableComponentDescriptionManager. getECDReferenceRevisionsIterator(SessionToken session, String ecName)
The same asExecutableComponentDescriptionManager.getECDReferenceRevisions(SessionToken, String)
but with partial retrieval of the references.Collection<ECDReference>
ExecutableComponentDescriptionManager. getECDReferencesRevision(SessionToken session, long revision)
Gets lightweight objects representing all executable component descriptions of the designated revision known by this manager.RemoteIterator<List<ECDReference>>
ExecutableComponentDescriptionManager. getECDReferencesRevisionIterator(SessionToken session, long revision)
The same asExecutableComponentDescriptionManager.getECDReferencesRevision(SessionToken, long)
but with partial retrieval of the references.ExecutableComponentDescription
ExecutableComponentDescriptionManager. getECDRevision(SessionToken session, String ecName, long revision)
Gets the (full-fledged object representing the) designated revision of the designated executable component description.IconDescriptor
IconManager. getIconDescriptorRevision(SessionToken session, UUID iconID, long revision)
Gets the designated revision of the designated icon descriptor.List<IconDescriptor>
IconManager. getIconDescriptorRevisions(SessionToken session, UUID iconID)
Gets all revisions of the designated icon descriptor or an empty list in case there are no revisions yet.RemoteIterator<List<IconDescriptor>>
IconManager. getIconDescriptorRevisionsIterator(SessionToken session, UUID iconID)
The same asIconManager.getIconDescriptorRevisions(SessionToken, UUID)
but with partial retrieval of the descriptors.Collection<IconDescriptor>
IconManager. getIconDescriptorsRevision(SessionToken session, long revision)
Gets all icon descriptors of the designated revision known by this manager.RemoteIterator<List<IconDescriptor>>
IconManager. getIconDescriptorsRevisionIterator(SessionToken session, long revision)
The same asIconManager.getIconDescriptorsRevision(SessionToken, long)
but with partial retrieval of the descriptors.byte[]
IconManager. getIconRevision(SessionToken session, UUID iconID, IconDescriptor.Dimension dimension, long revision)
Gets the designated revision and the designated dimension (index of correspondingdimension array
) of the designated icon.Identifier
IdentifierManager. getIdentifierRevision(SessionToken session, UUID identifierID, long revision)
Gets the designated revision of the designated identifier.List<Identifier>
IdentifierManager. getIdentifierRevisions(SessionToken session, UUID identifierID)
Gets all revisions of the designated identifier or an empty list in case there are no revisions yet.RemoteIterator<List<Identifier>>
IdentifierManager. getIdentifierRevisionsIterator(SessionToken session, UUID identifierID)
The same asIdentifierManager.getIdentifierRevisions(SessionToken, UUID)
but with partial retrieval of the identifiers.Collection<Identifier>
IdentifierManager. getIdentifiersRevision(SessionToken session, long revision)
Gets all identifiers the designated revision known by this manager.RemoteIterator<List<Identifier>>
IdentifierManager. getIdentifiersRevisionIterator(SessionToken session, long revision)
The same asIdentifierManager.getIdentifiersRevision(SessionToken, long)
but with partial retrieval of the identifiers.ActivityTemplate
ActivityRepository. getLatestActivityTemplate(SessionToken session, String ecName, String operationName, String atdName)
Gets the latest revision (independent from its state) of the designated activity template (executable component description, operation, activity template definition and optionally a configuration set merged to an appropriate activity template).ActivityTemplateDefinition
ActivityTemplateDefinitionManager. getLatestATD(SessionToken session, String ecName, String operationName, String atdName)
Gets the (full-fledged object representing the) latest revision of the designated activity template definition.ATDReference
ActivityTemplateDefinitionManager. getLatestATDReference(SessionToken session, String ecName, String operationName, String atdName)
Gets a lightweight object representing the latest revision of the designated activity template definition.Collection<ATDReference>
ActivityTemplateDefinitionManager. getLatestATDReferencesOfCS(SessionToken session, String csName, boolean productionOnly)
Gets lightweight objects representing the latest revisions (IN_PRODUCTION
and/orOUTDATED
) of all activity template definitions of the designated configuration set known by this manager.RemoteIterator<List<ATDReference>>
ActivityTemplateDefinitionManager. getLatestATDReferencesOfCSIterator(SessionToken session, String csName, boolean productionOnly)
The same asActivityTemplateDefinitionManager.getLatestATDReferencesOfCS(SessionToken, String, boolean)
but with partial retrieval of the references.Collection<ATDReference>
ActivityTemplateDefinitionManager. getLatestATDReferencesOfOperation(SessionToken session, String ecName, String operationName, boolean productionOnly)
Gets lightweight objects representing the latest revisions (IN_PRODUCTION
and/orOUTDATED
) of all activity template definitions of the designated operation known by this manager.RemoteIterator<List<ATDReference>>
ActivityTemplateDefinitionManager. getLatestATDReferencesOfOperationIterator(SessionToken session, String ecName, String operationName, boolean productionOnly)
The same asActivityTemplateDefinitionManager.getLatestATDReferencesOfOperation(SessionToken, String, String, boolean)
but with partial retrieval of the references.ConfigurationSet
ConfigurationSetManager. getLatestCS(SessionToken session, String csName)
Gets the (full-fledged object representing the) latest revision of the designated configuration set.CSReference
ConfigurationSetManager. getLatestCSReference(SessionToken session, String csName)
Gets a lightweight object representing the latest revision of the designated configuration set.Collection<CSReference>
ConfigurationSetManager. getLatestCSReferences(SessionToken session, boolean productionOnly)
Gets lightweight objects representing the latest revisions (IN_PRODUCTION
and/orOUTDATED
) of all configuration sets known by this manager.RemoteIterator<List<CSReference>>
ConfigurationSetManager. getLatestCSReferencesIterator(SessionToken session, boolean productionOnly)
The same asConfigurationSetManager.getLatestCSReferences(SessionToken, boolean)
but with partial retrieval of the references.ExecutableComponentDescription
ExecutableComponentDescriptionManager. getLatestECD(SessionToken session, String ecName)
Gets the (full-fledged object representing the) latest revision of the designated executable component description.ECDReference
ExecutableComponentDescriptionManager. getLatestECDReference(SessionToken session, String ecName)
Gets a lightweight object representing the latest revision of the designated executable component description.Collection<ECDReference>
ExecutableComponentDescriptionManager. getLatestECDReferences(SessionToken session, boolean productionOnly)
Gets lightweight objects representing the latest revisions (IN_PRODUCTION
and/orOUTDATED
) of all executable component descriptions known by this manager.RemoteIterator<List<ECDReference>>
ExecutableComponentDescriptionManager. getLatestECDReferencesIterator(SessionToken session, boolean productionOnly)
The same asExecutableComponentDescriptionManager.getLatestECDReferences(SessionToken, boolean)
but with partial retrieval of the references.byte[]
IconManager. getLatestIcon(SessionToken session, UUID iconID, IconDescriptor.Dimension dimension)
Gets the (latest revision of the) designated icon (in PNG-format).IconDescriptor
IconManager. getLatestIconDescriptor(SessionToken session, UUID iconID)
Gets the latest revision of the designated icon descriptor.Collection<IconDescriptor>
IconManager. getLatestIconDescriptors(SessionToken session, boolean productionOnly)
Gets the latest revisions (IN_PRODUCTION
and/orOUTDATED
) of all icon descriptors known by this manager.RemoteIterator<List<IconDescriptor>>
IconManager. getLatestIconDescriptorsIterator(SessionToken session, boolean productionOnly)
The same asIconManager.getLatestIconDescriptors(SessionToken, boolean)
but with partial retrieval of the descriptors.Identifier
IdentifierManager. getLatestIdentifier(SessionToken session, UUID identifierID)
Gets the latest revision of the designated identifier.Collection<Identifier>
IdentifierManager. getLatestIdentifiers(SessionToken session, boolean productionOnly)
Gets the latest revisions (IN_PRODUCTION
and/orOUTDATED
) of all identifiers known by this manager.RemoteIterator<List<Identifier>>
IdentifierManager. getLatestIdentifiersIterator(SessionToken session, boolean productionOnly)
The same asIdentifierManager.getLatestIdentifiers(SessionToken, boolean)
but with partial retrieval of the identifiers.Operation
OperationManager. getLatestOperation(SessionToken session, String ecName, String operationName)
Gets the (full-fledged object representing the) latest revision of the designated operation.OperationReference
OperationManager. getLatestOperationReference(SessionToken session, String ecName, String operationName)
Gets a lightweight object representing the latest revision of the designated operation.Collection<OperationReference>
OperationManager. getLatestOperationReferencesOfECD(SessionToken session, String ecName, boolean productionOnly)
Gets lightweight objects representing the latest revisions (IN_PRODUCTION
and/orOUTDATED
) of all operations of the designated executable component description known by this manager.RemoteIterator<List<OperationReference>>
OperationManager. getLatestOperationReferencesOfECDIterator(SessionToken session, String ecName, boolean productionOnly)
The same asOperationManager.getLatestOperationReferencesOfECD(SessionToken, String, boolean)
but with partial retrieval of the references.byte[]
ResourceManager. getLatestResource(SessionToken session, UUID resourceID)
Gets the (latest revision of the) designated resource.ResourceDescriptor
ResourceManager. getLatestResourceDescriptor(SessionToken session, UUID resourceID)
Gets the latest revision of the designated resource descriptor.Collection<ResourceDescriptor>
ResourceManager. getLatestResourceDescriptors(SessionToken session, boolean productionOnly)
Gets the latest revisions (IN_PRODUCTION
and/orOUTDATED
) of all resource descriptors known by this manager.RemoteIterator<List<ResourceDescriptor>>
ResourceManager. getLatestResourceDescriptorsIterator(SessionToken session, boolean productionOnly)
The same asResourceManager.getLatestResourceDescriptors(SessionToken, boolean)
but with partial retrieval of the descriptors.ServerStream
ResourceManager. getLatestResourceIncrementally(SessionToken session, UUID resourceID)
Gets the (latest revision of the) designated resource asServerStream
.Revision
RevisionManager. getLatestRevision(SessionToken session)
Gets detailed information on the latest revision of this activity repository.List<OperationReference>
OperationManager. getOperationReferenceRevisions(SessionToken session, String ecName, String operationName)
Gets lightweight objects representing all revisions of the designated operation or an empty list in case there are no revisions yet.RemoteIterator<List<OperationReference>>
OperationManager. getOperationReferenceRevisionsIterator(SessionToken session, String ecName, String operationName)
The same asOperationManager.getOperationReferenceRevisions(SessionToken, String, String)
but with partial retrieval of the references.Collection<OperationReference>
OperationManager. getOperationReferencesRevisionOfECD(SessionToken session, String ecName, long revision)
Gets lightweight objects representing all operations of the designated revision of the designated executable component description known by this manager.RemoteIterator<List<OperationReference>>
OperationManager. getOperationReferencesRevisionOfECDIterator(SessionToken session, String ecName, long revision)
The same asOperationManager.getOperationReferencesRevisionOfECD(SessionToken, String, long)
but with partial retrieval of the references.Operation
OperationManager. getOperationRevision(SessionToken session, String ecName, String operationName, long revision)
Gets the (full-fledged object representing the) designated revision of the designated operation.ResourceDescriptor
ResourceManager. getResourceDescriptorRevision(SessionToken session, UUID resourceID, long revision)
Gets the designated revision of the designated resource descriptor.List<ResourceDescriptor>
ResourceManager. getResourceDescriptorRevisions(SessionToken session, UUID resourceID)
Gets all revisions of the designated resource descriptor or an empty list in case there are no revisions yet.RemoteIterator<List<ResourceDescriptor>>
ResourceManager. getResourceDescriptorRevisionsIterator(SessionToken session, UUID resourceID)
The sameResourceManager.getResourceDescriptorRevisions(SessionToken, UUID)
but with partial retrieval of the descriptors.Collection<ResourceDescriptor>
ResourceManager. getResourceDescriptorsRevision(SessionToken session, long revision)
Gets all resource descriptors of the designated revision known by this manager.RemoteIterator<List<ResourceDescriptor>>
ResourceManager. getResourceDescriptorsRevisionIterator(SessionToken session, long revision)
The same asResourceManager.getResourceDescriptorsRevision(SessionToken, long)
but with partial retrieval of the descriptors.byte[]
ResourceManager. getResourceRevision(SessionToken session, UUID resourceID, long revision)
Gets the designated revision of the designated resource.ServerStream
ResourceManager. getResourceRevisionIncrementally(SessionToken session, UUID resourceID, long revision)
Gets the designated revision of the designated resource asServerStream
.Revision
RevisionManager. getRevisionData(SessionToken session, long revision)
Gets detailed information on the designated revision, that is, the creation time of the revision, the creator and a comment.void
ActivityTemplateDefinitionManager. importDevelopmentATD(SessionToken session, StorageActivityTemplateDefinition atd, long branch)
Imports the designated (storage representation of the) activity template definition as retrieved from an external ACB-file into the designated branch.void
ActivityTemplateDefinitionManager. outdateATD(SessionToken session, String ecName, String operationName, String atdName)
Outdates the latest revision of the designated activity template definition explicitly which prevents its usage afterwards.void
ConfigurationSetManager. outdateCS(SessionToken session, String csName)
Outdates the latest revision of the designated configuration set explicitly which prevents its usage afterwards.void
ExecutableComponentDescriptionManager. outdateECD(SessionToken session, String ecName)
Outdates the latest revision of the designated executable component description explicitly which prevents its usage afterwards.void
IconManager. outdateIcon(SessionToken session, UUID iconID)
Outdates the latest revision of the designated icon explicitly which prevents its usage afterwards.void
IdentifierManager. outdateIdentifier(SessionToken session, UUID identifierID)
Outdates the latest revision of the designated identifier explicitly which prevents its usage afterwards.void
OperationManager. outdateOperation(SessionToken session, String ecName, String operationName)
Outdates the latest revision of the designated operation explicitly which prevents its usage afterwards.void
ResourceManager. outdateResource(SessionToken session, UUID resourceID)
Outdates the latest revision of the designated resource explicitly which prevents its usage afterwards.void
RevisionManager. releaseBranch(SessionToken session, long branch, String comment)
Releases the designated branch and creates a new production revision which will set all former revisions to outdated.void
RevisionManager. removeBranch(SessionToken session, long branch)
Removes the branch by completely dropping all changes.void
IconManager. removeDevelopmentIcon(SessionToken session, UUID iconID, IconDescriptor.Dimension dimension, long branch)
Removes the designated icon dimension from the designated branch.void
ActivityTemplateDefinitionManager. revertDevelopmentATD(SessionToken session, String ecName, String operationName, String atdName, long branch)
Reverts the designated development activity template definition in the designated branch that is all changes will be undone and the activity template definition will logically be the same as the base revision of the branch.void
ConfigurationSetManager. revertDevelopmentCS(SessionToken session, String csName, long branch)
Reverts the designated development configuration set in the designated branch that is all changes will be undone and the configuration set will logically be the same as the base revision of the branch.void
ExecutableComponentDescriptionManager. revertDevelopmentECD(SessionToken session, String ecName, long branch)
Reverts the designated development executable component description in the designated branch that is all changes will be undone and the executable component description will logically be the same as the base revision of the branch.void
IconManager. revertDevelopmentIcon(SessionToken session, UUID iconID, long branch)
Reverts the designated development icon (and its descriptor) in the designated branch that is all changes will be undone and the icon will logically be the same as the base revision of the branch.void
IdentifierManager. revertDevelopmentIdentifier(SessionToken session, UUID identifierID, long branch)
Reverts the designated development identifier in the designated branch that is all changes will be undone and the identifier will logically be the same as the base revision of the branch.void
OperationManager. revertDevelopmentOperation(SessionToken session, String ecName, String operationName, long branch)
Reverts the designated development operation in the designated branch that is all changes will be undone and the operation will logically be the same as the base revision of the branch.void
ResourceManager. revertDevelopmentResource(SessionToken session, UUID resourceID, long branch)
Reverts the designated development resource (and its descriptor) in the designated branch that is all changes will be undone and the resource will logically be the same as the base revision of the branch.CheckReport
ActivityTemplateDefinitionManager. simulateUpdateOfDevelopmentATD(SessionToken session, String ecName, String operationName, String atdName, long branch)
Simulates updating of the designated activity template definition in the designated branch, that is only the designated activity template definition of the branch is checked for whether it can be updated to the latest revision.CheckReport
ConfigurationSetManager. simulateUpdateOfDevelopmentCS(SessionToken session, String csName, long branch)
Simulates updating of the designated configuration set in the designated branch, that is only the designated configuration set of the branch is checked for whether it can be updated to the latest revision.CheckReport
ExecutableComponentDescriptionManager. simulateUpdateOfDevelopmentECD(SessionToken session, String ecName, long branch)
Simulates updating of the designated executable component description in the designated branch, that is only the designated executable component description of the branch is checked for whether it can be updated to the latest revision.CheckReport
IconManager. simulateUpdateOfDevelopmentIcon(SessionToken session, UUID iconID, long branch)
Simulates updating of the designated icon (and its descriptor) in the designated branch, that is only the designated icon of the branch is checked for whether it can be updated to the latest revision.CheckReport
IdentifierManager. simulateUpdateOfDevelopmentIdentifier(SessionToken session, UUID identifierID, long branch)
Simulates updating of the designated identifier in the designated branch, that is only the designated identifier of the branch is checked for whether it can be updated to the latest revision.CheckReport
OperationManager. simulateUpdateOfDevelopmentOperation(SessionToken session, String ecName, String operationName, long branch)
Simulates updating of the designated operation in the designated branch, that is only the designated operation of the branch is checked for whether it can be updated to the latest revision.CheckReport
ResourceManager. simulateUpdateOfDevelopmentResource(SessionToken session, UUID resourceID, long branch)
Simulates updating of the designated resource (and its descriptor) in the designated branch, that is only the designated resource of the branch is checked for whether it can be updated to the latest revision.void
ActivityTemplateDefinitionManager. storeDevelopmentATD(SessionToken session, StorageActivityTemplateDefinition atd, long branch)
Stores the designated (storage representation of the) activity template definition in the designated branch and sets itIN_DEVELOPMENT
if not done yet.void
ConfigurationSetManager. storeDevelopmentCS(SessionToken session, StorageConfigurationSet cs, long branch)
Stores the designated (storage representation of the) configuration set in the designated branch and sets itIN_DEVELOPMENT
if not done yet.void
ExecutableComponentDescriptionManager. storeDevelopmentECD(SessionToken session, StorageExecutableComponentDescription ecd, long branch)
Stores the designated (storage representation of the) executable component description in the designated branch and sets itIN_DEVELOPMENT
if not done yet.void
IconManager. storeDevelopmentIconDescriptor(SessionToken session, IconDescriptor iconDescriptor, long branch)
Stores the designated icon descriptor in the designated branch and sets itIN_DEVELOPMENT
if not done yet.void
IdentifierManager. storeDevelopmentIdentifier(SessionToken session, Identifier identifier, long branch)
Stores the designated identifier in the designated branch and sets itIN_DEVELOPMENT
if not done yet.void
OperationManager. storeDevelopmentOperation(SessionToken session, StorageOperation operation, long branch)
Stores the designated (storage representation of the) operation in the designated branch and sets itIN_DEVELOPMENT
if not done yet.void
ResourceManager. storeDevelopmentResourceDescriptor(SessionToken session, ResourceDescriptor resourceDescriptor, byte[] resource, long branch)
Stores the designated resource descriptor in the designated branch and sets itIN_DEVELOPMENT
if not done yet.CheckReport
RevisionManager. updateBranch(SessionToken session, long branch, boolean force, Locale... locales)
Updates the designated branch, that is, all changes made to the production revisions since creating or last updating the branch will be incorporated in the branch. -
Uses of SessionToken in de.aristaflow.adept2.core.changeoperations
Methods in de.aristaflow.adept2.core.changeoperations with parameters of type SessionToken Modifier and Type Method Description static DataEdge
ChangeOperationTools. createSimpleDataEdgeObject(SessionToken session, ActivityConstants.AccessType type)
Creates a simple DataEdge container Objectstatic DataElement
ChangeOperationTools. createSimpleDataElementObject(SessionToken session, String name, ProcessConstants.AdeptDataType type)
Creates a simple DataElement container objectstatic Edge
ChangeOperationTools. createSimpleEdgeObject(SessionToken session, ProcessConstants.EdgeType type)
Creates a simple edge container object of the given typestatic Node
ChangeOperationTools. createSimpleNodeObject(SessionToken session)
Creates a simple node container objectstatic ProcessModelParameter
ChangeOperationTools. createSimpleProcessParameterObject(SessionToken session, String name, ProcessConstants.AdeptDataType type, String userDefinedType, boolean isVirtual, UUID identifierID, boolean isInputParameter)
Creates a simple process (in-/out-) parameter.static Activity
ConvertActivityTemplateToActivity. performConversion(ProcessModelFactory pmf, SessionToken session, ActivityTemplate at, String instanceName)
converts an activity template to an activitystatic void
AddNodeSystemParameter. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, ActivityConstants.AccessType type, ProcessModelParameter parameter)
Adds the given system parameter to the given node in the given instance.static void
AddNodeSystemParameter. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, ActivityConstants.AccessType type, ProcessModelParameter parameter, UpdateManager updateManager)
Adds the given system parameter to the given node in the given instance.static void
AddNodeSystemParameter. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, ActivityConstants.AccessType type, ProcessModelParameter parameter)
Adds the given system parameter to the given node in the given template.static void
AddNodeSystemParameter. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, ActivityConstants.AccessType type, ProcessModelParameter parameter, UpdateManager updateManager)
Adds the given system parameter to the given node in the given template.protected static void
AddNodeSystemParameter. performOperation(SessionToken session, ChangePrimitives processGraph, int nodeID, ActivityConstants.AccessType type, ProcessModelParameter parameter, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
AddSystemDataFlow. performOperation(SessionToken session, ChangeableInstance instance, int producerNodeID, SystemDataProducer systemDataType, int consumerNodeID, String inputParameterName)
Adds a system data flow of the given type between the given nodes in the given instance.static void
AddSystemDataFlow. performOperation(SessionToken session, ChangeableInstance instance, int producerNodeID, SystemDataProducer systemDataType, int consumerNodeID, String inputParameterName, UpdateManager updateManager)
Adds a system data flow of the given type between the given nodes in the given instance.static void
AddSystemDataFlow. performOperation(SessionToken session, ChangeableTemplate template, int producerNodeID, SystemDataProducer systemDataType, int consumerNodeID, String inputParameterName)
Adds a system data flow of the given type between the given nodes.static void
AddSystemDataFlow. performOperation(SessionToken session, ChangeableTemplate template, int producerNodeID, SystemDataProducer systemDataType, int consumerNodeID, String inputParameterName, UpdateManager updateManager)
Adds a system data flow of the given type between the given nodes.protected static void
AddSystemDataFlow. performOperation(SessionToken session, ChangePrimitives processGraph, int producerNodeID, SystemDataProducer systemDataType, int consumerNodeID, String inputParameterName, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
AssignEmptyEmbeddedSubprocess. performOperation(SessionToken session, ChangeableInstance instance, int nodeID)
Creates and assigns an empty embedded subprocess to a node in the given instance.static void
AssignEmptyEmbeddedSubprocess. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, UpdateManager updateManager)
Creates and assigns an empty embedded subprocess to a node in the given instance (with updateManager).static void
AssignEmptyEmbeddedSubprocess. performOperation(SessionToken session, ChangeableTemplate template, int nodeID)
Creates and assigns an empty embedded subprocess to a node in the given template.static void
AssignEmptyEmbeddedSubprocess. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, UpdateManager updateManager)
Creates and assigns an empty embedded subprocess to a node in the given template (with updateManager).protected static void
AssignEmptyEmbeddedSubprocess. performOperation(SessionToken session, ChangePrimitives processGraph, int nodeID, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
AssignExecutableBusinessProcess. performOperation(SessionToken session, ChangeableInstance instance, Node node, ExecutableBusinessProcess ebp, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements)
Assigns an executable business process to a node in the given instance using the given maps to create a correct mapping between parameters and dataElements via connectors.static void
AssignExecutableBusinessProcess. performOperation(SessionToken session, ChangeableInstance instance, Node node, ExecutableBusinessProcess ebp, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements, UpdateManager updateManager)
Assigns an executable business process to a node in the given instance using the given maps to create a correct mapping between parameters and dataElements via connectors (with updateManager).static void
AssignExecutableBusinessProcess. performOperation(SessionToken session, ChangeableTemplate template, Node node, ExecutableBusinessProcess ebp, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements)
Assigns an executable business process to a node in the given template using the given maps to create a correct mapping between parameters and dataElements via connectors.static void
AssignExecutableBusinessProcess. performOperation(SessionToken session, ChangeableTemplate template, Node node, ExecutableBusinessProcess ebp, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements, UpdateManager updateManager)
Assigns an executable business process to a node in the given template using the given maps to create a correct mapping between parameters and dataElements via connectors (with updateManager).protected static void
AssignExecutableBusinessProcess. performOperation(SessionToken session, ChangePrimitives processGraph, Node node, ExecutableBusinessProcess ebp, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static int
CopyNode. performOperation(SessionToken session, ChangeableInstance sourceInstance, ChangeableInstance targetInstance, int nodeToCopyID, int predID, int succID)
Copies the given node from the source instance between the two nodes in the target instance.static int
CopyNode. performOperation(SessionToken session, ChangeableInstance sourceInstance, ChangeableInstance targetInstance, int nodeToCopyID, int predID, int succID, UpdateManager updateManager)
Copies the given node from the source instance between the two nodes in the target instance.static int
CopyNode. performOperation(SessionToken session, ChangeableTemplate sourceTemplate, ChangeableTemplate targetTemplate, int nodeToCopyID, int predID, int succID)
Copies the given node from the source template between the two nodes in the target template.static int
CopyNode. performOperation(SessionToken session, ChangeableTemplate sourceTemplate, ChangeableTemplate targetTemplate, int nodeToCopyID, int predID, int succID, UpdateManager updateManager)
Copies the given node from the source template between the two nodes in the target template.protected static int
CopyNode. performOperation(SessionToken session, ChangePrimitives sourceProcessGraph, ChangePrimitives targetProcessGraph, int nodeToCopyID, int predID, int succID, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static Node[]
CreateSurroundingBlock. performOperation(SessionToken session, ChangeableInstance instance, Node first, Node last, ProcessConstants.BlockType type)
Inserts a new block of the given type around the two given nodes in the given instance.static Node[]
CreateSurroundingBlock. performOperation(SessionToken session, ChangeableInstance instance, Node first, Node last, ProcessConstants.BlockType type, UpdateManager updateManager)
Inserts a new block of the given type around the two given nodes in the given instance (with updateManager).static Node[]
CreateSurroundingBlock. performOperation(SessionToken session, ChangeableTemplate template, Node first, Node last, ProcessConstants.BlockType type)
Inserts a new block of the given type around the two given nodes in the given template.static Node[]
CreateSurroundingBlock. performOperation(SessionToken session, ChangeableTemplate template, Node first, Node last, ProcessConstants.BlockType type, UpdateManager updateManager)
Inserts a new block of the given type around the two given nodes in the given template (with updateManager).protected static Node[]
CreateSurroundingBlock. performOperation(SessionToken session, ChangePrimitives processGraph, Node first, Node last, ProcessConstants.BlockType type, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
DeleteBorderNodes. performOperation(SessionToken session, ChangeableInstance instance, Node split, Node join)
Deletes a split and its corresponding join node (border nodes) from the given instance.static void
DeleteBorderNodes. performOperation(SessionToken session, ChangeableInstance instance, Node split, Node join, UpdateManager updateManager)
Deletes a split and its corresponding join node (border nodes) from the given instance (with updateManager).static void
DeleteBorderNodes. performOperation(SessionToken session, ChangeableTemplate template, Node split, Node join)
Deletes a split and its corresponding join node (border nodes) from the given template.static void
DeleteBorderNodes. performOperation(SessionToken session, ChangeableTemplate template, Node split, Node join, UpdateManager updateManager)
Deletes a split and its corresponding join node (border nodes) from the given template (with updateManager).protected static void
DeleteBorderNodes. performOperation(SessionToken session, ChangePrimitives processGraph, Node split, Node join, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
DeleteDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type)
Deletes a data edge form the instance.static void
DeleteDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type, UpdateManager updateManager)
Deletes a data edge form the instance (with updateManager).static void
DeleteDataEdge. performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ActivityConstants.AccessType type)
Deletes a data edge from the template.static void
DeleteDataEdge. performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ActivityConstants.AccessType type, UpdateManager updateManager)
Deletes a data edge from the template (with updateManager).protected static void
DeleteDataEdge. performOperation(SessionToken session, ChangePrimitives processGraph, Node node, DataElement dataElement, ActivityConstants.AccessType type, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
DeleteDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement)
Deletes the given data element from the instance.static void
DeleteDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement, UpdateManager updateManager)
Deletes the given data element from the instance Possibly assigned in- or outgoing data edges are also deleted.static void
DeleteDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement)
Deletes the given data element from the template.static void
DeleteDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement, UpdateManager updateManager)
Deletes the given data element from the template Possibly assigned in- or outgoing data edges are also deleted.protected static void
DeleteDataElement. performOperation(SessionToken session, ChangePrimitives processGraph, DataElement dataElement, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
DeleteNode. performOperation(SessionToken session, ChangeableInstance instance, Node node)
Deletes a node of type NT_NORMAL from the given instance.static void
DeleteNode. performOperation(SessionToken session, ChangeableInstance instance, Node node, UpdateManager updateManager)
Deletes a node of type NT_NORMAL from the given instance (with updateManager).protected static void
DeleteNode. performOperation(SessionToken session, ChangeableInstance instance, Node node, ProcessConstants.NodeType type, UpdateManager updateManager)
Deletes a node of typetype
from the instance.static void
DeleteNode. performOperation(SessionToken session, ChangeableTemplate template, Node node)
Deletes a node of type NT_NORMAL from the given template.static void
DeleteNode. performOperation(SessionToken session, ChangeableTemplate template, Node node, UpdateManager updateManager)
Deletes a node of type NT_NORMAL from the given template (with updateManager).protected static void
DeleteNode. performOperation(SessionToken session, ChangeableTemplate template, Node node, ProcessConstants.NodeType type, UpdateManager updateManager)
Deletes a node of typetype
from the template.protected static void
DeleteNode. performOperation(SessionToken session, ChangePrimitives processGraph, Node node, ProcessConstants.NodeType type, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static Node
InsertBetweenNodeSets. performOperation(SessionToken session, ChangeableInstance instance, List<Integer> preds, List<Integer> succs)
Insert a new node between two nodes in the given instance.static Node
InsertBetweenNodeSets. performOperation(SessionToken session, ChangeableInstance instance, List<Integer> preds, List<Integer> succs, UpdateManager updateManager)
Insert a new node of type NT_NORMAL between two nodes in the given instance.static Node
InsertBetweenNodeSets. performOperation(SessionToken session, ChangeableTemplate template, List<Integer> preds, List<Integer> succs)
Insert a new node between the nodes given as predecessors and the nodes given as successors in the given template.static Node
InsertBetweenNodeSets. performOperation(SessionToken session, ChangeableTemplate template, List<Integer> preds, List<Integer> succs, UpdateManager updateManager)
Insert a new node of type NT_NORMAL between two nodes in the given template.protected static Node
InsertBetweenNodeSets. performOperation(SessionToken session, ChangePrimitives processGraph, List<Integer> preds, List<Integer> succs, ProcessConstants.NodeType type, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
InsertDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type)
Inserts a new data edge in the instance.static void
InsertDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type, UpdateManager updateManager)
Inserts a new data edge in the instance (with update manager).protected static void
InsertDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ProcessModelParameter param, int connectorID, ActivityConstants.AccessType type, UpdateManager updateManager)
Inserts a new data edge in the instance.static void
InsertDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ProcessModelParameter parameter, ActivityConstants.AccessType type)
Inserts a new data edge in the instance.static void
InsertDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ProcessModelParameter parameter, ActivityConstants.AccessType type, UpdateManager updateManager)
Inserts a new data edge in the instance.static void
InsertDataEdge. performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ActivityConstants.AccessType type)
Inserts a new data edge in the template (with update manager).static void
InsertDataEdge. performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ActivityConstants.AccessType type, UpdateManager updateManager)
Inserts a new data edge in the template (with update manager).protected static void
InsertDataEdge. performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ProcessModelParameter param, int connectorID, ActivityConstants.AccessType type, UpdateManager updateManager)
Inserts a new data edge in the template.static void
InsertDataEdge. performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ProcessModelParameter parameter, ActivityConstants.AccessType type)
Inserts a new data edge in the template.static void
InsertDataEdge. performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ProcessModelParameter parameter, ActivityConstants.AccessType type, UpdateManager updateManager)
Inserts a new data edge in the template.protected static void
InsertDataEdge. performOperation(SessionToken session, ChangePrimitives processGraph, Node node, DataElement dataElement, ActivityConstants.AccessType type, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.protected static void
InsertDataEdge. performOperation(SessionToken session, ChangePrimitives processGraph, Node node, DataElement dataElement, ProcessModelParameter param, int connectorID, ActivityConstants.AccessType type, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.protected static void
InsertDataEdge. performOperation(SessionToken session, ChangePrimitives processGraph, Node node, DataElement dataElement, ProcessModelParameter parameter, ActivityConstants.AccessType type, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static DataElement
InsertDataElement. performOperation(SessionToken session, ChangeableInstance instance)
Insert a new data element in the instance.static DataElement
InsertDataElement. performOperation(SessionToken session, ChangeableInstance instance, UpdateManager updateManager)
Insert a new data element in the instance (with updateManager).static DataElement
InsertDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement)
Insert a new data element in the instance.static DataElement
InsertDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement, UpdateManager updateManager)
Insert a new data element in the instance.static DataElement
InsertDataElement. performOperation(SessionToken session, ChangeableTemplate template)
Insert a new data element in the template.static DataElement
InsertDataElement. performOperation(SessionToken session, ChangeableTemplate template, UpdateManager updateManager)
Insert a new data element in the template.static DataElement
InsertDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement)
Insert a new data element in the template.static DataElement
InsertDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement, UpdateManager updateManager)
Insert a new data element in the template.protected static DataElement
InsertDataElement. performOperation(SessionToken session, ChangePrimitives processGraph, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.protected static DataElement
InsertDataElement. performOperation(SessionToken session, ChangePrimitives processGraph, DataElement dataElement, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances (with given dataElement).static Node[]
InsertEmptyBlock. performOperation(SessionToken session, ChangeableInstance instance, Node pred, Node succ, ProcessConstants.BlockType type)
Inserts an empty block of the given type in the instance.static Node[]
InsertEmptyBlock. performOperation(SessionToken session, ChangeableInstance instance, Node pred, Node succ, ProcessConstants.BlockType type, UpdateManager updateManager)
Inserts an empty block of the given type in the instance (with updateManager).static Node[]
InsertEmptyBlock. performOperation(SessionToken session, ChangeableTemplate template, Node pred, Node succ, ProcessConstants.BlockType type)
Inserts an empty block of the given type in the template.static Node[]
InsertEmptyBlock. performOperation(SessionToken session, ChangeableTemplate template, Node pred, Node succ, ProcessConstants.BlockType type, UpdateManager updateManager)
Inserts an empty block of the given type in the template (with updateManager).protected static Node[]
InsertEmptyBlock. performOperation(SessionToken session, ChangePrimitives processGraph, Node pred, Node succ, ProcessConstants.BlockType type, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
InsertEmptyBranch. performOperation(SessionToken session, ChangeableInstance instance, Node split, Node join)
Inserts an empty branch between split and join in the given instance.static void
InsertEmptyBranch. performOperation(SessionToken session, ChangeableInstance instance, Node split, Node join, UpdateManager updateManager)
Inserts an empty branch between split and join in the given instance (with updateManager).static void
InsertEmptyBranch. performOperation(SessionToken session, ChangeableTemplate template, Node split, Node join)
Inserts an empty branch between split and join in the given template.static void
InsertEmptyBranch. performOperation(SessionToken session, ChangeableTemplate template, Node split, Node join, UpdateManager updateManager)
Inserts an empty branch between split and join in the given template (with updateManager).protected static void
InsertEmptyBranch. performOperation(SessionToken session, ChangePrimitives processGraph, Node split, Node join, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static Node
InsertNode. performOperation(SessionToken session, ChangeableInstance instance, Node pred, Node succ)
Insert a new node between two nodes in the given instance.static Node
InsertNode. performOperation(SessionToken session, ChangeableInstance instance, Node pred, Node succ, UpdateManager updateManager)
Insert a new node of type NT_NORMAL between two nodes in the given instance.static Node
InsertNode. performOperation(SessionToken session, ChangeableInstance instance, Node tempNode, Node pred, Node succ)
Insert a new node between two nodes in the given instance.static Node
InsertNode. performOperation(SessionToken session, ChangeableInstance instance, Node tempNode, Node pred, Node succ, UpdateManager updateManager)
Insert a new node of type NT_NORMAL between two nodes in the given instance.protected static Node
InsertNode. performOperation(SessionToken session, ChangeableInstance instance, Node tempNode, Node pred, Node succ, ProcessConstants.NodeType type, UpdateManager updateManager)
Insert a new node of typetype
between two nodes in the given instance.static Node
InsertNode. performOperation(SessionToken session, ChangeableTemplate template, Node pred, Node succ)
Insert a new node between two nodes in the given template.static Node
InsertNode. performOperation(SessionToken session, ChangeableTemplate template, Node pred, Node succ, UpdateManager updateManager)
Insert a new node of type NT_NORMAL between two nodes in the given template.static Node
InsertNode. performOperation(SessionToken session, ChangeableTemplate template, Node tempNode, Node pred, Node succ)
Insert a new node between two nodes in the given template.static Node
InsertNode. performOperation(SessionToken session, ChangeableTemplate template, Node tempNode, Node pred, Node succ, UpdateManager updateManager)
Insert a new node of type NT_NORMAL between two nodes in the given template.protected static Node
InsertNode. performOperation(SessionToken session, ChangeableTemplate template, Node tempNode, Node pred, Node succ, ProcessConstants.NodeType type, UpdateManager updateManager)
Insert a new node of typetype
between two nodes in the given template.protected static Node
InsertNode. performOperation(SessionToken session, ChangePrimitives processGraph, Node pred, Node succ, ProcessConstants.NodeType type, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.protected static Node
InsertNode. performOperation(SessionToken session, ChangePrimitives processGraph, Node tempNode, Node pred, Node succ, ProcessConstants.NodeType type, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
MoveNodes. performOperation(SessionToken session, ChangeableInstance instance, Node first, Node last, Node pred, Node succ)
Moves the nodes between first and last to the position between pred and succ in the instance.static void
MoveNodes. performOperation(SessionToken session, ChangeableInstance instance, Node first, Node last, Node pred, Node succ, UpdateManager updateManager)
Moves the nodes between first and last to the position between pred and succstatic void
MoveNodes. performOperation(SessionToken session, ChangeableTemplate template, Node first, Node last, Node pred, Node succ)
Moves the nodes between first and last to the position between pred and succ in the template.static void
MoveNodes. performOperation(SessionToken session, ChangeableTemplate template, Node first, Node last, Node pred, Node succ, UpdateManager updateManager)
Moves the nodes between first and last to the position between pred and succ in the template.protected static void
MoveNodes. performOperation(SessionToken session, ChangePrimitives processGraph, Node first, Node last, Node pred, Node succ, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
ReconnectDataEdge. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, int dataElementID, DataEdge dataEdge, ProcessModelParameter param)
Connect the given data element with the given parameter (via the given already existing data edge) in the instance.static void
ReconnectDataEdge. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, int dataElementID, DataEdge dataEdge, ProcessModelParameter param, UpdateManager updateManager)
Connect the given data element with the given parameter (via the given already existing data edge) in the instance.static void
ReconnectDataEdge. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, int dataElementID, DataEdge dataEdge, ProcessModelParameter param)
Connect the given data element with the given parameter (via the given already existing data edge) in the template.static void
ReconnectDataEdge. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, int dataElementID, DataEdge dataEdge, ProcessModelParameter param, UpdateManager updateManager)
Connect the given data element with the given parameter (via the given already existing data edge) in the template.protected static void
ReconnectDataEdge. performOperation(SessionToken session, ChangePrimitives processGraph, int nodeID, int dataElementID, DataEdge dataEdge, ProcessModelParameter param, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
RemoveExecutableBusinessProcess. performOperation(SessionToken session, ChangeableInstance instance, Node node)
Removes/Deletes an executable business process from the given node in the given instance.static void
RemoveExecutableBusinessProcess. performOperation(SessionToken session, ChangeableInstance instance, Node node, UpdateManager updateManager)
Removes/Deletes an executable business process from the given node in the given instance.static void
RemoveExecutableBusinessProcess. performOperation(SessionToken session, ChangeableTemplate template, Node node)
Removes/Deletes an executable business process from the given node in the given templatestatic void
RemoveExecutableBusinessProcess. performOperation(SessionToken session, ChangeableTemplate template, Node node, UpdateManager updateManager)
Removes/Deletes an executable business process from the given node in the given template.protected static void
RemoveExecutableBusinessProcess. performOperation(SessionToken session, ChangePrimitives processGraph, Node node, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
RemoveNodeSystemParameter. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, ActivityConstants.AccessType type, String parameterName)
Removes the given system parameter from the given node in the given instance.static void
RemoveNodeSystemParameter. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, ActivityConstants.AccessType type, String parameterName, UpdateManager updateManager)
Removes the given system parameter from the given node in the given instance.static void
RemoveNodeSystemParameter. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, ActivityConstants.AccessType type, String parameterName)
Removes the given system parameter from the given node in the given template.static void
RemoveNodeSystemParameter. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, ActivityConstants.AccessType type, String parameterName, UpdateManager updateManager)
Removes the given system parameter from the given node in the given template.protected static void
RemoveNodeSystemParameter. performOperation(SessionToken session, ChangePrimitives processGraph, int nodeID, ActivityConstants.AccessType type, String parameterName, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
RemoveSystemDataFlow. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, String inputParameterName)
Remove the system data flow which is connected with the given parameter in the given instance.static void
RemoveSystemDataFlow. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, String inputParameterName, UpdateManager updateManager)
Remove the system data flow which is connected with the given parameter in the given instance.static void
RemoveSystemDataFlow. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, String inputParameterName)
Remove the system data flow which is connected with the given parameter.static void
RemoveSystemDataFlow. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, String inputParameterName, UpdateManager updateManager)
Remove the system data flow which is connected with the given parameter.protected static void
RemoveSystemDataFlow. performOperation(SessionToken session, ChangePrimitives processGraph, int nodeID, String inputParameterName, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
SwapDataElementParameterConnections. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, int dataElementID1, DataEdge dataEdge1, int dataElementID2, DataEdge dataEdge2)
Swaps the parameter data element connections of the given data edges in the given instance.static void
SwapDataElementParameterConnections. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, int dataElementID1, DataEdge dataEdge1, int dataElementID2, DataEdge dataEdge2, UpdateManager updateManager)
Swaps the parameter data element connections of the given data edges in the given instance.static void
SwapDataElementParameterConnections. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, int dataElementID1, DataEdge dataEdge1, int dataElementID2, DataEdge dataEdge2)
Swaps the parameter data element connections of the given data edges in the given template.static void
SwapDataElementParameterConnections. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, int dataElementID1, DataEdge dataEdge1, int dataElementID2, DataEdge dataEdge2, UpdateManager updateManager)
Swaps the parameter data element connections of the given data edges in the given template.protected static void
SwapDataElementParameterConnections. performOperation(SessionToken session, ChangePrimitives processGraph, int nodeID, int dataElementID1, DataEdge dataEdge1, int dataElementID2, DataEdge dataEdge2, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
ToggleSyncEdge. performOperation(SessionToken session, ChangeableInstance instance, Node pred, Node succ)
Deletes the sync edge in the instance if there already exists one.static void
ToggleSyncEdge. performOperation(SessionToken session, ChangeableInstance instance, Node pred, Node succ, UpdateManager updateManager)
Deletes the sync edge in the instance if there already exists one.static void
ToggleSyncEdge. performOperation(SessionToken session, ChangeableTemplate template, Node pred, Node succ)
Deletes the sync edge in the template if there already exists one.static void
ToggleSyncEdge. performOperation(SessionToken session, ChangeableTemplate template, Node pred, Node succ, UpdateManager updateManager)
Deletes the sync edge in the template if there already exists one.protected static void
ToggleSyncEdge. performOperation(SessionToken session, ChangePrimitives processGraph, Node pred, Node succ, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
UpdateDataEdge. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, int dataElementID, ActivityConstants.AccessType type, DataEdge dataEdge, UpdateManager updateManager, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data element ID) in the given instance using the data in the given data edge object.static void
UpdateDataEdge. performOperation(SessionToken session, ChangeableInstance instance, int nodeID, int dataElementID, ActivityConstants.AccessType type, DataEdge dataEdge, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data element ID) in the given instance using the data in the given data edge object.static void
UpdateDataEdge. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, int dataElementID, ActivityConstants.AccessType type, DataEdge dataEdge, UpdateManager updateManager, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data element ID) in the given template using the data in the given data edge object.static void
UpdateDataEdge. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, int dataElementID, ActivityConstants.AccessType type, DataEdge dataEdge, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data element ID) in the given template using the data in the given data edge object.protected static void
UpdateDataEdge. performOperation(SessionToken session, ChangePrimitives processGraph, int nodeID, int dataElementID, ActivityConstants.AccessType type, DataEdge dataEdge, UpdateManager updateManager, ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Worker method to do the structural changes for both changeable templates and changeable instances.static DataElement
UpdateDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement, UpdateManager updateManager, ProcessConstants.DataElementProperty... dataElementProperties)
Updates the data element attributes given bydataElementProperties
in the instance.static DataElement
UpdateDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement, ProcessConstants.DataElementProperty... dataElementProperties)
Updates the data element attributes given bydataElementProperties
in the instance.static DataElement
UpdateDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement, UpdateManager updateManager, ProcessConstants.DataElementProperty... dataElementProperties)
Updates the data element attributes given bydataElementProperties
in the template.static DataElement
UpdateDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement, ProcessConstants.DataElementProperty... dataElementProperties)
Updates the data element attributes given bydataElementProperties
in the template.protected static DataElement
UpdateDataElement. performOperation(SessionToken session, ChangePrimitives processGraph, DataElement dataElement, UpdateManager updateManager, ProcessConstants.DataElementProperty... dataElementProperties)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
UpdateDataElementParameterMapping. performOperation(SessionToken session, ChangeableInstance instance, Node node, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements)
Updates the Mapping from DataElements to the EBP-parameters for the given node in the instance.static void
UpdateDataElementParameterMapping. performOperation(SessionToken session, ChangeableInstance instance, Node node, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements, UpdateManager updateManager)
Updates the Mapping from DataElements to the EBP-parameters for the given node in the instance.static void
UpdateDataElementParameterMapping. performOperation(SessionToken session, ChangeableTemplate template, Node node, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements)
Updates the Mapping from DataElements to the EBP-parameters for the given node in the template.static void
UpdateDataElementParameterMapping. performOperation(SessionToken session, ChangeableTemplate template, Node node, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements, UpdateManager updateManager)
Updates the Mapping from DataElements to the EBP-parameters for the given node in the template.protected static void
UpdateDataElementParameterMapping. performOperation(SessionToken session, ChangePrimitives processGraph, Node node, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,ProcessConstants.DataMappingType>> paramsWithoutExistingDataElements, Map<ActivityConstants.AccessType,Map<ProcessModelParameter,Integer>> paramsWithExistingDataElements, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
UpdateNodeSystemDependency. performOperation(SessionToken session, ChangeableInstance instance, Node node, Map<String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty)
Updates the system parameters of a node object in the given template using the data in the given node.static void
UpdateNodeSystemDependency. performOperation(SessionToken session, ChangeableInstance instance, Node node, Map<String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty, UpdateManager updateManager)
Updates the system parameters of a node object in the given template using the data in the given node.protected static void
UpdateNodeSystemDependency. performOperation(SessionToken session, ChangeableTemplate cTempl, ChangeableInstance inst, Node node, Map<String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.static void
UpdateNodeSystemDependency. performOperation(SessionToken session, ChangeableTemplate template, Node node, Map<String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty)
Updates the system parameters of a node object in the given template using the data in the given node.static void
UpdateNodeSystemDependency. performOperation(SessionToken session, ChangeableTemplate template, Node node, Map<String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty, UpdateManager updateManager)
Updates the system parameters of a node object in the given template using the data in the given node. -
Uses of SessionToken in de.aristaflow.adept2.core.checks.processmodel
Methods in de.aristaflow.adept2.core.checks.processmodel that return types with arguments of type SessionToken Modifier and Type Method Description Pair<SessionToken,PolicyResolution>
DefaultProcessCheckService. getPolicyResolution()
-
Uses of SessionToken in de.aristaflow.adept2.core.client
Methods in de.aristaflow.adept2.core.client that return SessionToken Modifier and Type Method Description SessionToken
AddAttrSessionFactory. getSessionToken()
SessionToken
AddAttrSessionFactory. getSessionToken(URI[] callingComponent)
SessionToken
AddAttrSessionFactory. getSessionToken(URI[] callingComponent, Map<String,String> additionalAttributes)
SessionToken
AddAttrSessionFactory. getSessionToken(Map<String,String> additionalAttributes)
SessionToken
ADEPT2ClientService. getSessionToken()
Deprecated.Gets a session token for currently active agent and the URIs of this client.SessionToken
ClientService. getSessionToken()
Gets a session token for currently active agent and the URIs of this client.SessionToken
ClientService. getSessionToken(QualifiedAgent agent)
Gets a session token for the designated agent ignoring the currently active agent.SessionToken
ClientService. getSessionToken(QualifiedAgent agent, Map<String,String> additionalAttributes)
Gets a session token for the designated agent ignoring the currently active agent having the designated additional attributes.SessionToken
ClientService. getSessionToken(Map<String,String> additionalAttributes)
Gets a session token for currently active agent and the URIs of this client having the designated additional attributes.SessionToken
MultiplexingClientService. getSessionToken()
SessionToken
MultiplexingClientService. getSessionToken(QualifiedAgent agent)
SessionToken
MultiplexingClientService. getSessionToken(QualifiedAgent agent, Map<String,String> additionalAttributes)
SessionToken
MultiplexingClientService. getSessionToken(Map<String,String> additionalAttributes)
Methods in de.aristaflow.adept2.core.client with parameters of type SessionToken Modifier and Type Method Description void
ClientService.ActiveAgentChangedListener. activeAgentChanged(RichAgent oldAgent, SessionToken oldSession, RichAgent newAgent, SessionToken newSession)
The active agent has been changed.ADEPT2ClientService
MultiplexingClientService. getClientService(SessionToken session)
This method can be called to receive theADEPT2ClientService
which is mapped to the user session ID in the additionalAttributes of the SessionToken.<T> T
MultiplexingClientService. getConfiguredPlugin(SessionToken session, Object usingInstance, String pluginTypeName, Class<T> pluginType)
Retrieves the default plugin of the designated type which is configured for the designated (using) instance.<T> T
MultiplexingClientService. getConfiguredPlugin(SessionToken session, Object usingInstance, String pluginTypeName, Class<T> pluginType, String pluginInstanceName)
Retrieves the plugin having the designated type and instance name as well as type and which is configured for the designated (using) instance.<T> Map<String,T>
MultiplexingClientService. getConfiguredPlugins(SessionToken session, Object usingInstance, String pluginTypeName, Class<T> pluginType)
Retrieves all plugin instances (pre-configured and dynamic) of the designated plugin type.Map<String,Class<?>>
MultiplexingClientService. getConfiguredPluginTypes(SessionToken session)
Retrieves all plugin types declared for the instance using this interface.<T extends ADEPT2Service>
TMultiplexingClientService. getService(SessionToken session, String serviceName, Class<T> serviceType)
Returns the designated service which is either a local service or a service stub that is retrieved from the global registry if the service is not known to this registry but to the global registry.<T extends ADEPT2Service>
TMultiplexingClientService. getService(SessionToken session, URI[] serviceURIs, Class<T> serviceType)
Retrieves the service described by the URIs which is either a local service stub that is retrieved from the global registry if the service is not known to this registry but to the global registry.<T extends ADEPT2Service>
TMultiplexingClientService. getServiceOfType(SessionToken session, String typeName, Class<T> serviceType)
Returns the service instance of the designated service type which is configured for usage by this (the requesting) service instance.boolean
MultiplexingClientService. hasAllCapabilities(SessionToken sessionToken, String... capabilities)
boolean
MultiplexingClientService. hasAllTopLevelCapabilities(SessionToken sessionToken, String... capabilities)
boolean
MultiplexingClientService. hasOneCapability(SessionToken sessionToken, String... capabilities)
boolean
MultiplexingClientService. hasOneTopLevelCapability(SessionToken sessionToken, String... capabilities)
-
Uses of SessionToken in de.aristaflow.adept2.core.cluster
Methods in de.aristaflow.adept2.core.cluster with parameters of type SessionToken Modifier and Type Method Description SimpleClusterNodeInformation
ClusterService. doubtfulStatus(SessionToken session, String requestingNode, long lastRequesterUpdate, long lastServerUpdate, long serverRunningSince)
Gets information on the cluster node implementing this cluster service and signals this cluster node, that its status is doubtful.SimpleClusterNodeInformation
ClusterService. getNodeInformation(SessionToken session)
Gets information on the cluster node implementing this cluster service. -
Uses of SessionToken in de.aristaflow.adept2.core.datamanager
Methods in de.aristaflow.adept2.core.datamanager with parameters of type SessionToken Modifier and Type Method Description void
DataManager. archiveInstance(SessionToken session, UUID instanceID)
Archives the data of the designated instance to a separate archive.void
UDTManager. createDataType(SessionToken session, String userDefinedDataType)
Creates a new data type (UDT) in the data type manager/process repository with the designated name.InstanceDataContainer
DataManager. createInstanceDataContainer(SessionToken session, Template template)
Creates an instance data container for the input (and output) parameters of the designated template.void
UDTManager. createUDF(SessionToken session, String userDefinedDataType, String functionName, ProcessConstants.AdeptDataType returnType, String function, String language)
Creates a user-defined function that is able to interpret a specific data type.void
UDTManager. deleteDataType(SessionToken session, String userDefinedDataType)
Deletes a data type (UDT) in the process repository.void
UDTManager. deleteUDF(SessionToken session, String userDefinedDataType, String functionName)
Deletes a user-defined function (UDF) in the data type manager/process repository.void
ProcessAwareAccess. discardValue(SessionToken session, UUID instanceID, int discardingNodeID, int discarderIteration, int dataElementID)
Discards the value for the designated data element set before by the designated node.void
ProcessAwareAccess. discardValue(SessionToken session, UUID instanceID, int discardingNodeID, int discarderIteration, int dataElementID, String savepoint)
Discards the value for the designated data element set before by the designated node.void
ProcessAwareAccess. dropWrittenValues(SessionToken session, Instance instance, int nodeId, int nodeIteration)
Drops all values written by the designated instance that have not been validated yet, that is, the values are removed (or marked as removed) from the data manager for all savepoints.boolean
ProcessAwareAccess. dropWrittenValuesBackTo(SessionToken session, Instance instance, int nodeId, int nodeIteration, String savepoint)
Drops all values written by the designated instance that have not been validated yet back to the designated savepoint, that is, the values are removed (or marked as removed) from the data manager for all savepoints after the designated one.boolean
UDFExecution. executeBooleanFunction(SessionToken session, UDTValue proxy, String functionName)
Executes the designated user-defined function for the designated value of a UDT and returns the resulting boolean value.double
UDFExecution. executeFloatFunction(SessionToken session, UDTValue proxy, String functionName)
Executes the designated user-defined function for the designated value of a UDT and returns the resulting double value.long
UDFExecution. executeIntegerFunction(SessionToken session, UDTValue proxy, String functionName)
Executes the designated user-defined function for the designated value of a UDT and returns the resulting long value.String
UDFExecution. executeStringFunction(SessionToken session, UDTValue proxy, String functionName)
Executes the designated user-defined function for the designated value of a UDT and returns the resulting string.UDTValue
UDFExecution. executeUDTFunction(SessionToken session, UDTValue proxy, String functionName)
Executes the designated user-defined function for the designated value of a UDT and returns the resulting UDT-value.ServerUDTInputStream
UDFExecution. executeUDTFunctionIncrementally(SessionToken session, UDTValue proxy, String functionName)
Executes the designated user-defined function for the designated value of a UDT and returns the resulting UDT-value asServerUDTInputStream
.URI
UDFExecution. executeURIFunction(SessionToken session, UDTValue proxy, String functionName)
Executes the designated user-defined function for the designated value of a UDT and returns the resulting reference.void
UDFExecution. executeVoidFunction(SessionToken session, UDTValue proxy, String functionName)
Executes the designated user-defined function for the designated value of a UDT.String
ProcessAwareAccess. flushDataContainer(SessionToken session, Instance instance, int writingNodeId, int writerIteration, DataContainer dataContainer, String savepoint)
Flushes all values from the designated data container and persists them in this data manager (if the corresponding data container stems from this data manager) referring to it by the designated savepoint ID.void
ProcessAwareAccess. flushSavepoint(SessionToken session, Instance instance, int writingNodeId, int writerIteration, DataContainer dataContainer, String savepoint)
Flushes the designated safepoint only.Map<UUID,InputDataContainer>
DataMonitor. getCurrentDataValues(SessionToken session, Collection<InstanceNode> instTrees, Map<UUID,Map<Integer,ProcessConstants.AdeptDataType>> dataElementIds)
Gets the current values of the designated data elements for the designated instances.DataContainer
ProcessAwareAccess. getDataContainer(SessionToken session, Instance instance, int nodeID)
Gets the data container for the application specified by the designated activity.URI[]
DataManager. getDataLogManager(SessionToken session)
Gets the log manager responsible for theDataHistory
assigned to data manager for logging instance data.InputDataContainer
ProcessUnawareAccess. getInputDataContainer(SessionToken session, Instance instance, Set<Integer> dataElementIDs)
Gets an input data container providing the most recent values of the designated data element IDs.String
SessionStateManager. getLastSavepoint(SessionToken session, UUID instanceLogId, int nodeId, int iteration)
Gets the name of most recent valid savepoint stored for the activity identified by the designated instance, node and node iteration.InputDataContainer
ProcessAwareAccess. getNodeDataContainer(SessionToken session, Instance instance, int nodeID)
Gets the data container for the designated node.DataContainer
ProcessAwareAccess. getObsoleteDataContainer(SessionToken session, ExecutionHistory execHist, Instance instance, int nodeID, int iteration)
Gets the data container for a finished application specified by the designated node and iteration ID.ParameterDataContext
ProcessAwareAccess. getPublicDataContext(SessionToken session, Instance instance, int nodeID)
Gets the data context providing all public data elements for the designated node.ParameterDataContext
ProcessUnawareAccess. getPublicDataContext(SessionToken session, Instance instance)
Gets the data context providing the most recent values of the public data elements of the designated instance.List<String>
SessionStateManager. getSavepoints(SessionToken session, UUID instanceLogId, int nodeId, int iteration)
Gets all savepoints (except of the implicit savepoint) stored for the activity identified by the designated instance, node and node iteration.void
DataManager. instanceChanged(SessionToken session, Instance instance)
Notifies the data manager that the designated instance has been changed.void
DataManager. instanceChanged(SessionToken session, Instance instance, DataContainer changedDataContainer)
Notifies the data manager that the designated instance and also its output parameters have changed.void
DataManager. instanceStarted(SessionToken session, ExecutableInstance instance, DataContainer dataContainer)
Tells the data manager that an instance has been started with the designated data container (input and output parameters of the instance).void
DataManager. instanceTerminated(SessionToken session, ExecutableInstance instance, DataContainer dataContainer)
Tells the data manager that an instance has been terminated with the designated data container (input and output parameters of the instance).boolean
ProcessUnawareAccess. isExternalValueNull(SessionToken session, UUID instanceID, int dataElementID)
Returns whether the value of the designated data element for the specified node is set to NULL by an external application.boolean
ProcessUnawareAccess. isLatestValueNull(SessionToken session, UUID instanceID, int dataElementID)
Returns whether the value of the designated data element for the specified node is NULL which means the data element has not been written or has been consumed yet by a process-aware application or has been explicitly set to NULL by a process-aware-application.boolean
ProcessAwareAccess. isNull(SessionToken session, UUID instanceID, int readingNodeID, int readerIteration, int dataElementID)
Returns whether the value of the designated data element for the specified node is NULL which means the data element has not been written or has been consumed yet or has been explicitly set to NULL by a previous application.boolean
ProcessAwareAccess. retrieveBoolean(SessionToken session, UUID instanceID, int readingNodeID, int readerIteration, int dataElementID)
Retrieves the boolean value of the designated data element of type BOOLEAN valid for the specified node of the process instance and its current iteration count.Date
ProcessAwareAccess. retrieveDate(SessionToken session, UUID instanceID, int readingNodeID, int readerIteration, int dataElementID)
Retrieves the date value of the designated data element of type DATE valid for the specified node of the process instance and its current iteration count.boolean
ProcessUnawareAccess. retrieveExternalBooleanValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent boolean value of the designated data element of type BOOLEAN written by an external component.Date
ProcessUnawareAccess. retrieveExternalDateValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent date value of the designated data element of type DATE written by an external component.double
ProcessUnawareAccess. retrieveExternalFloatValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent double value of the designated data element of type FLOAT written by an external component.long
ProcessUnawareAccess. retrieveExternalIntegerValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent long value of the designated data element of type INTEGER written by an external component.String
ProcessUnawareAccess. retrieveExternalStringValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent string value of the designated data element of type STRING written by an external component.UDTValue
ProcessUnawareAccess. retrieveExternalUDTValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent (proxy of the) value of the designated data element of user-defined type (UDT) written by an external component.ServerUDTInputStream
ProcessUnawareAccess. retrieveExternalUDTValueIncrementally(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent (proxy of the) value of the designated data element of user-defined type (UDT) written by an external component.URI
ProcessUnawareAccess. retrieveExternalURIValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent URI value of the designated data element of type URI written by an external component.double
ProcessAwareAccess. retrieveFloat(SessionToken session, UUID instanceID, int readingNodeID, int readerIteration, int dataElementID)
Retrieves the double value of the designated data element of type FLOAT valid for the specified node of the process instance and its current iteration count.DataContainer
DataManager. retrieveInstanceDataContainer(SessionToken session, Instance instance)
Retrieves the instance data container for the designated instance.long
ProcessAwareAccess. retrieveInteger(SessionToken session, UUID instanceID, int readingNodeID, int readerIteration, int dataElementID)
Retrieves the long value of the designated data element of type INTEGER valid for the specified node of the process instance and its current iteration count.boolean
ProcessUnawareAccess. retrieveLatestBooleanValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent boolean value of the designated data element of type BOOLEAN for the specified process instance.Date
ProcessUnawareAccess. retrieveLatestDateValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent date value of the designated data element of type DATE for the specified process instance.double
ProcessUnawareAccess. retrieveLatestFloatValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent double value of the designated data element of type FLOAT for the specified process instance.long
ProcessUnawareAccess. retrieveLatestIntegerValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent long value of the designated data element of type INTEGER for the specified process instance.String
ProcessUnawareAccess. retrieveLatestStringValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent string value of the designated data element of type STRING for the specified process instance.UDTValue
ProcessUnawareAccess. retrieveLatestUDTValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent (proxy of the) value of the designated data element of user-defined type (UDT) for the specified process instance.ServerUDTInputStream
ProcessUnawareAccess. retrieveLatestUDTValueIncrementally(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent value of the designated data element of user-defined type (UDT) for the specified process instance asServerUDTInputStream
.URI
ProcessUnawareAccess. retrieveLatestURIValue(SessionToken session, UUID instanceID, int dataElementID)
Retrieves the most recent URI value of the designated data element of type URI for the specified process instance.byte[]
SessionStateManager. retrieveSessionState(SessionToken session, String savepoint, UUID instanceLogId, int nodeId, int iteration)
Retrieves the state of a running application as abyte[]
so that (the state of) the suspended application/session can be restored.ServerStream
SessionStateManager. retrieveSessionStateIncrementally(SessionToken session, String savepoint, UUID instanceLogId, int nodeId, int iteration)
Retrieves the state of a running application as aServerStream
so that (the state of) the suspended application/session can be restored.String
ProcessAwareAccess. retrieveString(SessionToken session, UUID instanceID, int readingNodeID, int readerIteration, int dataElementID)
Retrieves the string value of the designated data element of type STRING valid for the specified node of the process instance and its current iteration count.UDTValue
ProcessAwareAccess. retrieveUDT(SessionToken session, UUID instanceID, int readingNodeID, int readerIteration, int dataElementID)
Retrieves (the proxy of) the value of the designated data element of user-defined type (UDT) valid for the specified node of the process instance and its current iteration count.ServerUDTInputStream
ProcessAwareAccess. retrieveUDTIncrementally(SessionToken session, UUID instanceID, int readingNodeID, int readerIteration, int dataElementID)
Retrieves the value of the designated data element of user-defined type (UDT) valid for the specified node of the process instance and its current iteration count asServerUDTInputStream
.URI
ProcessAwareAccess. retrieveURI(SessionToken session, UUID instanceID, int readingNodeID, int readerIteration, int dataElementID)
Retrieves the URI value of the designated data element of type URI valid for the specified node of the process instance and its current iteration count.void
ProcessUnawareAccess. setNullExternal(SessionToken session, UUID instanceID, int dataElementID)
Sets the value of the designated data element as external value to NULL, which means the value is undefined.void
ProcessAwareAccess. storeBoolean(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, boolean value)
Stores an intermediate BOOLEAN value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessAwareAccess. storeBoolean(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, String savepoint, boolean value)
Stores an intermediate BOOLEAN value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessUnawareAccess. storeBooleanExternal(SessionToken session, UUID instanceID, int dataElementID, boolean value)
Stores the boolean value of the designated data element of the process instance as external value.void
ProcessAwareAccess. storeDate(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, String savepoint, Date value)
Stores an intermediate DATE value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessAwareAccess. storeDate(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, Date value)
Stores an intermediate DATE value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessUnawareAccess. storeDateExternal(SessionToken session, UUID instanceID, int dataElementID, Date value)
Stores the date value of the designated data element of the process instance as external value.void
ProcessAwareAccess. storeFloat(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, double value)
Stores an intermediate FLOAT value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessAwareAccess. storeFloat(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, String savepoint, double value)
Stores an intermediate FLOAT value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessUnawareAccess. storeFloatExternal(SessionToken session, UUID instanceID, int dataElementID, double value)
Stores the double value of the designated data element of the process instance as external value.void
ProcessAwareAccess. storeInteger(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, long value)
Stores an intermediate INTEGER value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessAwareAccess. storeInteger(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, String savepoint, long value)
Stores an intermediate INTEGER value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessUnawareAccess. storeIntegerExternal(SessionToken session, UUID instanceID, int dataElementID, long value)
Stores the long value of the designated data element of the process instance as external value.void
SessionStateManager. storeSessionState(SessionToken session, String savepoint, UUID instanceLogId, int nodeId, int iteration, byte[] sessionState)
Stores the state of a running application so that the application can be suspended, this resembles hibernating a system.void
ProcessAwareAccess. storeString(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, String value)
Stores an intermediate string value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessAwareAccess. storeString(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, String savepoint, String value)
Stores an intermediate string value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessUnawareAccess. storeStringExternal(SessionToken session, UUID instanceID, int dataElementID, String value)
Stores the string value of the designated data element of the process instance as external value.void
ProcessAwareAccess. storeUDT(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, UDTValue value)
Stores an intermediate value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessAwareAccess. storeUDT(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, String savepoint, UDTValue value)
Stores an intermediate value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessUnawareAccess. storeUDTExternal(SessionToken session, UUID instanceID, int dataElementID, UDTValue value)
Stores the value of the designated data element of the process instance as external value.void
ProcessAwareAccess. storeURI(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, String savepoint, URI value)
Stores an intermediate URI value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessAwareAccess. storeURI(SessionToken session, UUID instanceID, int writingNodeID, int writerIteration, int dataElementID, URI value)
Stores an intermediate URI value of the designated data element of the process instance and the corresponding metadata which is the writing node and its current iteration.void
ProcessUnawareAccess. storeURIExternal(SessionToken session, UUID instanceID, int dataElementID, URI value)
Stores the URI value of the designated data element of the process instance as external value.void
ProcessAwareAccess. validateWrittenValues(SessionToken session, Instance instance, int nodeId, int nodeIteration, String savepoint)
Validates and verifies all values written by the designated node instance for the designated savepoint, that is, the values are not temporary any more but valid for the following nodes and it is checked whether all mandatory output parameters have valid values. -
Uses of SessionToken in de.aristaflow.adept2.core.eventmanager
Methods in de.aristaflow.adept2.core.eventmanager that return types with arguments of type SessionToken Modifier and Type Method Description Pair<SessionToken,SimpleSessionContext>
ActivityEventManager. startActivity(EBPInstanceReference activity, ProcessConstants.ExecutionMode executionMode)
Starts the designated activity if it is appropriate for aRuntimeService
and provides its process context.Methods in de.aristaflow.adept2.core.eventmanager with parameters of type SessionToken Modifier and Type Method Description EventHandler
EventManager. addEventHandler(SessionToken session, String eventType, String sourceType, EventHandler handler, int index)
Adds the designated event handler to the designated event type and event source at the designated position.EventHandler
EventManager. addEventHandler(SessionToken session, String eventType, String sourceType, String handlerID, int index)
Adds an event handler having the designated ID to the designated event type and event source at the designated position.EventSource<? extends Event>
EventManager. addEventSource(SessionToken session, String eventType, String sourceType, String sourceID, org.apache.commons.configuration2.Configuration configuration)
Adds an event source having the designated ID to the designated event type and event source.default UUID
InstanceStartEventManager. createAndStartInstance(SessionToken session, UUID templateID, InstanceDataContainer dataContainer)
Deprecated, for removal: This API element is subject to removal in a future version.InstanceDataContainer
InstanceStartEventManager. createInstanceDataContainer(SessionToken session, UUID templateID)
Creates an instance data container for the input (and output) parameters of the designated template.List<String>
EventManager. getEventHandler(SessionToken session, String eventType, String sourceType)
Gets the event handler that are registered for the designated event type and source type.Collection<String>
EventManager. getEventSources(SessionToken session, String eventType, String sourceType)
Gets the event sources that exist for the designated event type and source type.TemplateReference
InstanceStartEventManager. getLatestTemplateReference(SessionToken session, String processType, boolean checkStarterRule)
Gets the lightweight representation of the "latest" process template of the designated process type.Map<String,Class<? extends Event>>
EventManager. getSupportedEventTypes(SessionToken session)
Gets all the event types this event manager supports, that is, it can create event sources for these event types.TemplateReference
InstanceStartEventManager. getTemplateReference(SessionToken session, UUID templateID)
Gets the lightweight representation of the designated process template.EventHandler
EventManager. removeEventHandler(SessionToken session, String eventType, String sourceType, String handlerID)
Removes the event handler having the designated ID and being registered for the designated event type and event source.EventSource<? extends Event>
EventManager. removeEventSource(SessionToken session, String eventType, String sourceType, String sourceID)
Removes the event source having the designated event type, event source and ID.SerialisablePair<UUID,UUID>
InstanceStartEventManager. startInstance(SessionToken session, UUID templId, InstanceDataContainer dataContainer)
Creates a new instance of the designated process template, starts the instance and logs the designated user as initiator of the process instance. -
Uses of SessionToken in de.aristaflow.adept2.core.eventmanager.common
Methods in de.aristaflow.adept2.core.eventmanager.common that return SessionToken Modifier and Type Method Description SessionToken
AbstractEventManager. createSession()
Creates a new session token using the client session factory assigned to this service.protected SessionToken
OneWorkWorklistHandler. createSession()
protected SessionToken
WorklistHandler. createSession()
Deprecated.Methods in de.aristaflow.adept2.core.eventmanager.common that return types with arguments of type SessionToken Modifier and Type Method Description Pair<SessionToken,SimpleSessionContext>
AbstractEventManager. startActivity(EBPInstanceReference activity, ProcessConstants.ExecutionMode executionMode)
Methods in de.aristaflow.adept2.core.eventmanager.common with parameters of type SessionToken Modifier and Type Method Description EventHandler
AbstractEventManager. addEventHandler(SessionToken session, String eventType, String sourceType, EventHandler current, int index)
EventHandler
AbstractEventManager. addEventHandler(SessionToken session, String eventType, String sourceType, String handlerID, int index)
protected EventHandler
AbstractEventManager. addEventHandler(SessionToken session, String eventType, String sourceType, String handlerID, EventHandler current, int index)
Adds the designated event handler to the designated event type and source type.EventSource<?>
AbstractEventManager. addEventSource(SessionToken session, String eventType, String sourceType, String sourceID, org.apache.commons.configuration2.Configuration conf)
InstanceDataContainer
AbstractEventManager. createInstanceDataContainer(SessionToken session, UUID templateID)
List<String>
AbstractEventManager. getEventHandler(SessionToken session, String eventType, String sourceType)
Collection<String>
AbstractEventManager. getEventSources(SessionToken session, String eventType, String sourceType)
TemplateReference
AbstractEventManager. getLatestTemplateReference(SessionToken session, String processType, boolean checkStarterRule)
Map<String,Class<? extends Event>>
AbstractEventManager. getSupportedEventTypes(SessionToken session)
protected Map<String,Class<? extends Event>>
AbstractEventManager. getSupportedEventTypes(SessionToken session, ServiceAccess sa)
Gets all event types declared via plugin types for this event manager.TemplateReference
AbstractEventManager. getTemplateReference(SessionToken session, UUID templateID)
EventHandler
AbstractEventManager. removeEventHandler(SessionToken session, String eventType, String sourceType, String handlerID)
EventSource<?>
AbstractEventManager. removeEventSource(SessionToken session, String eventType, String sourceType, String sourceID)
SerialisablePair<UUID,UUID>
AbstractEventManager. startInstance(SessionToken session, UUID templId, InstanceDataContainer dataContainer)
-
Uses of SessionToken in de.aristaflow.adept2.core.eventmanager.fileevents
Methods in de.aristaflow.adept2.core.eventmanager.fileevents with parameters of type SessionToken Modifier and Type Method Description protected TemplateReference
InstanceStartEventHandler. getAndCheckTemplate(SessionToken session)
Retrieves the "latest" template of the configured process type and checks for whether it has the right input parameter.protected TemplateReference
MarkInstanceStartEventHandler. getAndCheckTemplate(SessionToken session)
Retrieves the "latest" template of the configured process type and checks for whether it has the right input parameter. -
Uses of SessionToken in de.aristaflow.adept2.core.eventmanager.mailevents
Methods in de.aristaflow.adept2.core.eventmanager.mailevents with parameters of type SessionToken Modifier and Type Method Description protected TemplateReference
InstanceStartEventHandler. getAndCheckTemplate(SessionToken session)
Retrieves the "latest" template of the configured process type and checks for whether it has the right input parameter. -
Uses of SessionToken in de.aristaflow.adept2.core.executionmanager
Methods in de.aristaflow.adept2.core.executionmanager with parameters of type SessionToken Modifier and Type Method Description void
ActivityExecutionControl. abortActivity(SessionToken session, EBPInstanceReference activity, String errorMessage, long errorCode, boolean force, boolean propagate)
Instructs the ActivityExecutionControl to abort the activity and propagate the abortion if appropriate, e. g. to subprocess instances.void
InstanceChanging. abortInstanceChanging(SessionToken session, UUID instanceID)
Aborts changing the instance, unlocks and resumes the instance and informs the worklist managers accordingly.void
ActivityTermination. activityFailed(SessionToken session, EBPInstanceReference activity, DataContainer dataContainer, String errorMessage, String state, long errorCode)
Signals the failure of an activity, which means, setting the state of the process step accordingly and starting appropriate measures, for instance, rolling back or restarting.void
ActivityTermination. activityFinished(SessionToken session, EBPInstanceReference activity, DataContainer dataContainer)
Signals the termination of an activity, which means, setting the state of the process step accordingly, storing the values of the output parameters - encapsulated in the designated data container - and activating new process steps if appropriate.void
ActivityTermination. activityReset(SessionToken session, EBPInstanceReference activity)
Signals a reset of a running activity, which means, the current state (including the written values) is completely dropped and resetting the state of the node toNS_ACTIVATED
.void
ActivityTermination. activityResetTo(SessionToken session, EBPInstanceReference activity, String savepoint)
Signals a reset of a running activity to the designated savepoint.void
ActivityTermination. activitySuspended(SessionToken session, EBPInstanceReference activity, DataContainer dataContainer)
Signals a suspending of an activity, which means, setting the state of the process step accordingly and storing the values of the output parameters - encapsulated in the designated data container.void
ActivityTermination. activitySuspended(SessionToken session, EBPInstanceReference activity, DataContainer dataContainer, String savepoint)
Signals a suspending of an activity, which means, setting the state of the process step accordingly and storing the values of the output parameters - encapsulated in the designated data container.void
WorklistInteraction. addWorklistManager(SessionToken session, WorklistNotification worklistManager)
Adds a worklist manager to this execution manager to listen for state changes.Map<UUID,UUID>
ExecutionManager. archiveInstance(SessionToken session, UUID instanceID)
Archives the designated instance which removes the instance data completely from the underlying services which includes theInstanceManager
, theDataManager
and theExecutionHistory
.SerialisablePair<Collection<UUID>,Map<UUID,UUID>>
ExecutionManager. archiveTemplate(SessionToken session, UUID templateID)
Archives the designated template which removes the template and the instance data completely from the underlying services which includes theTemplateManager
, theInstanceManager
, theDataManager
and theExecutionHistory
.ChangeReport
InstanceChanging. changeAndUnlockInstance(SessionToken session, ChangeableInstance instance, Locale... locales)
Validates the instance and if this is successful, the designated instance will be changed, unlocked, resumed and the worklist and data managers will be informed about the new instance structure and state.ChangeReport
InstanceChanging. changeInstance(SessionToken session, ChangeableInstance instance, Locale... locales)
Validates the instance and if this is successful, the designated instance will be changed and the worklist and data managers will be informed about the new instance structure and state.SerialisablePair<Boolean,ProcessConstants.InstanceExecutionStatus>
InstanceControl. checkForAndFixInconsistencies(SessionToken session, UUID instId, boolean considerRunning)
Checks the designated instance for inconsistencies and tries to fix them.void
InstanceControl. commitInstance(SessionToken session, UUID instanceID)
Commits the designated instance, that means, the instance is marked as successfully completed.default UUID
InstanceControl. createAndStartInstance(SessionToken session, UUID processTemplateID, ExecutionContext executionContext, URI[] rtMgr, URI[] stateListener)
Deprecated, for removal: This API element is subject to removal in a future version.default UUID
InstanceControl. createAndStartInstance(SessionToken session, UUID processTemplateID, URI[] stateListener)
Deprecated, for removal: This API element is subject to removal in a future version.default UUID
InstanceControl. createAndStartInstance(SessionToken session, UUID processTemplateID, URI[] rtMgr, URI[] stateListener)
Deprecated, for removal: This API element is subject to removal in a future version.default UUID
InstanceControl. createAndStartSubInstance(SessionToken session, EBPInstanceReference superInstanceActivity, ExecutionContext executionContext, URI[] stateListener)
Deprecated, for removal: This API element is subject to removal in a future version.InstanceDataContainer
InstanceControl. createInstanceDataContainer(SessionToken session, UUID processTemplateID)
Creates an instance data container for the input (and output) parameters of the designated template.void
ActivityStarting. deselectActivity(SessionToken session, EBPInstanceReference activity)
Deselects the designated activity, that is, the designated user does not want to execute the activity later any more.void
ActivityStarting. enquireActivity(SessionToken session, EBPInstanceReference activity, Set<QualifiedAgent> recipients, String question)
Sets an enquiry for the designated activity and delegates it to the designated recipients.void
ActivityTermination. flushDataContainer(SessionToken session, EBPInstanceReference activity, DataContainer dataContainer)
Flushes the current state of the designated data container, that is, the values of the output parameters and the application states and stores them internally with the last savepoint ID of the designated data container.void
ActivityTermination. flushSavepoint(SessionToken session, EBPInstanceReference activity, DataContainer dataContainer, String savepoint)
Flushes the state of the designated savepoint in the designated data container, that is, the values of the output parameters and the application states for the designated savepoint and stores them internally.URI[]
ExecutionManager. getDataManager(SessionToken session, UUID instanceID)
Gets the data manager that is associated with this execution manager for the designated process instance.Set<QualifiedAgent>
ActivityStarting. getEnquiryRecipients(SessionToken session, EBPInstanceReference activity)
Gets all agents that are possible recipients for an enquiry for the designated activity and the agent identified by the designated session token.RemoteIterator<List<QualifiedAgent>>
ActivityStarting. getEnquiryRecipientsIterator(SessionToken session, EBPInstanceReference activity)
The same asActivityStarting.getEnquiryRecipients(SessionToken, EBPInstanceReference)
but with partial retrieval of the agents.ExecutionContext
ActivityStarting. getExecutionContext(SessionToken session, EBPInstanceReference activity)
Gets the execution context for the designated activity.Pair<Map<EBPInstanceReference,ExecutionContext>,Map<EBPInstanceReference,Throwable>>
ActivityStarting. getExecutionContexts(SessionToken session, Collection<EBPInstanceReference> activities)
Gets the execution contexts for the designated activities.ChangeableInstance
InstanceChanging. getInstanceForChanging(SessionToken session, UUID instanceID)
Gets a process instance that may be changed after retrieval.Set<TemplateReference>
InstanceControl. getInstantiableTemplateReferences(SessionToken session, boolean includeOutdated)
Gets the lightweight representations of all templates that can be instantiated as top-level-processes, that is, they exist in the process manager and they are in the stateINSTANTIABLE
as top-level processes.RemoteIterator<List<TemplateReference>>
InstanceControl. getInstantiableTemplateReferencesIterator(SessionToken session, boolean includeOutdated)
The same asInstanceControl.getInstantiableTemplateReferences(SessionToken, boolean)
but with partial retrieval of the template references.Set<UUID>
InstanceControl. getInstantiableTemplates(SessionToken session, boolean includeOutdated)
Gets the IDs of all templates that can be instantiated as top-level-processes, that is, they exist in the process manager and they are in the stateINSTANTIABLE
as top-level processes.RemoteIterator<List<UUID>>
InstanceControl. getInstantiableTemplatesIterator(SessionToken session, boolean includeOutdated)
The same asInstanceControl.getInstantiableTemplates(SessionToken, boolean)
but with partial retrieval of the template IDs.URI[]
ExecutionManager. getProcessManager(SessionToken session, UUID instanceID)
Gets the process manager that is associated with this execution manager for the designated process instanceURI[]
ExecutionManager. getProcessManagerLogId(SessionToken session, UUID instLogId)
Gets the process manager that is associated with this execution manager for the designated process instance.ParameterDataContext
InstanceControl. getPublicDataContext(SessionToken session, UUID instanceID)
Gets the data context providing the (most recent) values of the public data elements of the designated instance.List<String>
ActivityExecutionControl. getSavepoints(SessionToken session, EBPInstanceReference activity)
Gets all savepoints and their respective names for the designated activity.TemplateReference
InstanceControl. getTemplateReference(SessionToken session, UUID templateID)
Gets the lightweight representation of the designated process template.void
SubInstanceStateNotification. instanceFailed(SessionToken session, UUID instanceID, EBPInstanceReference superLWP, DataContainer dataContainer, String errorMessage, String state, long errorCode)
Notifies that the designated subprocess instance has failed and provides the necessary failure information.void
SubInstanceStateNotification. instanceFinished(SessionToken session, UUID instanceID, EBPInstanceReference superLWP, DataContainer dataContainer)
Notifies that the designated subprocess instance has finished normally and provides the output parameters of the instance.void
SubInstanceStateNotification. instanceResumed(SessionToken session, UUID instanceID, EBPInstanceReference superLWP)
Notifies that the designated subprocess instance has been resumed.void
SubInstanceStateNotification. instanceSuspended(SessionToken session, UUID instanceID, EBPInstanceReference superLWP, DataContainer dataContainer)
Notifies that the designated subprocess instance has been suspended.Vote
InstanceControl. prepareCommitInstance(SessionToken session, UUID instanceID)
Prepares the commit of an instance.URI[]
LocalInstanceStateNotifier. registerInstanceStateListener(SessionToken session, InstanceStateNotification listener)
Registers the designated listener for state changes of every instance.URI[]
LocalInstanceStateNotifier. registerInstanceStateListener(SessionToken session, UUID instanceId, InstanceStateNotification listener)
Registers the designated listener for state changes of the designated instance.void
WorklistInteraction. removeWorklistManager(SessionToken session, WorklistNotification worklistManager)
Removes a listening worklist manager from this execution manager.void
ActivityStarting. replyEnquiry(SessionToken session, EBPInstanceReference activity, String reply)
Replies to the designated activity, that is the last enquiry is replied.void
ActivityExecutionControl. resetActivity(SessionToken session, EBPInstanceReference activity, boolean forceReset)
Resets the designated activity to its initial state when it is first activated.void
ActivityExecutionControl. resetActivity(SessionToken session, EBPInstanceReference activity, boolean forceReset, String savepoint)
Resets the designated activity to the designated savepoint.String
ActivityExecutionControl. resetToPrevSavepoint(SessionToken session, EBPInstanceReference activity, boolean forceReset)
Resets the designated activity to the previous savepoint.void
ActivityStarting. resumeActivity(SessionToken session, EBPInstanceReference activity)
Resumes the designated activity from the latest valid savepoint and logs the agent, the organisational position.void
InstanceControl. resumeInstance(SessionToken session, UUID instanceID)
Resumes the designated (top-level or sub-process) instance and (re-)offers all active (including suspended) activities to the worklist manager.void
InstanceControl. resumeInstance(SessionToken session, UUID instanceID, URI[] stateListener)
Resumes the designated (top-level or sub-process) instance and (re-)offers all active (including suspended) activities to the worklist manager.void
InstanceControl. rollbackInstance(SessionToken session, UUID instanceID)
Resets the designated instance, which includes rolling back the data and the effects of the instance as a whole.void
ActivityStarting. selectActivity(SessionToken session, EBPInstanceReference activity)
Selects the designated activity, that is, the designated user wants to execute the activity later.void
ActivityStarting. startActivity(SessionToken session, EBPInstanceReference activity, ProcessConstants.ExecutionMode executionMode)
Starts the designated activity in the designated execution mode and logs the agent, the organisational position.SerialisablePair<UUID,UUID>
InstanceControl. startInstance(SessionToken session, UUID templId, ExecutionContext execContext, URI[] rtMgr, URI[] stateListener)
Creates a new instance of the designated process template, starts the instance and logs the designated user as initiator of the process instance.SerialisablePair<UUID,UUID>
InstanceControl. startInstance(SessionToken session, UUID templId, URI[] stateListener)
Creates a new instance of the designated process template, starts the instance and logs the designated user as initiator of the process instance.SerialisablePair<UUID,UUID>
InstanceControl. startInstance(SessionToken session, UUID templId, URI[] rtMgr, URI[] stateListener)
Creates a new instance of the designated process template, starts the instance and logs the designated user as initiator of the process instance.SerialisablePair<UUID,UUID>
InstanceControl. startSubInstance(SessionToken session, EBPInstanceReference parentLwp, ExecutionContext execContext, URI[] stateListener)
Creates a new instance as subprocess of the designated activity/lightweight process referring to the corresponding subprocess template ID.void
InstanceControl. stopAndAbortInstance(SessionToken session, UUID instanceID, boolean propagateToRunningActs, String errorMessage, String state, long errorCode)
Stops the designated instance and if appropriate also the running activities.boolean
ActivityExecutionControl. suspendActivity(SessionToken session, EBPInstanceReference activity, boolean waitForAcknowledgement, boolean propagate)
Instructs the ActivityExecutionControl to suspend the specified activity and propagate the suspension if appropriate, e. g. to subprocess instances.boolean
InstanceControl. suspendInstance(SessionToken session, UUID instanceID, boolean propagateToRunningActs)
Suspends the designated instance and if appropriate also the running activities.void
InstanceChanging. unlockChangeableInstance(SessionToken session, UUID instanceID)
Unlocks and resumes the instance without affecting any made changes, that is previously committed changes are persisted, uncommitted changes are dropped.void
LocalInstanceStateNotifier. unregisterInstanceStateListener(SessionToken session, InstanceStateNotification listener)
Unregisters the designated listener for state changes of every instance.void
LocalInstanceStateNotifier. unregisterInstanceStateListener(SessionToken session, UUID instanceId, InstanceStateNotification listener)
Unregisters the designated listener for state changes of the designated instance. -
Uses of SessionToken in de.aristaflow.adept2.core.globalprovider
Methods in de.aristaflow.adept2.core.globalprovider with parameters of type SessionToken Modifier and Type Method Description Configuration
GlobalConfiguration. getConfiguration(SessionToken session, String namespace)
Deprecated.Gets the global configuration for all activities of the designated configuration namespace.Configuration
GlobalConfiguration. getConfiguration(SessionToken session, String namespace, String ecName)
Deprecated.Gets the configuration for all activities of the designated executable component description of the designated configuration namespace.Configuration
GlobalConfiguration. getConfiguration(SessionToken session, String namespace, String ecName, String operationName)
Deprecated.Gets the configuration for all activities of the designated operationName of the designated configuration namespace.Configuration
GlobalConfiguration. getConfiguration(SessionToken session, String namespace, String ecName, String operationName, String activityName)
Deprecated.Gets the configuration for the designated activity of the designated configuration namespace.Configuration
GlobalUserConfiguration. getConfiguration(SessionToken session, String namespace, long agentId, long orgPosId)
Gets the configuration for the designated agent and the designated namespace.Configuration
GlobalUserConfiguration. getGlobalConfiguration(SessionToken session, String namespace)
Gets the global configuration for the designated namespace.Set<String>
GlobalUserConfiguration. getGlobalNamespaces(SessionToken session)
Gets all namespaces for which global configurations are defined.RemoteIterator<List<String>>
GlobalUserConfiguration. getGlobalNamespacesIterator(SessionToken session)
The same asGlobalUserConfiguration.getGlobalNamespaces(SessionToken)
but with partial retrieval of the entities.byte[]
IconProvider. getIcon(SessionToken session, IconDescriptor iconDescriptor)
Gets the the icon (in PNG-format) identified by the icon descriptor.byte[]
IconProvider. getIcon(SessionToken session, IconDescriptor iconDescriptor, int width, int height)
Gets the the icon (in PNG-format) identified by the icon descriptor.byte[]
IconProvider. getIcon(SessionToken session, UUID iconID)
Gets the (latest revision of the) designated icon (in PNG-format) ornull
in case no icon with the designated ID exists.byte[]
IconProvider. getIcon(SessionToken session, UUID iconID, int width, int height)
Gets the (latest revision of the) designated icon (in PNG-format) with the designated dimensions ornull
in case no icon with the designated ID exists.IconDescriptor
IconProvider. getIconDescriptor(SessionToken session, UUID iconID)
Gets the latest revision of the designated icon descriptor ornull
in case no icon descriptor with the designated ID exists.Set<String>
GlobalConfiguration. getNamespaces(SessionToken session)
Deprecated.Gets all namespaces for which configurations are defined for this global configuration (provider).Set<String>
GlobalUserConfiguration. getNamespaces(SessionToken session, long agentId, long orgPosId)
Gets all namespaces for which configurations are defined for the designated agent.RemoteIterator<List<String>>
GlobalConfiguration. getNamespacesIterator(SessionToken session)
Deprecated.The same asGlobalConfiguration.getNamespaces(SessionToken)
but with partial retrieval of the entities.RemoteIterator<List<String>>
GlobalUserConfiguration. getNamespacesIterator(SessionToken session, long agentId, long orgPosId)
The same asGlobalUserConfiguration.getNamespaces(SessionToken, long, long)
but with partial retrieval of the entities.byte[]
ResourceProvider. getResource(SessionToken session, ResourceDescriptor resourceDescriptor)
Gets the the resource identified by the resource descriptor.byte[]
ResourceProvider. getResource(SessionToken session, UUID resourceID)
Gets the (latest revision of the) designated resource ornull
in case no resource with the designated ID exists.ResourceDescriptor
ResourceProvider. getResourceDescriptor(SessionToken session, UUID resourceID)
Gets the latest revision of the designated resource descriptor ornull
in case no resource descriptor with the designated ID exists.ServerStream
ResourceProvider. getResourceIncrementally(SessionToken session, ResourceDescriptor resourceDescriptor)
The same asResourceProvider.getResource(SessionToken, ResourceDescriptor)
but with incremental retrieval of the resource.ServerStream
ResourceProvider. getResourceIncrementally(SessionToken session, UUID resourceID)
The same asResourceProvider.getResource(SessionToken, UUID)
but with incremental retrieval of the resource.Configuration
GlobalConfiguration. getTestConfiguration(SessionToken session, String namespace)
Deprecated.Gets the global test configuration for all activities of the designated configuration namespace.Configuration
GlobalConfiguration. getTestConfiguration(SessionToken session, String namespace, String ecName)
Deprecated.Gets the test configuration for all activities of the designated executable component description of the designated configuration namespace.Configuration
GlobalConfiguration. getTestConfiguration(SessionToken session, String namespace, String ecName, String operationName)
Deprecated.Gets the test configuration for all activities of the designated operationName of the designated configuration namespace.Configuration
GlobalConfiguration. getTestConfiguration(SessionToken session, String namespace, String ecName, String operationName, String activityName)
Deprecated.Gets the test configuration for the designated activity of the designated configuration namespace.void
GlobalConfiguration. setConfiguration(SessionToken session, String namespace, Configuration configuration)
Deprecated.Sets the global configuration for all activities of the designated configuration namespace to the designated one.void
GlobalConfiguration. setConfiguration(SessionToken session, String namespace, String ecName, Configuration configuration)
Deprecated.Sets the configuration for all activities of the designated executable component description of the designated configuration namespace to the designated one.void
GlobalConfiguration. setConfiguration(SessionToken session, String namespace, String ecName, String operationName, Configuration configuration)
Deprecated.Sets the configuration for all activities of the designated operationName of the designated configuration namespace to the designated one.void
GlobalConfiguration. setConfiguration(SessionToken session, String namespace, String ecName, String operationName, String activityName, Configuration configuration)
Deprecated.Sets the configuration for the designated activity of the designated configuration namespace to the designated one.void
GlobalUserConfiguration. setConfiguration(SessionToken session, String namespace, long agentId, long orgPosId, Configuration conf)
Sets the designated configuration for the designated agent and the designated namespace.void
GlobalUserConfiguration. setGlobalConfiguration(SessionToken session, String namespace, Configuration conf)
Sets the designated global configuration for the designated namespace.void
GlobalConfiguration. setTestConfiguration(SessionToken session, String namespace, Configuration configuration)
Deprecated.Sets the global test configuration for all activities of the designated configuration namespace to the designated one.void
GlobalConfiguration. setTestConfiguration(SessionToken session, String namespace, String ecName, Configuration configuration)
Deprecated.Sets the test configuration for all activities of the designated executable component description of the designated configuration namespace to the designated one.void
GlobalConfiguration. setTestConfiguration(SessionToken session, String namespace, String ecName, String operationName, Configuration configuration)
Deprecated.Sets the test configuration for all activities of the designated operationName of the designated configuration namespace to the designated one.void
GlobalConfiguration. setTestConfiguration(SessionToken session, String namespace, String ecName, String operationName, String activityName, Configuration configuration)
Deprecated.Sets the test configuration for the designated activity of the designated configuration namespace to the designated one. -
Uses of SessionToken in de.aristaflow.adept2.core.inittab
Methods in de.aristaflow.adept2.core.inittab with parameters of type SessionToken Modifier and Type Method Description Map<InitType,TreeMap<Integer,InitTabEntry>>
InitTabManager. getInitTab(SessionToken session)
Returns the complete init tab.DataContainer
InitTabManager. getInitTabInputData(SessionToken session, InitType type, int level)
Returns the input data for the given init tab entry, or null if not applicable.UUID
InitTabManager. getInstanceIDForEntry(SessionToken session, InitType type, int level)
Returns the ID of the currently or last running instance of the given init tab entry, returns null if no instance has run yet.void
InitTabManager. registerNewEntry(SessionToken session, InitTabEntry entry, DataContainer inputData)
This method changes the ID of the designated entry, so provide just any ID.void
InitTabManager. removeInitTabEntry(SessionToken session, InitType type, int level, boolean abortInstance)
Removes an init tab entry and optionally aborts a possibly running instance. -
Uses of SessionToken in de.aristaflow.adept2.core.logmanager
Methods in de.aristaflow.adept2.core.logmanager with parameters of type SessionToken Modifier and Type Method Description long
Log. count(SessionToken session, String sqlWhereClause)
Counts all log entries that match the specified WHERE clause.String
Log. formatCondition(SessionToken session, String conditionFormat, Serializable... values)
Formats the given condition format string and values to an SQL condition that can e.g. be used in the WHERE clause ofLog.query(SessionToken, String, int)
orLog.read(SessionToken, String, String, int, String...)
.String
LogManager. formatCondition(SessionToken session, Log log, String conditionFormat, Serializable... values)
Formats the given condition format string and values to an SQL condition that can e.g. be used in the WHERE clause ofLogManager.query(SessionToken, String, int)
orLog.read(SessionToken, String, String, int, String...)
.ResultSet
Log. query(SessionToken session, String sqlQuery, int maxEntries)
Executes a user-defined SQL query on the data source of the associated log manager.ResultSet
LogManager. query(SessionToken session, String sqlQuery, int maxEntries)
Executes a user-defined SQL query on the data source of this log manager.LogEntry
Log. read(SessionToken session, long logEntryID, String... columnNames)
Reads the log entry with the specified ID.LogEntrySet
Log. read(SessionToken session, String sqlWhereClause, String sqlOrderByClause, int startEntry, int maxEntries, String... columnNames)
Reads all log entries that match the specified WHERE clause.LogEntrySet
Log. read(SessionToken session, String sqlWhereClause, String sqlOrderByClause, int maxEntries, String... columnNames)
Reads all log entries that match the specified WHERE clause. -
Uses of SessionToken in de.aristaflow.adept2.core.logmanager.logs
Methods in de.aristaflow.adept2.core.logmanager.logs with parameters of type SessionToken Modifier and Type Method Description void
ExecutionHistoryWriteAccess. archiveInstance(SessionToken session, UUID instanceLogID)
Archives the data of the designated instance to a separate archive.long
ExecutionHistory. countInstanceHistoryEntries(SessionToken session, UUID instanceLogID)
void
ExecutionHistoryWriteAccess. logInstanceChanged(SessionToken session, long timestamp, Instance instance)
void
ExecutionHistoryWriteAccess. logInstanceFailed(SessionToken session, long timestamp, Instance instance, long errorCode, String errorState, String errorMessage)
void
ExecutionHistoryWriteAccess. logInstanceFinished(SessionToken session, long timestamp, Instance instance)
void
ExecutionHistoryWriteAccess. logInstanceResumed(SessionToken session, long timestamp, Instance instance)
void
ExecutionHistoryWriteAccess. logInstanceStarted(SessionToken session, long timestamp, Instance instance)
void
ExecutionHistoryWriteAccess. logInstanceSuspended(SessionToken session, long timestamp, Instance instance)
void
ExecutionHistoryWriteAccess. logNodeActivated(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeDeselected(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeFailed(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration, long errorCode, String errorState, String errorMessage)
void
ExecutionHistoryWriteAccess. logNodeFinished(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, Map<String,String> nodeName, int iteration, URI[] executionManagerURIs)
void
ExecutionHistoryWriteAccess. logNodePromoted(SessionToken session, long timestamp, Instance instance, int nodeId, int iteration, ProcessConstants.NodeState promState)
Logs that the activity identified by the designated instance, node and node iteration has been promoted.void
ExecutionHistoryWriteAccess. logNodeResetHard(SessionToken session, long timestamp, Instance instance, int nodeId, int iteration, String savepoint)
Logs that the activity identified by the designated instance, node and node iteration has been reset to the designated savepoint.void
ExecutionHistoryWriteAccess. logNodeResetSoft(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeResetTo(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeId, int iteration, String savepoint)
Logs that the activity identified by the designated instance, node and node iteration has been reset itself to the designated savepoint.void
ExecutionHistoryWriteAccess. logNodeResumed(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeSelected(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeSkipped(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logNodeStarted(SessionToken session, long timestamp, Instance instance, int nodeID, Map<String,String> nodeName, int iteration)
void
ExecutionHistoryWriteAccess. logNodeSuppressed(SessionToken session, long timestamp, Instance instance, int nodeId, int iteration, ProcessConstants.NodeState prevState)
Logs that the activity identified by the designated instance, node and node iteration has been suppressed.void
ExecutionHistoryWriteAccess. logNodeSuspended(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration)
void
ExecutionHistoryWriteAccess. logSavepointFlushed(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeId, int iteration, String savepoint)
Logs that the activity identified by the designated instance, node and node iteration has flushed its data with the designated savepoint ID.LogEntrySet
ExecutionHistory. readAllInstanceErrorInformation(SessionToken session, UUID instLogId)
Gets the log entries containing all error information for the specified instance starting with the most recent error.LogEntrySet
ExecutionHistory. readAllNodeErrorInformation(SessionToken session, UUID instanceLogId, int nodeId, int iteration)
Gets the log entries containing all error information for the specified instance, node and iteration starting with the most recent error.List<WorkHistoryEntry>
ExecutionHistory. readCompletedSteps(SessionToken session, long agentID, long orgPositionID, long startEntryID, boolean newerEntries, int maxEntries, boolean sortAscending, Locale... preferredLocales)
Reads all steps completed by the specified agent in the specified org position within the given time frame.List<WorkHistoryEntry>
ExecutionHistory. readCompletedSteps(SessionToken session, long agentID, long orgPositionID, long fromTimestamp, long toTimestamp, int maxEntries, boolean sortAscending, Locale... preferredLocales)
Reads all steps completed by the specified agent in the specified org position within the given time frame.List<WorkHistoryEntry>
ExecutionHistory. readCompletedSteps(SessionToken session, long agentID, Collection<Long> orgPositionIDs, long startEntryID, boolean newerEntries, int maxEntries, boolean sortAscending, Locale... preferredLocales)
Reads all steps completed by the specified agent in the specified org position within the given time frame.List<WorkHistoryEntry>
ExecutionHistory. readCompletedSteps(SessionToken session, long agentID, Collection<Long> orgPositionIDs, long fromTimestamp, long toTimestamp, int maxEntries, boolean sortAscending, Locale... preferredLocales)
Reads all steps completed by the specified agent in the specified org position within the given time frame.List<ExecutionHistoryEntry>
ExecutionHistory. readHistory(SessionToken session, String whereClause, long startEntryID, boolean newerEntries, int maxEntries, boolean sortAscending, Locale... preferredLocales)
Reads all logged events filtered by the designated where clause.LogEntry
ExecutionHistory. readInstanceErrorInformation(SessionToken session, UUID instanceLogID)
Gets the log entry containing the most recent error information for the specified instance.List<ExecutionHistoryEntry>
ExecutionHistory. readInstanceHistory(SessionToken session, UUID instanceLogID, long startEntryID, boolean newerEntries, int maxEntries, boolean sortAscending, Locale... preferredLocales)
Reads logged events for the instance with the given log ID.LogEntry
ExecutionHistory. readNodeErrorInformation(SessionToken session, UUID instanceLogID, int nodeID, int nodeIteration)
Returns the log entry containing the most recent error information for the specified instance, node and iteration ornull
if there is no error information available.LogEntrySet
ExecutionHistory. readPreviousSteps(SessionToken session, UUID instanceLogID, int nodeID, int iteration)
Reads the past finished steps in the specified instance that occurred before the specified node in its specified iteration. -
Uses of SessionToken in de.aristaflow.adept2.core.mailservice
Methods in de.aristaflow.adept2.core.mailservice with parameters of type SessionToken Modifier and Type Method Description EmailResult
MailService. sendMail(SessionToken session, Email mail, boolean allowAsyncRetry)
Sends the designated mail which needs at least one recipient, a subject and a body/text.EmailResult
MailService. sendMail(SessionToken session, Email mail, Map<String,String> addAttributes, boolean allowAsyncRetry)
Sends the designated mail which needs at least one recipient, a subject and a body/text.EmailResult
MailService. sendMail(SessionToken session, String from, List<String> to, List<String> cc, List<String> bcc, String subject, String body, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated sender, subject and body.EmailResult
MailService. sendMail(SessionToken session, String from, List<String> to, List<String> cc, List<String> bcc, String subject, String body, List<SerialisableAttachment> attachments, Map<String,String> addAttributes, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated sender, subject and body.EmailResult
MailService. sendMail(SessionToken session, List<String> to, String subject, String body, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated subject and the designated body.EmailResult
MailService. sendMail(SessionToken session, List<String> to, String subject, String body, Map<String,String> addAttributes, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated subject and the designated body and the optional additional attributes.EmailResult
MailService. sendMail(SessionToken session, List<String> to, List<String> cc, List<String> bcc, String subject, String body, List<SerialisableAttachment> attachments, Map<String,String> addAttributes, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated subject and body and the default sender from theMailService
.EmailResult
MailService. sendMail(SessionToken session, List<String> to, List<String> cc, List<String> bcc, String subject, String body, Map<String,String> addAttributes, boolean allowAsyncRetry)
Sends a mail to the designated recipients having the designated subject and the designated body and the optional additional attributes. -
Uses of SessionToken in de.aristaflow.adept2.core.orgmodelmanager
Methods in de.aristaflow.adept2.core.orgmodelmanager with parameters of type SessionToken Modifier and Type Method Description void
ModelChangeOperations. addAttribute(SessionToken session, EntityType entType, String attrName, DataType dataType)
Adds a new attribute with the given data type to the given entity type.void
ModelChangeOperations. addAttribute(SessionToken session, EntityType entType, String attrName, DataType dataType, boolean readOnly, Map<String,String> omExtMapping, Collection<String> writeBackOmExts)
Adds a new attribute with the designated data type to the designated entity type which is being mapped from the designated attributes from the corresponding org model extensions .void
ModelChangeOperations. addAttribute(SessionToken session, EntityType entType, String attrName, DataType dataType, int sizeHint)
Adds a new attribute with the given data type to the given entity type.void
ModelChangeOperations. addAttribute(SessionToken session, EntityType entType, String attrName, DataType dataType, int sizeHint, String omExtension, String mappedTo, boolean isImported, boolean isReadOnly)
Deprecated, for removal: This API element is subject to removal in a future version.void
ModelChangeOperations. addAttribute(SessionToken session, EntityType entType, String attrName, DataType dataType, String omExtension, String mappedTo, boolean isImported, boolean isReadOnly)
Deprecated, for removal: This API element is subject to removal in a future version.void
ModelChangeOperations. addRelation(SessionToken session, RelationType relType, long id1, long id2)
This method adds a relation of the given type between the two entities identified by the given IDs.void
ModelChangeOperations. addStringAttribute(SessionToken session, EntityType entType, String attrName, int sizeHint, boolean readOnly, Map<String,String> omExtMapping, Collection<String> writeBackOmExts)
Adds a newDataType.STRING
attribute of the designated size to the designated entity type which is being mapped from the designated attributes from the corresponding org model extensions .RichAgent
ClientAdministration. changeMailAddress(SessionToken session, String mailAddress)
Changes the mail address of the user identified by the session token.void
ClientAdministration. changePassword(SessionToken session, String oldPassword, String newPassword)
This method changes the password of the user identified by the session token.RichAgent
ClientAdministration. changePreferredLocale(SessionToken session, Locale locale)
Changes the preferred locale of the user identified by the session token.OrgPolicyReport
PolicyResolution. checkResolvability(SessionToken session, String orgPolicy, boolean createFullReport, boolean rejectParameterReferences)
Tests whether the given OrgPolicy is resolvable for the current state of the OrgModel.long
ModelChangeOperations. createAgent(SessionToken session, String agentUserName, String password)
Adds a new Agent with the given (unique!)long
ModelChangeOperations. createEntity(SessionToken session, Entity entity)
Creates a new entity with the type and attribute values provided in the givenEntity
object and returns the assigned ID.void
ModelChangeOperations. deleteAttribute(SessionToken session, EntityType entType, String attrName)
This method removes an attribute from an entity type.void
ModelChangeOperations. deleteEntity(SessionToken session, EntityType entType, long id)
This method deletes the entity with the given ID of the given type.void
ModelChangeOperations. deleteEntity(SessionToken session, EntityType entType, long id, boolean recursive)
This method deletes the entity with the given ID of the given type and all its relations.void
ModelChangeOperations. deleteRelation(SessionToken session, RelationType relType, long id1, long id2)
This method deletes a relation of the given type between the two entities identified by the given IDs.SerialisablePair<Boolean,Boolean>
ModelExplorer. entityExistsEnabled(SessionToken session, EntityType entType, long id)
Returns whether the entity with the given type and id exists and whether it is enabled.String
OrgPolicyScriptHandler. evaluateScript(SessionToken session, Script script)
Evaluates the given script and returns the generated org policy.Entity
ModelExplorer. getAgentForUserName(SessionToken session, String agentUserName)
Returns the agent for the specified user name.DataType
ModelExplorer. getAttributeDataType(SessionToken session, EntityType entType, String attrName)
Returns the data type of the given attribute of the given entity type.AttributeMetaData
ModelExplorer. getAttributeMetaData(SessionToken session, EntityType entType)
Returns anAttributeMetaData
-object, holding all available meta information about each attribute of the given entity type.String[]
ModelExplorer. getAttributeNames(SessionToken session, EntityType entType)
Returns all attribute names that are currently defined for the given entity type.List<Entity>
ModelExplorer. getEntities(SessionToken session, EntityType entType, boolean excludeDisabled, String... attributes)
This method returns a list containing all entities of the given entity type.List<Entity>
ModelExplorer. getEntities(SessionToken session, EntityType entType, Filter filter, boolean excludeDisabled, String... attributes)
This method returns a list of entities of the given entity type.List<Entity>
ModelExplorer. getEntities(SessionToken session, EntityType entType, String attrName, CmpOperator cmpOperator, Serializable value, boolean excludeDisabled, String... attributes)
This method returns a list of all entities where the given attribute matches the comparison.List<Entity>
ModelExplorer. getEntities(SessionToken session, String orgPolicy, boolean excludeDisabled, String... attributes)
This method returns a list containing the entities which are the result of the given org policy.RemoteIterator<List<Entity>>
ModelExplorer. getEntitiesIterator(SessionToken session, EntityType entType, boolean excludeDisabled, String... attributes)
The same asModelExplorer.getEntities(SessionToken, EntityType, boolean, String...)
but with partial retrieval of the entities.RemoteIterator<List<Entity>>
ModelExplorer. getEntitiesIterator(SessionToken session, EntityType entType, Filter filter, boolean excludeDisabled, String... attributes)
The same asModelExplorer.getEntities(SessionToken, EntityType, Filter, boolean, String...)
but with partial retrieval of the entities.RemoteIterator<List<Entity>>
ModelExplorer. getEntitiesIterator(SessionToken session, EntityType entType, String attrName, CmpOperator cmpOperator, Serializable value, boolean excludeDisabled, String... attributes)
The same asModelExplorer.getEntities(SessionToken, EntityType, String, CmpOperator, Serializable, boolean, String...)
but with partial retrieval of the entities.RemoteIterator<List<Entity>>
ModelExplorer. getEntitiesIterator(SessionToken session, String orgPolicy, boolean excludeDisabled, String... attributes)
The same asModelExplorer.getEntities(SessionToken, String, boolean, String...)
but with partial retrieval of the entities.Entity
ModelExplorer. getEntity(SessionToken session, EntityType entType, long id, String... attributes)
Returns anEntity
-object containing all information about the entity of the given type and with the given id.int
ModelExplorer. getEntityCount(SessionToken session, EntityType entType, boolean excludeDisabled)
Returns the current count of entities of the specified type.String
ClientAdministration. getMailAddress(SessionToken session)
Returns the current mail address of the user identified by the session token.Collection<String>
OrgModelManager. getOrgModelExtensions(SessionToken session)
Gets the names of all org model extensions registered (via corresponding plugins) at this org model manager.Pair<PasswordStrength.PasswordQuality,PasswordStrength>
ModelChangeOperations. getPasswordQuality(SessionToken session, String password, Collection<String> blacklist, Locale locale)
Locale
ClientAdministration. getPreferredLocale(SessionToken session)
Returns the current preferred locale of the user identified by the session token.List<Entity>
ModelExplorer. getRelatedEntities(SessionToken session, EntityType entType, long id, NavFunction navFunction, boolean excludeDisabled, String... attributes)
This method returns a list of all entities that are related to the given entity (of the given type) through a relation of the type along which the givenNavFunction
traverses the OrgModel.List<Entity>
ModelExplorer. getRelatedEntities(SessionToken session, EntityType entType, long id, RelationType relType, boolean leftToRight, boolean excludeDisabled, String... attributes)
This method returns a list of all entities that are related to the given entity (of the given type) through a relation of the given type in the given direction.RemoteIterator<List<Entity>>
ModelExplorer. getRelatedEntitiesIterator(SessionToken session, EntityType entType, long id, NavFunction navFunction, boolean excludeDisabled, String... attributes)
The same asModelExplorer.getRelatedEntities(SessionToken, EntityType, long, NavFunction, boolean, String...)
but with partial retrieval of the entities.RemoteIterator<List<Entity>>
ModelExplorer. getRelatedEntitiesIterator(SessionToken session, EntityType entType, long id, RelationType relType, boolean leftToRight, boolean excludeDisabled, String... attributes)
The same asModelExplorer.getRelatedEntities(SessionToken, EntityType, long, RelationType, boolean, boolean, String...)
but with partial retrieval of the entities.RichAgent
ModelExplorer. getRichAgent(SessionToken session, QualifiedAgent agent)
Convenience method for retrieving all information on the designated qualified agent.Map<QualifiedAgent,RichAgent>
ModelExplorer. getRichAgent(SessionToken session, Collection<QualifiedAgent> agents)
Convenience method for retrieving all information on the designated qualified agents.Collection<RichAgent>
ModelExplorer. getRichAgents(SessionToken session, Collection<Pair<Long,Long>> idPairs)
Gets theRichAgent
s for the designated pairs of agent and org position ID.boolean
ModelExplorer. hasAttribute(SessionToken session, EntityType entType, String attrName)
Returns whether the given entity type has an attribute with the given name.boolean
PolicyResolution. isMember(SessionToken session, long orgPositionID, String orgPolicy)
Semantically this method tests whether the given OrgPosition appears in the result list ofPolicyResolution.resolvePolicy(SessionToken, String)
for the specified OrgPolicy.boolean
PolicyResolution. isMember(SessionToken session, long orgPositionID, String agentUserName, String orgPolicy)
Semantically this method tests whether the given tuple of Agent and OrgPosition is contained in the result list ofPolicyResolution.resolvePolicy(SessionToken, String)
for the specified OrgPolicy.boolean
PolicyResolution. isMember(SessionToken session, String agentUserName, String orgPolicy)
Semantically this method tests whether the given Agent appears in the result list ofPolicyResolution.resolvePolicy(SessionToken, String)
for the specified OrgPolicy.void
ModelChangeOperations. modifyAttribute(SessionToken session, EntityType entType, String attrName, Boolean readOnly, Map<String,Pair<String,Boolean>> omExtMapping)
Changes the mapping properties and the read-only status of the designated attribute.void
ModelChangeOperations. modifyAttribute(SessionToken session, EntityType entType, String attrName, Boolean readOnly, Map<String,String> omExtMapping, Collection<String> writeBackOmExts)
Changes the mapping properties and the read-only status of the designated attribute.void
ModelChangeOperations. modifyAttribute(SessionToken session, EntityType entType, String attrName, String mappedTo, boolean isImported, boolean isReadOnly)
Deprecated, for removal: This API element is subject to removal in a future version.void
ModelChangeOperations. modifyAttribute(SessionToken session, EntityType entType, String attrName, String omExt, String mappedTo, boolean isImported, boolean isReadOnly)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
PolicyResolution. registerOrgPolicyHandler(SessionToken session, String scriptType, OrgPolicyScriptHandler handler, boolean replace)
Registers the designated org policy script handler for the designated script type.SortedMap<Integer,URI[]>
PolicyResolution. registerOrgPolicyScriptService(SessionToken session, String scriptType, URI[] orgPolicyScriptService, boolean replace, boolean append)
Registers theOrgPolicyScriptService
for the designated script type.boolean
ModelExplorer. relationExists(SessionToken session, RelationType relType, long id1, long id2, boolean excludeDisabled)
Tests whether a relation of the given type exists between the two entities identified by the given IDs.Set<QualifiedAgent>
PolicyResolution. resolvePolicy(SessionToken session, String orgPolicy)
Resolves an OrgPolicy and returns all matching tuples of OrgPositions and Agents (or rather their IDs) as a list ofQualifiedAgent
s.RemoteIterator<List<QualifiedAgent>>
PolicyResolution. resolvePolicyIterator(SessionToken session, String orgPolicy)
The same asPolicyResolution.resolvePolicy(SessionToken, String)
but with partial retrieval of the qualified agents.void
OrgModelManager. synchroniseModel(SessionToken session)
Manually triggers synchronisation with external organisational models.boolean
PolicyResolution. unregisterOrgPolicyHandler(SessionToken session, String scriptType, OrgPolicyScriptHandler handler)
Unregisters the org policy script handler for the designated script type from this policy resolution.SortedMap<Integer,URI[]>
PolicyResolution. unregisterOrgPolicyScriptService(SessionToken session, String scriptType, URI[] orgPolicyScriptService)
Unregisters theOrgPolicyScriptService
for the designated script type from this policy resolution.void
ModelChangeOperations. updateEntity(SessionToken session, Entity entity)
Updates an entity with the attribute values provided in the givenEntity
object. -
Uses of SessionToken in de.aristaflow.adept2.core.orgmodelmanager.extension
Methods in de.aristaflow.adept2.core.orgmodelmanager.extension that return SessionToken Modifier and Type Method Description SessionToken
OrgModelSyncAccess. createSession()
Creates a session token for usage by the OM extension.Methods in de.aristaflow.adept2.core.orgmodelmanager.extension with parameters of type SessionToken Modifier and Type Method Description boolean
OrgModelSyncAccess. addRelation(SessionToken session, RelationType relType, long id1, long id2)
Creates a new relation of the designated type between the entities with the designated IDs if it does not exist yet.Pair<Long,Long>
OrgModelSyncAccess. createAgent(SessionToken session, Entity agent)
Adds the designated entity as new agent to the org model.long
OrgModelSyncAccess. createEntity(SessionToken session, Entity entity)
Adds the designated entity to the org model.Pair<Long,Long>
OrgModelSyncAccess. deleteAgent(SessionToken session, Entity agent)
Deletes or disables the designated agent from/in the org model.void
OrgModelSyncAccess. deleteEntity(SessionToken session, Entity entity)
Deletes or disables the designated entity from/in the org model.boolean
OrgModelSyncAccess. deleteRelation(SessionToken session, RelationType relType, long id1, long id2)
Deletes the relation of the designated type between the entities with the designated IDs if it exists.void
OrgModelSyncAccess. ensureAttributes(SessionToken session, EntityType entType, Collection<OrgModelSyncAccess.OmExtAttribute> attrs)
Ensures that the designated entity type has the designated attributes.Pair<Long,String>
OrgModelSyncAccess. getAgentForAutoGenOrgPos(SessionToken session, Entity orgPos)
Gets agent for which the designated org position has been implicitly created.Entity
OrgModelSyncAccess. getAgentForUserName(SessionToken session, String agentUserName)
Gets the agent entity with the designatedPredefinedAttributes.AGENT_USERNAME
.AttributeMetaData
OrgModelSyncAccess. getAttributeMetaData(SessionToken session, EntityType entType)
Gets the attribute meta data for the designated type and for this OM extension.Collection<Entity>
OrgModelSyncAccess. getEntities(SessionToken session, EntityType entType, Filter filter, boolean excludeDisabled)
Gets the entities of the designated type relevant for this OM extension and matching the designated filterCollection<Entity>
OrgModelSyncAccess. getEntitiesFromPreviousRuns(SessionToken session, EntityType entType, boolean excludeDisabled)
Gets all entities of the designated type relevant for this OM extension (the corresponding#ENTITY_OM_EXTENSION_UID
attribute is set) that have a synchronisation run ID less than the current one.Long
OrgModelSyncAccess. getGeneratedOrgPosIdFor(SessionToken session, long agentId)
Gets the ID of the org position entity that has been implicitly created for the agent entity with the designated ID ornull
if no such org position exists.String
OrgModelSyncAccess. getGeneratedOrgPosUidFor(SessionToken session, long agentId)
Gets the string to be used as UID for the org position that is/has been implicitly created for the agent with the designated ID.Collection<Entity>
OrgModelSyncAccess. getRelatedEntities(SessionToken session, RelationType relType, boolean leftToRight, long id, boolean excludeDisabled)
Gets the entities that are relevant for this OM extension and related to the entity of the designated ID when following the designated relation.default void
OrgModelSyncAccess. initAttributes(SessionToken session, boolean disableDeleted, int uidColSizeHint, Collection<EntityType> entTypes)
Deprecated, for removal: This API element is subject to removal in a future version.void
OrgModelSyncAccess. initAttributes(SessionToken session, boolean disableDeleted, String orgPosDom, int uidColSizeHint, Collection<EntityType> entTypes)
Initialises thisOrgModelSyncAccess
and creates the meta attributes for synchronised entities of the designated entity types.ScheduledFuture<?>
SyncService. startDelayedSync(SessionToken session, long delayMillis, boolean logException, boolean rethrow)
Starts the synchronisation to run asynchronously after the designated delay in milliseconds.Future<Boolean>
SyncService. startSync(SessionToken session, boolean logException)
Starts the synchronisation to run asynchronously right after calling this method.Future<Boolean>
OrgModelExtension. startSynchronisation(SessionToken session)
Starts a synchronisation manually for the org model data of this extension.Pair<Long,Long>
OrgModelSyncAccess. updateAgent(SessionToken session, Entity agent)
Updates the designated agent in the org model.void
OrgModelSyncAccess. updateEntity(SessionToken session, Entity entity)
Updates the designated entity in the org model.Method parameters in de.aristaflow.adept2.core.orgmodelmanager.extension with type arguments of type SessionToken Modifier and Type Method Description SyncService
OrgModelSyncAccess. initSyncService(long initDelay, long syncPeriod, BiConsumer<Long,SessionToken> syncRunnable)
Initialises the synchronisation service to regularly propagate changes from external models to the org model. -
Uses of SessionToken in de.aristaflow.adept2.core.processimagerenderer
Methods in de.aristaflow.adept2.core.processimagerenderer with parameters of type SessionToken Modifier and Type Method Description ProcessImageData
ProcessImageRenderer. getInstance(SessionToken session, UUID instanceID, RenderOptions options)
Gets the designated process instance from the process manager as rendered image.ProcessImageData
ProcessImageRenderer. getTemplate(SessionToken session, UUID templateID, RenderOptions options)
Gets the designated process template from the process manager as rendered image.ProcessImageData
ProcessImageRenderer. renderInstance(SessionToken session, Instance instance, RenderOptions options)
Gets the designated process instance as rendered image.ProcessImageData
ProcessImageRenderer. renderTemplate(SessionToken session, Template template, RenderOptions options)
Gets the designated process template as rendered image. -
Uses of SessionToken in de.aristaflow.adept2.core.processmanager
Methods in de.aristaflow.adept2.core.processmanager with parameters of type SessionToken Modifier and Type Method Description static ProcessConstants.InstanceExecutionStatus
ProcessManagerTools. aggregateStatus(SessionToken session, Collection<UUID> parallels, InstanceManager im)
Aggregates several instance execution statuses to one, that is the designated subprocess instances (running in parallel) are retrieved from the designated subprocess manager instance and their execution statuses are aggregated.static ProcessConstants.NodeState
ProcessManagerTools. aggregateSubprocessStatuses(SessionToken session, Collection<UUID> parallels, InstanceManager im)
Aggregates several instance execution statuses to the corresponding node state of the parent node.Map<UUID,UUID>
InstanceManager. archiveInstance(SessionToken session, UUID instanceID)
Archives the designated instance, that is the instance and all related data like the status, child instances (and their statuses) as well as the (modified) template in case of a instance-specific template are removed from this instance manager.SerialisablePair<Collection<UUID>,Map<UUID,UUID>>
TemplateManager. archiveTemplate(SessionToken session, UUID templateID)
Archives the designated template, which removes: the template itself, modified templates based on this template, its embedded templates, all corresponding template statuses, all of its instances (including the ones from the modified and embedded templates based on the designated template, all corresponding instance statuses, This alsoarchives all corresponding instances
.ChangeReport
InstanceManager. changeAndUnlockInstance(SessionToken session, ChangeableInstance instance, Locale... locales)
Releases the lock of the designated instance and incorporates the made changes.ChangeReport
InstanceManager. changeInstance(SessionToken session, ChangeableInstance instance, Locale... locales)
Changes the instance and returns a new UUID but does not release the lock.ExecutableInstance
InstanceManager. createInstanceOf(SessionToken session, UUID templateID, String instanceName, QualifiedAgent supervisorAgent, long creationTime)
Creates a new instance for execution.ExecutableInstance
InstanceManager. createSubInstanceOf(SessionToken session, UUID templateID, String instanceName, QualifiedAgent supervisorAgent, EBPInstanceReference superInstanceActivity, long creationTime)
Creates a new instance as subprocess for execution.Map<UUID,Set<UUID>>
InstanceManager. findInstanceIDsOf(SessionToken session, UUID[] templateIDs, boolean recursively, Filter instanceFilter, Filter instanceStatusFilter)
Finds all instances of the designated templates matching the two filters onInstance
andInstanceStatus
and returns their instance IDs.RemoteIterator<List<SerialisablePair<UUID,UUID>>>
InstanceManager. findInstanceIDsOfIterator(SessionToken session, UUID[] templateIDs, boolean recursively, Filter instanceFilter, Filter instanceStatusFilter)
Similar toInstanceManager.findInstanceIDsOf(SessionToken, UUID[], boolean, Filter, Filter)
but with partial retrieval of the instance IDs and therefore no grouping by template ID.Map<UUID,Set<InstanceReference>>
InstanceManager. findInstanceRefsOf(SessionToken session, UUID[] templateIds, boolean recursively, Filter instanceFilter, Filter instanceStatusFilter)
Finds all instances of the designated templates matching the two filters onInstance
andInstanceStatus
and returns lightweight objects.RemoteIterator<List<InstanceReference>>
InstanceManager. findInstanceRefsOfIterator(SessionToken session, UUID[] templateIds, boolean recursively, Filter instanceFilter, Filter instanceStatusFilter)
Similar toInstanceManager.findInstanceRefsOf(SessionToken, UUID[], boolean, Filter, Filter)
but with partial retrieval of the instance references and therefore no grouping by template ID.Set<TemplateReference>
TemplateManager. findTemplates(SessionToken session, Filter templateFilter, Filter templateStatusFilter)
Finds all templates (except embedded and instance-specific ones) matching the two filters onTemplate
andTemplateStatus
and returns their template references.RemoteIterator<List<TemplateReference>>
TemplateManager. findTemplatesIterator(SessionToken session, Filter templateFilter, Filter templateStatusFilter)
The same asTemplateManager.findTemplates(SessionToken, Filter, Filter)
but with partial retrieval of the template references.Map<UUID,Set<UUID>>
InstanceManager. getAllInstanceIDsOf(SessionToken session, UUID[] templateIDs, boolean recursively)
Gets the (logical) IDs of all process instances of the designated process templates.Set<UUID>
InstanceManager. getAllInstanceIDsOf(SessionToken session, UUID templateID, boolean recursively)
Gets the (logical) IDs of all process instances of the designated process template.RemoteIterator<List<SerialisablePair<UUID,UUID>>>
InstanceManager. getAllInstanceIDsOfIterator(SessionToken session, UUID[] templateIDs, boolean recursively)
Similar toInstanceManager.getAllInstanceIDsOf(SessionToken, UUID[], boolean)
but with partial retrieval of the instance IDs and therefore no grouping by template ID.Set<UUID>
TemplateManager. getAllTemplateIDs(SessionToken session)
Gets the IDs of all process templates managed by this process manager except IDs of separated embedded process templates and instance-specific templates.Set<UUID>
TemplateManager. getAllTemplateIDs(SessionToken session, TemplateManager.TemplateKind kind)
Gets the IDs of all process templates managed by this process manager of the designated kind.RemoteIterator<List<UUID>>
TemplateManager. getAllTemplateIDsIterator(SessionToken session)
The same asTemplateManager.getAllTemplateIDs(SessionToken)
but with partial retrieval of the template IDs.RemoteIterator<List<UUID>>
TemplateManager. getAllTemplateIDsIterator(SessionToken session, TemplateManager.TemplateKind kind)
The same asTemplateManager.getAllTemplateIDs(SessionToken, TemplateKind)
but with partial retrieval of the template IDs.Set<TemplateReference>
TemplateManager. getAllTemplateReferences(SessionToken session)
Gets the lightweight representations of all process templates managed by this process manager except the ones for embedded and instance-specific process templates.RemoteIterator<List<TemplateReference>>
TemplateManager. getAllTemplateReferencesIterator(SessionToken session)
The same asTemplateManager.getAllTemplateReferences(SessionToken)
but with partial retrieval of the template references.ChangeableInstance
InstanceManager. getAndLockInstanceForChanging(SessionToken session, UUID instanceID)
Gets a process instance that may be changed after retrieval.ExecutableInstance
InstanceManager. getAndLockInstanceForExecution(SessionToken session, UUID instanceId)
Gets an object allowing to execute the designated instance, which is, setting the states and the performer of the nodes.InstanceStatus
InstanceManager. getAndLockInstanceStatus(SessionToken session, UUID instanceID)
Gets an object representing the status of the designated process instance and locks the instance for further manipulation, for instance, another status change, a schema-evolution or even a new instantiation.TemplateStatus
TemplateManager. getAndLockTemplateStatus(SessionToken session, UUID templateID)
Gets an object containing the status of the designated process template and locks the template for further manipulation, for instance, another status change, a schema-evolution or a new instantiation.URI[]
ProcessManager. getExecutionLogManager(SessionToken session)
Gets the log manager responsible for theExecutionHistory
assigned to this process manager for logging information about the execution of its process instances.Instance
InstanceManager. getInstance(SessionToken session, UUID instanceID)
Gets the designated process instance conforming to the ADEPT2-process model.InstanceReference
InstanceManager. getInstanceReference(SessionToken session, UUID instanceID)
Gets the lightweight representation of the designated process instance.InstanceStatus
InstanceManager. getInstanceStatus(SessionToken session, UUID instanceID)
Gets an object representing the status of the designated process instance, that is, whether the instance is outdated, may be derived, may be instantiated, whether instances may be migrated to and whether instances are changeable.Collection<InstanceNode>
InstanceManager. getInstanceTreesOf(SessionToken session, UUID[] rootTemplateIds, UUID[] selectedTemplateIds, Filter instanceFilter, Filter instanceStatusFilter)
Gets trees for all instances of the designated templates matching the instance filter.static TemplateReference
ProcessManagerTools. getLatestTemplateVersion(SessionToken session, String processType, TemplateManager templMgr, FilterFactory filtFactory)
Tries to retrieve the template of the designated process type having the highest version number in the template manager.UUID
InstanceManager. getLogicalInstanceID(SessionToken session, UUID logID)
Gets the current logical ID of the instance with the designated log ID.Template
TemplateManager. getTemplate(SessionToken session, UUID templateID)
Gets the designated process template conforming to the ADEPT2-process model.TemplateManager.TemplateKind
TemplateManager. getTemplateKind(SessionToken session, UUID templateID)
Gets the kind of the template with the designated ID, that is whether the template is embedded and/or instance-specific.TemplateReference
TemplateManager. getTemplateReference(SessionToken session, UUID templateID)
Gets the lightweight representation of the designated process template.TemplateStatus
TemplateManager. getTemplateStatus(SessionToken session, UUID templateID)
Gets an object containing the status of the designated process template, that is, whether the template is outdated, may be derived, may be instantiated, whether instances may be migrated to the process template and whether instances are changeable.TemplateNode
TemplateManager. getTemplateTree(SessionToken session, TemplateReference root)
Gets a template (sub-)tree of the designatedTemplate
.Map<UUID,TemplateNode>
TemplateManager. getTemplateTrees(SessionToken session, String procType)
Gets trees for allTemplate
s belonging to the designated process type.ExecutableInstance
InstanceManager. regetInstanceForExecution(SessionToken session, UUID instanceId)
Gets the executable instance again whileholding the lock
.void
InstanceManager. setExecutableInstance(SessionToken session, ExecutableInstance executableInstance)
Saves the made changes for the designated instance but does not unlock the instance.void
InstanceManager. setExecutionStatus(SessionToken session, UUID instanceID, ProcessConstants.InstanceExecutionStatus executionStatus, String comment)
Sets the execution status of the designated instance according to the designated values.void
InstanceManager. setInstanceStatus(SessionToken session, InstanceStatus instanceStatus)
Sets the status of the instance (identified by the instance status object), to the new status.void
TemplateManager. setTemplateStatus(SessionToken session, TemplateStatus templateStatus)
Sets the status of the template (identified by the template status object), to the new status.CheckReport
TemplateManager. storeNewTemplate(SessionToken session, Template template, TemplateStatus templateStatus, Locale... locales)
Stores the designated template and the corresponding status object in the process manager.CheckReport
TemplateManager. storeNewTemplates(SessionToken session, Template[] templates, TemplateStatus[] templateStatuses, Locale... locales)
Stores the designated templates and the corresponding status objects in the process manager.void
InstanceManager. unlockChangeableInstance(SessionToken session, UUID instanceID)
Releases the lock of the designated instance but ignores the made changes.void
InstanceManager. unlockExecutableInstance(SessionToken session, UUID instanceID)
Unlocks the designated instance and ignores any changes.void
InstanceManager. unlockInstanceStatus(SessionToken session, UUID instanceID)
Unlocks the status of the designated instance ignores made changes and and releases the change lock on the process instance status.void
TemplateManager. unlockTemplateStatus(SessionToken session, UUID templateID)
Unlocks the status of the designated template, ignores made changes and and releases the lock on the process template status. -
Uses of SessionToken in de.aristaflow.adept2.core.processrepository
Methods in de.aristaflow.adept2.core.processrepository with parameters of type SessionToken Modifier and Type Method Description ProcessType
ProcessRepository. createProcessType(SessionToken session, String newProcessType)
Creates a new process type with the designated name, stores the liable user and creates the root template, which is just a copy of the implicit null template.Collection<CheckReport>
ProcessTemplateManager. deployProcessTemplate(SessionToken session, UUID templateId, Collection<URI[]> pmUris, boolean includeReferenced, Locale... locales)
Deploys a released process template and optionally all referenced subprocess templates to the designated process managers.void
ProcessTemplateManager. deployProcessTemplate(SessionToken session, UUID templateID, Set<URI[]> processManagerURIs)
Deploys a released process template to the designated process managers.ChangeableTemplate
ProcessTemplateManager. deriveNewChildTemplate(SessionToken session, UUID parentTemplateID)
Creates and locks a template as child of the designated parent template.Set<TemplateProxy>
ProcessRepository. findUsageOfActivityTemplate(SessionToken session, UUID activityTemplateVersionID)
Finds all process templates which use the designated activity template in a process step.RemoteIterator<List<TemplateProxy>>
ProcessRepository. findUsageOfActivityTemplateIterator(SessionToken session, UUID activityTemplateVersionID)
The same asProcessRepository.findUsageOfActivityTemplate(SessionToken, UUID)
but with partial retrieval of the template proxies.Set<UUID>
DataTypeManager. findUsageOfDataType(SessionToken session, String userDefinedDataType)
Finds all process templates (including instance-specific templates) in this process repository which contain a data element of the designated user-defined data type.RemoteIterator<List<UUID>>
DataTypeManager. findUsageOfDataTypeIterator(SessionToken session, String userDefinedDataType)
The same asDataTypeManager.findUsageOfDataType(SessionToken, String)
but with partial retrieval of the process template IDs.Set<TemplateProxy>
ProcessRepository. findUsageOfProcessTemplate(SessionToken session, UUID processTemplateID)
Finds all process templates which reference the designated process template as subprocess.RemoteIterator<List<TemplateProxy>>
ProcessRepository. findUsageOfProcessTemplateIterator(SessionToken session, UUID processTemplateID)
The same asProcessRepository.findUsageOfProcessTemplate(SessionToken, UUID)
but with partial retrieval of the template proxies.List<String>
DataTypeManager. getAllDataTypes(SessionToken session)
Gets a list of names of all user defined data types in the process repository.RemoteIterator<List<String>>
DataTypeManager. getAllDataTypesIterator(SessionToken session)
The same asDataTypeManager.getAllDataTypes(SessionToken)
but with partial retrieval of the data types.Set<ProcessType>
ProcessRepository. getAllProcessTypes(SessionToken session)
Gets all process types in this repository.RemoteIterator<List<ProcessType>>
ProcessRepository. getAllProcessTypesIterator(SessionToken session)
The same asProcessRepository.getAllProcessTypes(SessionToken)
but with partial retrieval of the process types.Set<TemplateProxy>
ProcessTemplateManager. getAllTemplateProxies(SessionToken session, Filter filter)
Gets all lightweight objects (TemplateProxy
) that match the designated filter based onTemplateProxy
.RemoteIterator<List<TemplateProxy>>
ProcessTemplateManager. getAllTemplateProxiesIterator(SessionToken session, Filter filter)
The same asProcessTemplateManager.getAllTemplateProxies(SessionToken, Filter)
but with partial retrieval of the lightweight objects for process templates.List<UserDefinedFunction>
DataTypeManager. getAllUDFs(SessionToken session, String userDefinedDataType)
Gets all user-defined functions that are registered for the designated data type.RemoteIterator<List<UserDefinedFunction>>
DataTypeManager. getAllUDFsIterator(SessionToken session, String userDefinedDataType)
The same asDataTypeManager.getAllUDFs(SessionToken, String)
but with partial retrieval of the user-defined functions.ChangeableTemplate
ProcessTemplateManager. getAndLockTemplate(SessionToken session, UUID templateID)
Gets a template in construction for further modification.TemplateStatus
ProcessTemplateManager. getAndLockTemplateStatus(SessionToken session, UUID templateID)
Gets an object containing the status of the designated process template and locks the template status for further manipulation, for instance, another status change, a schema-evolution or a new instantiation.Map<TemplateProxy,Collection<TemplateProxy>>
ProcessRepository. getParentTree(SessionToken session, UUID templId)
Finds the parent tree of the designated process template, that is, all (top-level) process templates that use the designated process template or one of its parents as subprocess.RemoteIterator<List<SerialisablePair<TemplateProxy,TemplateProxy>>>
ProcessRepository. getParentTreeIterator(SessionToken session, UUID templId)
The same asProcessRepository.getParentTree(SessionToken, UUID)
but with partial retrieval of the template proxies.Template
ProcessTemplateManager. getTemplate(SessionToken session, UUID templateID)
Gets the designated process template without locking it.TemplateProxy
ProcessTemplateManager. getTemplateProxy(SessionToken session, UUID templateID)
Gets a lightweight object (TemplateProxy
) of the designated process template.TemplateStatus
ProcessTemplateManager. getTemplateStatus(SessionToken session, UUID templateID)
Gets an object containing the status of the designated process template, that is, whether the template is outdated, may be derived, may be instantiated, whether instances may be migrated to the process template and whether instances are changeable.void
ProcessTemplateManager. release(SessionToken session, UUID templateID)
Enables the instantiation and usage of the process template by setting the buildtime state toRELEASED
.TemplateDeltaLayer
ProcessTemplateManager. retrieveTemplateDeltaLayer(SessionToken session, UUID templateID)
Retrieves graph structures (deltas) representing all changes of the designated template relative to the null template.TemplateDeltaLayer
ProcessTemplateManager. retrieveTemplateDeltaLayer(SessionToken session, UUID templateID, UUID ancestorTemplateID)
Retrieves graph structures (deltas) representing all changes of the designated template relative to the designated parent template.void
ProcessTemplateManager. setTemplateStatus(SessionToken session, TemplateStatus templateStatus)
Sets the status of the template (identified by the template status object), to the new status.CheckReport
ProcessTemplateManager. storeTemplate(SessionToken session, Template template, boolean checkValidity, Document history, TemplateDeltaLayer structuralChanges, Locale... locales)
Stores (but does not unlock) a modified template (which has been checked out for modification beforehand.int
ProcessTemplateManager. unlockTemplate(SessionToken session, UUID templateID)
Unlocks the designated process template for the user identified by the session and also the corresponding template status it this is also locked.int
ProcessTemplateManager. unlockTemplateStatus(SessionToken session, UUID templateID)
Unlocks the status of the designated template, ignores made changes and releases the lock on the process template status.CheckReport
ProcessTemplateManager. validateTemplate(SessionToken session, UUID templateId, Locale... locales)
Tries to validate the template and fills the designatedCheckReport
for useful feedback. -
Uses of SessionToken in de.aristaflow.adept2.core.registry
Methods in de.aristaflow.adept2.core.registry that return SessionToken Modifier and Type Method Description protected SessionToken
AuthenticatedInjectedService. createChildSession(SessionToken parentSession)
protected SessionToken
AuthenticatedInjectedService. createSession()
Methods in de.aristaflow.adept2.core.registry with parameters of type SessionToken Modifier and Type Method Description protected void
InitialisedInjectedService. _sessionActive(SessionToken session, UUID templId, UUID baseTemplId, UUID embdTemplId, UUID instId, EBPInstanceReference ebpIR, int addStackElems)
protected void
InitialisedInjectedService. _sessionFinished(SessionToken session, int addStackElems)
void
InitialisedInjectedService. changeLogContext(String contextString, SessionToken session, UUID templId, UUID baseTemplId, UUID embdTemplId, UUID instId, EBPInstanceReference ebpIr)
protected SessionToken
AuthenticatedInjectedService. createChildSession(SessionToken parentSession)
protected QualifiedAgent
AuthenticatedInjectedService. getAgent(SessionToken session)
protected QualifiedAgent
AuthenticatedInjectedService. getTopLevelAgent(SessionToken session)
protected Pair<QualifiedAgent,QualifiedAgent>
AuthenticatedInjectedService. getUserCredentials(SessionToken session)
void
InitialisedInjectedService. logMethodEntry(String contextString, SessionToken session, String msg)
void
InitialisedInjectedService. logMethodEntry(String contextString, SessionToken session, String msg, UUID templId, UUID baseTemplId, UUID embdTemplId, UUID instId, EBPInstanceReference ebpIr)
protected void
InitialisedInjectedService. logMethodEntry(String contextString, SessionToken session, String msg, UUID templId, UUID baseTemplId, UUID embdTemplId, UUID instId, EBPInstanceReference ebpIr, int removeElems)
void
InitialisedInjectedService. sessionActive(SessionToken session)
protected void
InitialisedInjectedService. sessionActive(SessionToken session, UUID templId, UUID embdTemplId, EBPInstanceReference ebpIr)
protected void
InitialisedInjectedService. sessionActive(SessionToken session, UUID templId, UUID baseTemplId, UUID embdTemplId, UUID instId)
void
InitialisedInjectedService. sessionFinished(SessionToken session)
protected boolean
AuthenticatedInjectedService. sessionHasAllCapabilities(SessionToken session, String... capabilities)
protected boolean
AuthenticatedInjectedService. sessionHasCapability(SessionToken session, String capability)
Deprecated.protected boolean
AuthenticatedInjectedService. sessionHasOneCapability(SessionToken session, String... capabilities)
-
Uses of SessionToken in de.aristaflow.adept2.core.registry.cluster
Methods in de.aristaflow.adept2.core.registry.cluster with parameters of type SessionToken Modifier and Type Method Description SimpleClusterNodeInformation
ClusterNode. doubtfulStatus(SessionToken session, String requestingNode, long lastRequesterUpdate, long lastServerUpdate, long serverRunningSince)
Deprecated.SimpleClusterNodeInformation
ClusterNode. getNodeInformation(SessionToken session)
Deprecated.protected GlobalRegistry
ClusterPlatform. globalRegistryChanged(SessionToken session, URI globRegUri)
-
Uses of SessionToken in de.aristaflow.adept2.core.registry.twophase
Methods in de.aristaflow.adept2.core.registry.twophase with parameters of type SessionToken Modifier and Type Method Description protected GlobalRegistry
TwoPhasePlatform. globalRegistryChanged(SessionToken session, URI globRegUri)
Notifies the bootstrap registry that the URI of the global registry has changed to the designated URI. -
Uses of SessionToken in de.aristaflow.adept2.core.runtimemanager
Methods in de.aristaflow.adept2.core.runtimemanager with parameters of type SessionToken Modifier and Type Method Description boolean
ExecutionControlManager. abortActivity(SessionToken session, EBPInstanceReference activity, long timeToRespond, boolean propagate)
Instructs the runtime client to abort the specified activity and propagate the abortion if appropriate, e. g. to subprocess instances.void
RuntimeManager. commit(SessionToken session, EBPInstanceReference ebpInstanceReference)
Instructs the runtime manager to inform the specified activity about the commit of the transaction it participated.void
ExecutionControlManager. finishActivity(SessionToken session, EBPInstanceReference activity)
Instructs the execution control manager to stop the specified activity.Map<EBPInstanceReference,ActivityState>
ExecutionControlManager. getActivities(SessionToken session, ActivityState.State[] states)
Gets all activities of the agent identified by the designated session token and their corresponding state.RemoteIterator<List<SerialisablePair<EBPInstanceReference,ActivityState>>>
ExecutionControlManager. getActivitiesIterator(SessionToken session, ActivityState.State[] states)
The same asExecutionControlManager.getActivities(SessionToken, ActivityState.State[])
but with partial retrieval of the activities and their state.ActivityState
ExecutionControlManager. getActivityState(SessionToken session, EBPInstanceReference activity)
Gets the current state of the designated activity ornull
in case the activity is not yet known or not known any more.Map<EBPInstanceReference,ActivityState>
ExecutionControlManager. getAllActivities(SessionToken session, ActivityState.State[] states)
Gets all activities and their corresponding state.RemoteIterator<List<SerialisablePair<EBPInstanceReference,ActivityState>>>
ExecutionControlManager. getAllActivitiesIterator(SessionToken session, ActivityState.State[] states)
The same asExecutionControlManager.getAllActivities(SessionToken, ActivityState.State[])
but with partial retrieval of the activities and their state.ExecutionControlProperties
ExecutionControlManager. getExecutionControlProperties(SessionToken session, EBPInstanceReference activity)
Gets theExecutionControlProperties
for the designated activity.Map<EBPInstanceReference,ProcessConstants.NodeState>
RuntimeManager. logoffAndTerminateActivities(SessionToken session, QualifiedAgent agent, boolean forceTermination)
Logs the agent off that is identified by the designated client session factory.void
RuntimeManager. logon(SessionToken session, ClientSessionFactory clientSessionFactory)
Logs the agent on that is identified by the designated session token and stores the corresponding client session factory for communicating component signals to the execution manager.Vote
RuntimeManager. prepareCommit(SessionToken session, EBPInstanceReference ebpInstanceReference)
Instructs the runtime manager to prepare the specified activity for committing its work done within the transaction it participated.URI[]
LocalActivityStateNotifier. registerActivityStateListener(SessionToken session, EBPInstanceReference activity, ActivityStateNotification listener)
Registers the designated listener for state changes of the designated activity.void
ExecutionControlManager. resetActivity(SessionToken session, EBPInstanceReference activity)
Instructs the execution control manager to reset the specified activity.void
RuntimeManager. resumeActivity(SessionToken session, EBPInstanceReference ebpInstanceReference, ExecutionContext executionContext)
Instructs the runtime manager to resume the specified activity.GUIContext
SynchronousActivityStarting. resumeActivitySynchronously(SessionToken session, EBPInstanceReference activity)
Resumes the designated activity and logs the agent, the organisational position.GUIContext
SynchronousActivityStarting. resumeActivitySynchronously(SessionToken session, EBPInstanceReference activity, URI[] stateListener)
Resumes the designated activity and logs the agent, the organisational position.void
RuntimeManager. rollbackActivity(SessionToken session, EBPInstanceReference ebpInstanceReference)
Instructs the runtime manager to instruct the specified activity to rollback its work done within the transaction it participated.void
ExecutionControlManager. sendSignalToActivity(SessionToken session, EBPInstanceReference activity, int signal)
Instructs the runtime manager to signal the specified event to the specified activity.void
RuntimeManager. startActivity(SessionToken session, EBPInstanceReference ebpInstanceReference, ExecutionContext executionContext)
Instructs the runtime manager to start the Application assigned to the specified activity.GUIContext
SynchronousActivityStarting. startActivitySynchronously(SessionToken session, EBPInstanceReference activity, ProcessConstants.ExecutionMode executionMode, URI[] stateListener)
Starts the designated activity in the designated execution mode and logs the agent, the organisational position.void
ExecutionControlManager. suspendActivity(SessionToken session, EBPInstanceReference activity, boolean propagate)
Instructs the execution control manager to suspend the specified activity and propagate the suspension if appropriate, e. g. to subprocess instances.void
LocalActivityStateNotifier. unregisterActivityStateListener(SessionToken session, EBPInstanceReference activity, ActivityStateNotification listener)
Unregisters the designated listener for state changes of the designated activity.void
SynchronousActivityStarting. unregisterActivityStateListener(SessionToken session, EBPInstanceReference activity, URI[] stateListener)
Unregisters the designated listener for activity terminations.void
RuntimeManager. updateClientSessionFactory(SessionToken session, ClientSessionFactory csf)
Updates the designated client session factory.ActivityState
ExecutionControlManager. waitForTermination(SessionToken session, EBPInstanceReference activity, long timeToRespond)
Waits for the designated time for the designated activity to terminate and returns the last state when leaving this method. -
Uses of SessionToken in de.aristaflow.adept2.core.runtimemanager.gui
Fields in de.aristaflow.adept2.core.runtimemanager.gui with type parameters of type SessionToken Modifier and Type Field Description protected Map<EBPInstanceReference,Triple<LocalActivityStateNotifier,URI[],SessionToken>>
AbstractGUIManager. listeners
The activity state listeners this GUI manager is registered at for the corresponding activities.Methods in de.aristaflow.adept2.core.runtimemanager.gui with parameters of type SessionToken Modifier and Type Method Description GUIContext
AbstractGUIManager. createGUIContext(SessionToken session, de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext trCtxt, ExecutionControlManager ecm)
Creates a GUI context for the designatedTransferrableGUIContext
and the designatedExecutionControlManager
.URI[]
AbstractGUIManager. getActivityStateListenerURIs(SessionToken session, EBPInstanceReference activity)
URI[]
RemoteGUIManager. getActivityStateListenerURIs(SessionToken session, EBPInstanceReference activity)
Registers this GUI manager as state listener for the designated activity and returns the URIs of the (local) notification service that needs to be registered at theSynchronousActivityStarting
.protected ExecutionControlManager
AbstractGUIManager. getExecutionControlManager(SessionToken session, EBPInstanceReference activity)
Gets the execution control manager for the designated activity, that is, the execution control manager of the runtime manager of the designated activity.GUIContext
GUIManager. getGUIContext(SessionToken session, ActivityInstance activityInstance, EBPInstanceReference ebpInstanceReference, String sessionId, ExecutionContext executionContext, ExecutionControlManager executionControlManager, Thread thread)
Gets an appropriate GUI context for the designated activity as configured locally for the corresponding client.GUIContext
AbstractGUIManager. getLocalForRemoteGuiContext(SessionToken session, de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext transfrdCtxt)
GUIContext
RemoteGUIManager. getLocalForRemoteGuiContext(SessionToken session, de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext transfrdCtxt)
Gets an appropriate GUI context for the designatedTransferableGUIContext
.ProcessConstants.NodeState
AbstractGUIManager. terminateRemoteExecution(SessionToken session, EBPInstanceReference activity, String sessionID)
Terminates the (remote) execution of the designated activity, that is, the execution control manager of the designated activity is instructed appropriately. -
Uses of SessionToken in de.aristaflow.adept2.core.runtimeservice
Methods in de.aristaflow.adept2.core.runtimeservice with parameters of type SessionToken Modifier and Type Method Description void
RemoteRuntimeEnvironment. applicationClosed(SessionToken token, String sessionID, SerialisableDataContext dataContext)
Signals the termination of the designated execution session that is the execution is closed.void
RemoteRuntimeEnvironment. applicationFailed(SessionToken token, String sessionID, ApplicationEnvironmentException excpt, SerialisableDataContext dataContext)
Signals the failing of the designated execution session that is the execution is terminated due to the designated application environment exception and all data produced yet is invalidated.void
RemoteRuntimeEnvironment. applicationFailed(SessionToken token, String sessionID, ApplicationFailedException excpt, SerialisableDataContext dataContext)
Signals the failing of the designated execution session that is the execution is terminated due to the designated application failed exception and all data produced yet is invalidated.void
RemoteRuntimeEnvironment. applicationFailed(SessionToken token, String sessionID, String errorMessage, String state, long errorCode, SerialisableDataContext dataContext)
Signals the failing of the designated execution session that is the execution is terminated due to a failure and all data produced yet is invalidated.void
RemoteRuntimeEnvironment. applicationReset(SessionToken token, String sessionID, SerialisableDataContext dataContext)
Signals the termination of the designated execution session that is the execution is reset and all data produced yet (including from previous execution sessions) is invalidated.void
RemoteRuntimeEnvironment. applicationResetTo(SessionToken token, String sessionId, String savepoint, SerialisableDataContext dataContext)
Signals the termination of the designated execution session that is the execution is reset to the designated savepoint.void
RemoteRuntimeEnvironment. applicationResetToPreviousSavepoint(SessionToken token, String sessionId, SerialisableDataContext dataContext)
Signals the termination of the designated execution session that is the execution is reset to the last savepoint before the execution started.void
RemoteRuntimeEnvironment. applicationSuspended(SessionToken token, String sessionID, SerialisableDataContext dataContext)
Signals the termination of the designated execution session that is the execution is suspended.void
RemoteProgressMonitor. beginTask(SessionToken token, String sessionID)
void
RemoteProgressMonitor. beginTask(SessionToken token, String sessionID, int overallWorkUnits)
void
RemoteProgressMonitor. endTask(SessionToken token, String sessionID)
Boolean
RemoteExecutionControlManager. finishActivity(SessionToken session, EBPInstanceReference activity, long timeout)
Sends a finish request just likeExecutionControlManager.finishActivity(SessionToken, EBPInstanceReference)
but only waits the designated time for a response to the finish request.byte[]
RemoteRuntimeEnvironment. getApplicationState(SessionToken token, String sessionId, String savepoint)
String
RemoteRuntimeEnvironment. getLastSavepoint(SessionToken token, String sessionId)
ActivityInstance
RemoteRuntimeEnvironment. getLocalisedActivityInstance(SessionToken token, String sessionId)
Gets the activity instance localised with respect to the rich agent of the designated execution session.ProgressMonitor
RuntimeService. getProgressMonitor(SessionToken token, String sessionID)
Gets theProgressMonitor
for the designated execution session.SimpleSessionContext
RemoteActivityStarting. getSimpleSessionContext(SessionToken session, EBPInstanceReference activity, ProcessConstants.ExecutionMode executionMode)
Gets an incomplete simple session context for the designated activity.Pair<Map<EBPInstanceReference,SimpleSessionContext>,Map<EBPInstanceReference,Throwable>>
RemoteActivityStarting. getSimpleSessionContexts(SessionToken session, Collection<EBPInstanceReference> activities, ProcessConstants.ExecutionMode executionMode)
Gets incomplete simple session contexts for the designated activities.List<de.aristaflow.adept2.model.runtimeenvironment.messages.execution.ExecutionMessage>
RemoteRuntimeEnvironment. getUnrepliedRequests(SessionToken token, String sessionID)
Gets the request messages that have been sent to the designated execution session.Map<EBPInstanceReference,ProcessConstants.NodeState>
RuntimeService. logoffAndTerminateActivities(SessionToken session, QualifiedAgent agent, boolean forceTermination)
Logs the agent off that is identified by the designated client session factory.void
RuntimeService. logon(SessionToken token, ClientSessionFactory csf)
Does nothing since a runtime service does not know about logged on agents.void
RemoteProgressMonitor. progress(SessionToken token, String sessionID)
URI[]
LocalExecutionMessageNotifier. registerExecutionMessageListener(SessionToken session, String sessionId, ExecutionMessageNotification listener)
Registers the designated listener for messages of the designated execution session.boolean
RemoteRuntimeEnvironment. replyMessage(SessionToken token, de.aristaflow.adept2.model.runtimeenvironment.messages.execution.ReplyMessage<?> reply)
Replies to a request message received byRemoteRuntimeEnvironment.getUnrepliedRequests(SessionToken, String)
.Boolean
RemoteExecutionControlManager. resetActivity(SessionToken session, EBPInstanceReference activity, long timeout)
Sends a reset request just likeExecutionControlManager.resetActivity(SessionToken, EBPInstanceReference)
but only waits the designated time for a response to the reset request.SimpleSessionContext
RemoteActivityStarting. resumeActivity(SessionToken session, EBPInstanceReference activity, URI[] exeMsgListener)
Resumes the designated activity from the latest valid savepoint if the activity is appropriate for aRuntimeService
and provides its process context and the execution session ID.Boolean
RemoteExecutionControlManager. sendSignalToActivity(SessionToken session, EBPInstanceReference activity, int signal, long timeout)
Sends a signal just likeExecutionControlManager.sendSignalToActivity(SessionToken, EBPInstanceReference, int)
but only waits the designated time for a response to the signal.void
RemoteRuntimeEnvironment. setApplicationState(SessionToken token, String sessionId, byte[] applicationState)
void
RemoteRuntimeEnvironment. setSavepoint(SessionToken token, String sessionId, String savepoint, boolean flush, SerialisableDataContext dataContext)
void
RemoteProgressMonitor. setTaskState(SessionToken token, String sessionID, TaskState taskState)
SimpleSessionContext
RemoteActivityStarting. startActivity(SessionToken session, EBPInstanceReference activity, ProcessConstants.ExecutionMode executionMode, URI[] exeMsgListener)
Starts the designated activity if it is appropriate for aRuntimeService
and provides its process context and the execution session ID.Boolean
RemoteExecutionControlManager. suspendActivity(SessionToken session, EBPInstanceReference activity, long timeout)
Sends a suspend request just likeExecutionControlManager.suspendActivity(SessionToken, EBPInstanceReference, boolean)
but only waits the designated time for a response to the suspend request.void
LocalExecutionMessageNotifier. unregisterExecutionMessageListener(SessionToken session, String sessionId, ExecutionMessageNotification listener)
Unregisters the designated listener for messages state of the designated execution session. -
Uses of SessionToken in de.aristaflow.adept2.core.transactionmanager
Methods in de.aristaflow.adept2.core.transactionmanager that return types with arguments of type SessionToken Modifier and Type Method Description TxManager<SessionToken>
GlobalTransactionManager. getTxManager(JDBCDataSource dataSource)
Gets a transaction manager based onSessionToken
for the designated data source. -
Uses of SessionToken in de.aristaflow.adept2.core.worklistmanager
Methods in de.aristaflow.adept2.core.worklistmanager with parameters of type SessionToken Modifier and Type Method Description void
WorklistUpdateManager. addUpdateableClientWorklist(SessionToken session, ClientWorklist worklist)
Registers a client worklist so that it receives (pushed) updates.Map<UUID,Integer>
ItemAssessment. assess(SessionToken session, WorklistItem item, List<String> preconditions, List<de.aristaflow.adept2.model.resourcemodel.ResourceInstance> resInsts, Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
Deprecated.Assesses the designated worklist item with respect to the designated agents/worklists.ClientWorklist
WorklistUpdateManager. createClientWorklist(SessionToken session, UUID worklistID, WorklistUpdateConfiguration configuration, boolean emptyWorklist)
Creates a client-side worklist for the designated worklist ID with the designated configuration.void
EscalationHandling. deadlineReached(WorklistItem item, String staffAssignmentRule, long deadline, EscalationHandling.EscalationMeasures measures, SessionToken measuresSession, PolicyResolution orgModel)
Notifies that theescalation deadline
or theIndividualWorklistItemSettings.getIndividualEscalationDate()
has been reached for the designated (client) worklist item.void
DelegationManager. delegateBack(SessionToken session, UUID itemId, String reply)
Delegates the worklist item to the prior delegating agent and sets the designated reply as delegation comment.void
DelegationManager. delegateWorkItem(SessionToken session, UUID itemId, Set<QualifiedAgent> recipients, String comment)
Delegates the designated worklist item to the designated recipients, that is, the worklist item is assigned to all worklists of the designated recipients and removed from the current worklists.Set<QualifiedAgent>
DistributionHandling. distribute(SessionToken session, WorklistItem item, Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
Distributes the designated worklist item among the designated agents (stored as keys in the map) and returns a collection of chosen agents for assignment of the worklist item.default Set<QualifiedAgent>
ItemAssessment. distribute(SessionToken session, WorklistItem item, Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
Deprecated.Distributes the designated worklist item among the designated agents (stored as keys in the map) and returns a collection of chosen agents for assignment of the worklist item.void
WorklistUpdateManager. dropAbsence(SessionToken session, QualifiedAgent absentee)
Drops the current and future absence of the designated agent.WorklistUpdateManager.AbsenceInformation
WorklistUpdateManager. getAbsenceInformation(SessionToken session, QualifiedAgent absentee)
Gets the absence information of the designated agent (absentee
).ParameterDataContext
WorklistUpdateManager. getAttachedDataContext(SessionToken session, UUID worklistItemID)
Gets the data context for the provided worklist item which in turn provides the values of attached data elements.List<de.aristaflow.adept2.model.resourcemodel.ResourceInstance>
WorklistUpdateManager. getAttachedResources(SessionToken session, UUID worklistItemId)
Gets the resources (rather the merged resource instances) attached to the designated worklist item.Set<QualifiedAgent>
DelegationManager. getDelegationRecipients(SessionToken session, UUID itemId)
Gets all possible delegation recipients for the designated worklist item and for the designated delegating agent identified by the session token.RemoteIterator<List<QualifiedAgent>>
DelegationManager. getDelegationRecipientsIterator(SessionToken session, UUID itemId)
The same asDelegationManager.getDelegationRecipients(SessionToken, UUID)
but with partial retrieval of the agents.Worklist<? extends AdministrativeWorklistItem>
WorklistAdministration. getGlobalWorklist(SessionToken session)
Gets the global worklist which contains all worklist items available in this worklist manager.Worklist<? extends AdministrativeWorklistItem>
WorklistAdministration. getGlobalWorklist(SessionToken session, Filter filter)
Gets the global worklist which contains all worklist items available in this worklist manager with the items filtered appropriately.IncrementalWorklist<? extends AdministrativeWorklistItem>
WorklistAdministration. getGlobalWorklistIncrementally(SessionToken session, boolean respectAggregation, boolean aggregateGroups)
The same asWorklistAdministration.getGlobalWorklist(SessionToken)
but with a worklist providing incremental access to its items and optionally containing grouping items.IncrementalWorklist<? extends AdministrativeWorklistItem>
WorklistAdministration. getGlobalWorklistIncrementally(SessionToken session, Filter filter, boolean respectAggregation, boolean aggregateGroups)
The same asWorklistAdministration.getGlobalWorklist(SessionToken)
but with a worklist providing incremental access to its filtered items.Worklist<? extends AdministrativeWorklistItem>
WorklistAdministration. getInternalWorklist(SessionToken session, UUID worklistID)
Gets the worklist that has the designated (unique) ID.Worklist<? extends AdministrativeWorklistItem>
WorklistAdministration. getInternalWorklist(SessionToken session, UUID worklistID, Filter filter)
Gets the worklist that has the designated (unique) ID with the items filtered appropriately.IncrementalWorklist<? extends AdministrativeWorklistItem>
WorklistAdministration. getInternalWorklistIncrementally(SessionToken session, UUID worklistID, boolean respectAggregation, boolean aggregateGroups)
The same asWorklistAdministration.getInternalWorklist(SessionToken, UUID)
but with a worklist providing incremental access to its items and optionally containing grouping items.IncrementalWorklist<? extends AdministrativeWorklistItem>
WorklistAdministration. getInternalWorklistIncrementally(SessionToken session, UUID worklistID, Filter filter, boolean respectAggregation, boolean aggregateGroups)
The same asWorklistAdministration.getInternalWorklist(SessionToken, UUID)
but with a worklist providing incremental access to its filtered items and optionally containing grouping items.WorklistUpdateConfiguration
WorklistUpdateManager. getMailNotificationInformation(SessionToken session, QualifiedAgent mailReceiver)
Gets the update configuration for the mail notification information of the designated worklist.URI[]
WorklistManager. getOrgModelManager(SessionToken session)
Gets (the URIs of) the organisational model manager that is associated with this worklist manager.Set<QualifiedAgent>
WorklistUpdateManager. getPossibleAbsentees(SessionToken session)
Gets all agents for whom the designated agent (identified by the session token) mayset the absence
.RemoteIterator<List<QualifiedAgent>>
WorklistUpdateManager. getPossibleAbsenteesIterator(SessionToken session)
The same asWorklistUpdateManager.getPossibleAbsentees(SessionToken)
but with partial retrieval of the agents.Map<String,String>
WorklistManager. getWorklistConfiguration(SessionToken session, UUID worklistID)
Gets the configuration for the designated worklist, that is information on the displayed columns, the order and the width of the columns, applied filters,...UUID
WorklistAdministration. getWorklistID(SessionToken session, QualifiedAgent agent)
Gets the unique ID of the (internal) worklist of the designated agent.AdministrativeWorklistItem
WorklistAdministration. getWorklistItem(SessionToken session, EBPInstanceReference activity)
Gets the worklist item for the designated activity.Map<QualifiedAgent,UUID>
WorklistAdministration. getWorklistsContaining(SessionToken session, EBPInstanceReference activity)
Gets the IDs of the worklists containing the designated activity and the corresponding owners of the worklists.WorklistUpdate
WorklistUpdateManager. getWorklistUpdates(SessionToken session, UUID worklistID, WorklistRevision sinceRevision, Filter worklistFilter)
Gets updates for the designated worklist since the designated revision (PULL by the client).IncrementalWorklistUpdate
WorklistUpdateManager. getWorklistUpdatesIncrementally(SessionToken session, UUID worklistID, WorklistRevision sinceRevision, Filter worklistFilter)
The same asWorklistUpdateManager.getWorklistUpdates(SessionToken, UUID, WorklistRevision, Filter)
but with an update providing incremental access to the contained worklist item updates.boolean
WorklistAdministration. isOnWorklist(SessionToken session, EBPInstanceReference activity, QualifiedAgent agent)
Gets whether the designated activity is on the worklist of the designated agent.boolean
WorklistNotification. isOnWorklist(SessionToken session, EBPInstanceReference activity, QualifiedAgent agent)
Gets whether the designated activity is on the worklist of the designated agent.boolean
WorklistUpdateManager. isRegisteredForUpdates(SessionToken session, UUID worklistId, long clientWorklistId)
Gets whether the designated client worklist is currently registered for updates.void
WorklistManager. logoff(SessionToken session)
Deregisters the agent identified by the designated session token from the client machine also identified by the designated session token.UUID
WorklistManager. logon(SessionToken session)
Logs an agent with an appropriate organisational position on, stores the corresponding client URIs and returns the UUID of the corresponding worklist.ClientWorklist
WorklistUpdateManager. logonAndCreateClientWorklist(SessionToken session, WorklistUpdateConfiguration configuration, boolean emptyWorklist)
Logs the designated agent on and creates a client-side worklist with the designated configuration.Map<UUID,Integer>
ItemAssessment. reassess(SessionToken session, WorklistItem rejectedItem, Worklist<WorklistItem> worklist, Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
Deprecated.(Re-)Assesses the designated worklist item with respect to the designated agents/worklists.void
WorklistAdministration. reassess(SessionToken session, Map<UUID,Map<QualifiedAgent,Integer>> reassessment)
Deprecated.This method is subject of change and should not be used yet.void
WorklistAdministration. reconnectToExecutionManager(SessionToken session)
Reconnects from the worklist interaction by removing and readding this worklist manager to the execution manager.Set<QualifiedAgent>
DistributionHandling. redistribute(SessionToken session, WorklistItem rejectedItem, Worklist<WorklistItem> worklist, Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
(Re-)Distributes the designated worklist item among the designated agents (stored as keys in the map) ignoring the owner of the designated worklist and returns a collection of chosen agents for assignment of the worklist item.default Set<QualifiedAgent>
ItemAssessment. redistribute(SessionToken session, WorklistItem rejectedItem, Worklist<WorklistItem> worklist, Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
Deprecated.(Re-)Distributes the designated worklist item among the designated agents (stored as keys in the map) ignoring the owner of the designated worklist and returns a collection of chosen agents for assignment of the worklist item.void
WorklistAdministration. redistributeItems(SessionToken session, String staffAssignmentRule)
Causes a redistribution of qualified worklist items.void
WorklistAdministration. redistributeItems(SessionToken session, Collection<UUID> worklistItemIDs)
Causes a redistribution of qualified worklist items.void
WorklistAdministration. redistributeItemsRegExp(SessionToken session, String regExp)
Causes a redistribution of qualified worklist items.void
WorklistUpdateManager. rejectWorklistItem(SessionToken session, UUID worklistId, UUID itemId)
Rejects the designated worklist item by the client identified by its worklist ID.boolean
WorklistAdministration. removeInternalWorklist(SessionToken session, UUID worklistId)
Removes the designated internal worklist.void
WorklistUpdateManager. removeUpdateableClientWorklist(SessionToken session, ClientWorklist worklist)
Deregisters a client worklist so that it does not receive any (pushed) updates any more.void
WorklistUpdateManager. setAbsent(SessionToken session, QualifiedAgent absentee, long from, long to, String substitutionRule)
Sets the absence of the designated agent (absentee
).void
EscalationHandling.EscalationMeasures. setDueDate(SessionToken session, WorklistItem worklistItem, long dueDate)
Changes the due date of the specified worklist item for displaying to the user.void
EscalationHandling.EscalationMeasures. setEscalation(SessionToken session, WorklistItem worklistItem, long escalationDate, String escalationHandlingProcedureID)
Changes the escalation date of the specified worklist item.void
WorklistUpdateManager. setMailNotification(SessionToken session, RichAgent mailReceiver, boolean mailNotify, WorklistUpdateConfiguration configuration)
Activates or deactivates the mail notification for the designated agent (the explicitly provided, not the one from the session token).void
WorklistUpdateManager. setPresent(SessionToken session, QualifiedAgent absentee)
Disables the current absence of the designated agent explicitly ignoring theto
-time previously set.void
EscalationHandling.EscalationMeasures. setPriority(SessionToken session, WorklistItem worklistItem, int priority)
Changes the priority of the specified worklist item.void
WorklistManager. setWorklistConfiguration(SessionToken session, UUID worklistID, Map<String,String> worklistConfiguration)
Sets or updates the configuration for the designated worklist with the designated configuration values.void
EscalationHandling.EscalationMeasures. updateIndividualSettings(SessionToken session, ClientWorklistItem worklistItem)
Changes the individual worklist item settings of the designated client worklist item in the server.boolean
WorklistUpdateManager. updateIndividualSettings(SessionToken session, ClientWorklistItem item)
Updates the worklist item according to the designated changes.void
EscalationHandling.EscalationMeasures. updatePluginData(SessionToken session, WorklistItem worklistItem, PluginData pluginData)
Changes the plugin data of the designated worklist item.void
EscalationHandling.EscalationMeasures. updateUserAttributes(SessionToken session, WorklistItem worklistItem)
Changes the user attributes of the designated worklist item. -
Uses of SessionToken in de.aristaflow.adept2.model.datamanagement
Methods in de.aristaflow.adept2.model.datamanagement with parameters of type SessionToken Modifier and Type Method Description void
IndexedAccessDataContainer. flush(SessionToken session)
Flushes all the internally stored values that have not been saved to the data manager yet.String
DataContainer. getLastSavepoint(SessionToken session)
Returns the last savepoint stored within this data container.List<String>
DataContainer. getSavepoints(SessionToken session)
Returns the IDs of the stored savepoints kept in the DataContainer.void
DataContainer. ignoreValue(SessionToken session, String parameterName)
Ignores the value of the designated parameter.void
IndexedAccessDataContainer. ignoreValue(SessionToken session, String parameterName, int index)
Ignores the value of the element at the designated index at the output parameter list of the designated name.boolean
IndexedAccessDataContainer. isNull(SessionToken session, String parameterName, int index)
Returns whether the value of the element at the designated index at the input parameter list of the designated name is NULL.boolean
InputDataContainer. isNull(SessionToken session, String parameterName)
Returns whether the value of the designated input parameter is NULL which means the data element has not been written or has been consumed yet or has been explicitly set to NULL by a previous application.byte[]
DataContainer. restoreSessionState(SessionToken session, String savepoint)
Restores the session context of an suspended activity to be resumed.boolean
IndexedAccessDataContainer. retrieveBoolean(SessionToken session, String parameterName, int index)
Retrieves the boolean value of the element of type BOOLEAN at the designated index at the input parameter list of the designated name.boolean
InputDataContainer. retrieveBoolean(SessionToken session, String parameterName)
Retrieves the boolean value of the designated input parameter of type BOOLEAN.Date
IndexedAccessDataContainer. retrieveDate(SessionToken session, String parameterName, int index)
Retrieves the date value of the element of type DATE at the designated index at the input parameter list of the designated name.Date
InputDataContainer. retrieveDate(SessionToken session, String parameterName)
Retrieves the date value of the designated input parameter of type DATE.double
IndexedAccessDataContainer. retrieveFloat(SessionToken session, String parameterName, int index)
Retrieves the double value of the element of type FLOAT at the designated index at the input parameter list of the designated name.double
InputDataContainer. retrieveFloat(SessionToken session, String parameterName)
Retrieves the double value of the designated input parameter of type FLOAT.long
IndexedAccessDataContainer. retrieveInteger(SessionToken session, String parameterName, int index)
Retrieves the long value of the element of type INTEGER at the designated index at the input parameter list of the designated name.long
InputDataContainer. retrieveInteger(SessionToken session, String parameterName)
Retrieves the long value of the designated input parameter of type INTEGER.String
IndexedAccessDataContainer. retrieveString(SessionToken session, String parameterName, int index)
Retrieves the String value of the element of type STRING at the designated index at the input parameter list of the designated name.String
InputDataContainer. retrieveString(SessionToken session, String parameterName)
Retrieves the string value of the designated input parameter of type STRING.UDTValue
IndexedAccessDataContainer. retrieveUDT(SessionToken session, String parameterName, int index)
Retrieves (the proxy of) the value of the element of user-defined type (UDT) at the designated index at the input parameter list of the designated name.UDTValue
InputDataContainer. retrieveUDT(SessionToken session, String parameterName)
Retrieves (the proxy of) the value of the designated input parameter of user-defined type (UDT).URI
IndexedAccessDataContainer. retrieveURI(SessionToken session, String parameterName, int index)
Retrieves the URI value of the element of type URI at the designated index at the input parameter list of the designated name.URI
InputDataContainer. retrieveURI(SessionToken session, String parameterName)
Retrieves the URI value of the designated input parameter of type URI.void
DataContainer. setSavepoint(SessionToken session, String savepoint)
Assigns the designated savepoint to the current state of the data, that is application state and data values.void
DataContainer. storeBoolean(SessionToken session, String parameterName, boolean value)
Stores the BOOLEAN value of the designated parameter of the process instance and the corresponding metadata which is the writing node and its current iteration.void
IndexedAccessDataContainer. storeBoolean(SessionToken session, String parameterName, int index, boolean value)
Stores the BOOLEAN value to the element at the designated index at the output parameter list of the designated name.void
DataContainer. storeDate(SessionToken session, String parameterName, Date value)
Stores the DATE value of the designated parameter of the process instance and the corresponding metadata which is the writing node and its current iteration.void
IndexedAccessDataContainer. storeDate(SessionToken session, String parameterName, int index, Date value)
Stores the DATE value to the element at the designated index at the output parameter list of the designated name.void
DataContainer. storeFloat(SessionToken session, String parameterName, double value)
Stores the FLOAT value of the designated parameter of the process instance and the corresponding metadata which is the writing node and its current iteration.void
IndexedAccessDataContainer. storeFloat(SessionToken session, String parameterName, int index, double value)
Stores the FLOAT value to the element at the designated index at the output parameter list of the designated name.void
DataContainer. storeInteger(SessionToken session, String parameterName, long value)
Stores the INTEGER value of the designated parameter of the process instance and the corresponding metadata which is the writing node and its current iteration.void
IndexedAccessDataContainer. storeInteger(SessionToken session, String parameterName, int index, long value)
Stores the INTEGER value to the element at the designated index at the output parameter list of the designated name.void
DataContainer. storeSessionState(SessionToken session, byte[] sessionState)
Stores the state of the suspended activity this data container is associated with in order to enable the resume of the activity.void
DataContainer. storeString(SessionToken session, String parameterName, String value)
Stores the string value of the designated parameter of the process instance and the corresponding metadata which is the writing node and its current iteration.void
IndexedAccessDataContainer. storeString(SessionToken session, String parameterName, int index, String value)
Stores the STRING value to the element at the designated index at the output parameter list of the designated name.void
DataContainer. storeUDT(SessionToken session, String parameterName, UDTValue value)
Stores the value of user-defined type of the designated parameter of the process instance and the corresponding metadata which is the writing node and its current iteration.void
IndexedAccessDataContainer. storeUDT(SessionToken session, String parameterName, int index, UDTValue value)
Stores the value of user-defined type to the element at the designated index at the output parameter list of the designated name.void
DataContainer. storeURI(SessionToken session, String parameterName, URI value)
Stores the URI value of the designated parameter of the process instance and the corresponding metadata which is the writing node and its current iteration.void
IndexedAccessDataContainer. storeURI(SessionToken session, String parameterName, int index, URI value)
Stores the URI value to the element at the designated index at the output parameter list of the designated name.void
IndexedAccessDataContainer. validateWrittenValues(SessionToken session, int index)
Validates and verifies all values written by the application identified by the designated index. -
Uses of SessionToken in de.aristaflow.adept2.model.runtimeenvironment
Methods in de.aristaflow.adept2.model.runtimeenvironment with parameters of type SessionToken Modifier and Type Method Description SerialisableDataContext
RuntimeEnvironmentFactory. createSerialisableDataContext(SessionToken session, DataContainer container, ExecutableBusinessProcessInstance ebp)
Deprecated, for removal: This API element is subject to removal in a future version.SerialisableDataContext
RuntimeEnvironmentFactory. createSerialisableDataContext(SessionToken session, DataContainer container, ExecutableBusinessProcessInstance ebp, Logger logger)
Creates a new serialisable data context having the values of the designated data container. -
Uses of SessionToken in de.aristaflow.adept2.ui.guimanager
Methods in de.aristaflow.adept2.ui.guimanager with parameters of type SessionToken Modifier and Type Method Description GUIContext
NullGUIManager. createGUIContext(SessionToken session, de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext trCtxt, ExecutionControlManager ecm)
protected GUIContext
RemoteHTMLGUIManager. createRemoteHtmlContext(SessionToken session, ActivityInstance actInst, EBPInstanceReference activity, String sessionId, ExecutionContext execContext, Thread thread, HTTPService httpService)
Creates a newHTMLContext
for handling the interaction between webserver andExecutableComponent
and also to provide theURL
to a client allowing to call theURL
remotely.GUIContext
NullGUIManager. getGUIContext(SessionToken session, ActivityInstance activityInstance, EBPInstanceReference ebpInstanceReference, String sessionID, ExecutionContext executionContext, ExecutionControlManager ecm, Thread thread)
GUIContext
RemoteHTMLGUIManager. getGUIContext(SessionToken session, ActivityInstance activityInstance, EBPInstanceReference ebpInstanceReference, String sessionID, ExecutionContext executionContext, ExecutionControlManager ecm, Thread thread)
-
Uses of SessionToken in de.aristaflow.adept2.ui.htmlgui
Fields in de.aristaflow.adept2.ui.htmlgui declared as SessionToken Modifier and Type Field Description protected SessionToken
RemoteHTMLContext. session
The session token for deregistering at theHTTPService
.Methods in de.aristaflow.adept2.ui.htmlgui with parameters of type SessionToken Modifier and Type Method Description protected void
AbstractHTMLContext. close(SessionToken session)
Constructors in de.aristaflow.adept2.ui.htmlgui with parameters of type SessionToken Constructor Description RemoteHTMLContext(Thread thread, SessionToken session, HTTPService httpService, String sessionId, ActivityInstance activityInstance, EBPInstanceReference activity, ExecutionContext executionContext)
Creates a newHTMLContext
for handling the interaction between webserver andExecutableComponent
and also to provide theURL
to a client allowing to call theURL
remotely. -
Uses of SessionToken in de.aristaflow.adept2.ui.htmlgui.httpservice
Methods in de.aristaflow.adept2.ui.htmlgui.httpservice with parameters of type SessionToken Modifier and Type Method Description void
AristaFlowHTTPService. deregisterReplyHandler(SessionToken session, String sessionID)
void
EmbdServContHTTPService. deregisterReplyHandler(SessionToken session, String sessionID)
void
HTTPService. deregisterReplyHandler(SessionToken session, String sessionID)
Deregisters a reply handler for the activity with the designatedsessionID
.void
NullHTTPService. deregisterReplyHandler(SessionToken session, String sessionID)
void
AristaFlowHTTPService. registerReplyHandler(SessionToken session, String sessionID, HTTPReplyHandler replyHandler)
void
EmbdServContHTTPService. registerReplyHandler(SessionToken session, String sessionID, HTTPReplyHandler replayHandler)
void
HTTPService. registerReplyHandler(SessionToken session, String sessionID, HTTPReplyHandler replyHandler)
Registers a reply handler for the activity with the designatedsessionID
.void
NullHTTPService. registerReplyHandler(SessionToken session, String sessionID, HTTPReplyHandler replyHandler)
-
Uses of SessionToken in de.aristaflow.ilm.base.sessionmanagement
Methods in de.aristaflow.ilm.base.sessionmanagement that return SessionToken Modifier and Type Method Description static SessionToken
Transformation. fromIlm(SessionFactory sf, SessionToken session)
Methods in de.aristaflow.ilm.base.sessionmanagement with parameters of type SessionToken Modifier and Type Method Description static SessionToken
Transformation. toIlm(SessionToken session)
static Session
Transformation. toIlmSession(SessionToken session)
-
Uses of SessionToken in de.aristaflow.ilm.core.executionmanager
Fields in de.aristaflow.ilm.core.executionmanager declared as SessionToken Modifier and Type Field Description protected SessionToken
InstanceStateNotificationWrapper. session
The session token for unregistering inInstanceStateNotificationWrapper.cleanup(UUID)
.Constructors in de.aristaflow.ilm.core.executionmanager with parameters of type SessionToken Constructor Description InstanceStateNotificationWrapper(InstanceStateCallback isc, boolean ignoreResumed, SessionToken session, ConcurrentMap<UUID,InstanceStateNotificationWrapper> listeners, LocalInstanceStateNotifier lisn, Logger logger)
Creates a new wrapper for the designatedInstanceStateCallback
. -
Uses of SessionToken in de.aristaflow.ilm.core.runtimemanager
Fields in de.aristaflow.ilm.core.runtimemanager declared as SessionToken Modifier and Type Field Description protected SessionToken
ActivityStateNotificationWrapper. session
The session token for unregistering inActivityStateNotificationWrapper.cleanup()
.Constructors in de.aristaflow.ilm.core.runtimemanager with parameters of type SessionToken Constructor Description ActivityStateNotificationWrapper(ActivityStateCallback asc, boolean ignoreResumed, SessionToken session, EBPInstanceReference jActivity, ConcurrentMap<EBPInstanceReference,ActivityStateNotificationWrapper> listeners, LocalActivityStateNotifier lasn)
Creates a new wrapper for the designatedActivityStateCallback
. -
Uses of SessionToken in de.aristaflow.ilm.core.runtimeservice
Methods in de.aristaflow.ilm.core.runtimeservice with parameters of type SessionToken Modifier and Type Method Description URI[]
MessageDemux. registerListener(SessionToken session, String sessionId, ExecutionMessageNotification emn)
void
MessageDemux. unregisterListener(SessionToken session, String sessionId, ExecutionMessageNotification emn)
-
Uses of SessionToken in de.aristaflow.ilm.model.datamanagement
Methods in de.aristaflow.ilm.model.datamanagement with parameters of type SessionToken Modifier and Type Method Description static ReadingDataContainer
Transformation. toIlm(SessionToken session, DataContainer dc)
Deprecated, for removal: This API element is subject to removal in a future version.static ReadingDataContainer
Transformation. toIlm(SessionToken session, DataContainer dc, Logger logger)
-
Uses of SessionToken in de.aristaflow.ilm.model.execution
Methods in de.aristaflow.ilm.model.execution with parameters of type SessionToken Modifier and Type Method Description static ExecutionContext
Transformation. toIlm(SessionToken session, ExecutionContext ec, Logger logger)
-
Uses of SessionToken in de.aristaflow.ilm.model.runtimeenvironment.guicontext
Methods in de.aristaflow.ilm.model.runtimeenvironment.guicontext with parameters of type SessionToken Modifier and Type Method Description static GuiContext
Transformation. toIlm(de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext tgc, SessionToken session, EbpInstanceReference activtiy, Logger logger)
static GuiContext
Transformation. toIlm(GUIContext context, SessionToken session, EbpInstanceReference activity, Logger logger)
-
Uses of SessionToken in de.aristaflow.ilm.ws.core.executionmanager
Methods in de.aristaflow.ilm.ws.core.executionmanager with parameters of type SessionToken Modifier and Type Method Description protected URI[]
InstanceControlWebService. wrap(SessionToken session, UUID instId, InstanceStateCallback callback)
-
Uses of SessionToken in de.aristaflow.ilm.ws.core.orgmodelmanager
Methods in de.aristaflow.ilm.ws.core.orgmodelmanager with parameters of type SessionToken Modifier and Type Method Description String
OrgPolicyScriptHandlerWebServiceStub. evaluateScript(SessionToken session, Script script)
protected AttributeMetaData
ModelExplorerWebService. getAttributeMetaData(SessionToken session, EntityType type)
protected AttributeMetaData
ModelExplorerWebService. getAttributeMetaData(SessionToken session, EntityType type)
-
Uses of SessionToken in de.aristaflow.ilm.ws.core.runtimemanager
Methods in de.aristaflow.ilm.ws.core.runtimemanager with parameters of type SessionToken Modifier and Type Method Description protected URI[]
SynchronousActivityStartingWebService. wrap(SessionToken session, EBPInstanceReference jActivity, ActivityStateCallback callback, boolean resume)
-
Uses of SessionToken in de.aristaflow.ilm.ws.core.runtimeservice
Methods in de.aristaflow.ilm.ws.core.runtimeservice with parameters of type SessionToken Modifier and Type Method Description protected ExecutionMessageNotification
RemoteActivityStartingWebService. wrap(SessionToken st, ExecutionMessageCallback callback)
-
Uses of SessionToken in de.aristaflow.ilm.ws.core.worklistmanager
Methods in de.aristaflow.ilm.ws.core.worklistmanager with parameters of type SessionToken Modifier and Type Method Description protected ClientWorklist
WorklistUpdateManagerWebService. createClientWorklistInternal(SessionToken jSession, @NotNull UUID worklistId, WorklistUpdateConfiguration conf, Boolean emptyWl)
-