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 GlobalRegistryGlobalRegistryServiceProvider. 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.voidGlobalRegistry. invalidate(SessionToken session, String clusterName, String serviceType, String serviceName)Informs the global registry that the designated service is not reachable any more.voidGlobalRegistry. 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.voidGlobalRegistry. 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.booleanGlobalRegistry. unpublishService(SessionToken session, String clusterName, String serviceType, String serviceName, List<URI> globalServiceUris)Unpublishes the designated service with the designated global URIs.voidGlobalServiceExport. 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 LicenceInformationLicenceManager. getLicenceInformation(SessionToken session)Deprecated.UseLicenceManager.getLicenceInformation()instead.booleanLicenceManager. 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.voidLicenceManager. 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 EmailResultMailService. sendMail(SessionToken session, Email mail, boolean allowAsyncRetry)Sends the designated mail which needs at least one recipient, a subject and a body/text.EmailResultMailService. 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.EmailResultMailService. 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.EmailResultMailService. 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.EmailResultMailService. 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.EmailResultMailService. 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.EmailResultMailService. 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.EmailResultMailService. 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 voidLocalServiceRegistry. checkServiceURI(SessionToken session, URI serviceURI)Validates whether the designated URI is local, well-formed and may identify a service instance.protected voidServiceRegistry. checkServiceURI(SessionToken session, URI serviceURI)Validates whether the designated URI is well-formed and may identify a service instance.protected voidLocalServiceRegistry. 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 voidServiceRegistry. 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 StringLocalServiceRegistry. 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> TLocalServiceRegistry. getConfiguredPlugin(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType, String pluginInstanceName, Class<?>[] additionalParameterTypes, Object[] additionalParameterValues)protected <T> TPluginRegistry. getConfiguredPlugin(SessionToken session, String usingInstanceName, Object usingInstance, String pluginTypeName, Class<T> componentType)Retrieves the default instance of the designated plugin type.protected <T> TPluginRegistry. 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> TPluginRegistry. 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> TRegistryWrapper. getConfiguredPlugin(SessionToken session, Object usingInstance, String pluginTypeName, Class<T> componentType)<T> TRegistryWrapper. 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)GlobalRegistryServiceRegistry. 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 theusingServicefor the service typeusedServiceTypeNameand is of (object) typeusedServiceType.<T extends ADEPT2Service>
TRegistryWrapper. getServiceOfType(SessionToken session, String serviceTypeName, Class<T> serviceType)GlobalRegistryServiceRegistry. globalRegistryChanged(SessionToken session, URI globRegUri)Changes the URI of the (default instance of the) global registry to the designated URI.protected voidServiceRegistry. initExportServices(SessionToken session)Starts and exports all local services that need be exported.protected LocalServiceRegistry.ServiceExportInformationLocalServiceRegistry. prepareExport(SessionToken session, String serviceName, ADEPT2Service service)Prepares the export by creating a local URI for initialisation of the service.protected LocalServiceRegistry.ServiceExportInformationServiceRegistry. 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 voidLocalServiceRegistry. 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 voidLocalServiceRegistry. unpublishService(SessionToken session, String serviceName, ADEPT2Service service)Removes the designated service from the global registry and from the service exports.protected voidServiceRegistry. 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 voidAuthentication. 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 SessionTokenAbortTransactionException. sessionThe 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. sessionProviderThe provider for creating child session tokens.protected Function<SessionToken,SessionToken>DynamicServiceRegistration. sessionProviderThe provider for creating child session tokens.Methods in de.aristaflow.adept2.base.service that return SessionToken Modifier and Type Method Description SessionTokenAbstractAuthenticatedService. createChildSession(SessionToken parentSession)Creates a new child session token to the given session using the session factory assigned to this service.SessionTokenAbstractAuthenticatedService. createSession()Creates a new session token using the session factory assigned to this service.protected SessionTokenAbstractNonPrivilegedService. createSession()Creates a new session token using the client session factory assigned to this service.SessionTokenAbortTransactionException. 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 voidAbstractADEPT2Service. _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).voidAbstractAuthenticatedService. _sessionActive(SessionToken session, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR, int addStackElems)voidAbstractADEPT2Service. _sessionFinished(SessionToken session, int addStackElems)Unregisters the designated session, removes the current thread and the log context (if CSV-logging is configured).protected voidAbstractADEPT2Service. activeOrInvalidServiceStateException(SessionToken session)Checks whether this service is active and throws anInvalidStateExceptionifAbstractADEPT2Service.isActive()returns false.voidDynamicServiceRegistration.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.voidAbstractADEPT2Service. changeLogContext(String contextString, SessionToken session, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR)voidDebugLogger. 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.voidLogService. 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.SessionTokenAbstractAuthenticatedService. createChildSession(SessionToken parentSession)Creates a new child session token to the given session using the session factory assigned to this service.QualifiedAgentAbstractAuthenticatedService. getAgent(SessionToken session)Gets the agent of the designated session token.List<String>AbstractConfigurableAuthenticatedService. getChangeableConfigurationKeys(SessionToken session)List<String>AbstractConfigurableService. getChangeableConfigurationKeys(SessionToken session)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.ConfigurationAbstractConfigurableAuthenticatedService. getConfiguration(SessionToken session)org.apache.commons.configuration2.ConfigurationAbstractConfigurableService. getConfiguration(SessionToken session)org.apache.commons.configuration2.ConfigurationConfigurableService. getConfiguration(SessionToken session)Gets the configuration of this service for displaying it.StringAbstractConfigurableAuthenticatedService. getConfigurationValue(SessionToken session, String key)StringAbstractConfigurableService. getConfigurationValue(SessionToken session, String key)StringConfigurableService. getConfigurationValue(SessionToken session, String key)Gets the string representation of the configuration value for the designated key ornullif the key does not exist or has no value.<T> TServiceAccess. 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> TServiceAccess. 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.SDynamicServiceRegistration. getNewServiceFor(SessionToken session, K key)Gets a new service for the designated key, i. e.<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.SDynamicServiceRegistration. 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.QualifiedAgentAbstractAuthenticatedService. 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.booleanAbstractADEPT2Service.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 booleanAbstractADEPT2Service. isSessionActive(SessionToken session)Gets whether the designated session token is active, that is, it is registered for this service.voidAbstractADEPT2Service. logMethodEntry(String contextString, SessionToken session, String msg)voidAbstractADEPT2Service. logMethodEntry(String contextString, SessionToken session, String msg, UUID templID, UUID baseTemplID, UUID embdTemplID, UUID instID, EBPInstanceReference ebpIR)voidAbstractADEPT2Service. 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.voidLogService. 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.voidLogService. 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 voidAbstractADEPT2Service.ActiveSessions. privilegeSession(SessionToken session)Privileges the designated session, that is the session may access the service even when shutting down or initialising.protected voidAbstractADEPT2Service. 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 voidAbstractSubService. privilegeSession(SessionToken activeSession, SessionToken newSession)Forwards toAbstractADEPT2Service.privilegeSession(SessionToken, SessionToken)of the main service.voidDebugLogger. 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.voidDynamicServiceRegistration.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.voidDynamicServiceRegistration.DynamicServiceNotification. removedServices(SessionToken session, K key)Notifies the removal of all registered services for the designated key.protected voidAbstractADEPT2Service.ActiveSessions. sessionActive(SessionToken session)Registers the designated session as active and also tracks the current thread.voidAbstractADEPT2Service. sessionActive(SessionToken session)Registers the designated session as active, tracks the current thread and registers the log context (if CSV-logging is configured).protected voidAbstractADEPT2Service. 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.voidAbstractADEPT2Service. 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).voidAbstractADEPT2Service. 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 voidAbstractSubService. sessionActive(SessionToken session)Forwards toAbstractADEPT2Service.sessionActive(SessionToken)of the main service.protected booleanAbstractADEPT2Service.ActiveSessions. sessionFinished(SessionToken session)Deregisters the designated session and also removes the current thread.voidAbstractADEPT2Service. sessionFinished(SessionToken session)Unregisters the designated session, removes the current thread and the log context (if CSV-logging is configured).protected voidAbstractADEPT2Service. 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 voidAbstractSubService. sessionFinished(SessionToken session)Forwards toAbstractADEPT2Service.sessionFinished(SessionToken)of the main service.booleanAbstractAuthenticatedService. sessionHasAllCapabilities(SessionToken session, String... capabilities)Gets whether the designated session has all of the designated capabilities.booleanAbstractAuthenticatedService. sessionHasAllTopLevelCapabilities(SessionToken session, String... capabilities)Gets whether the top-level session of the designated session has all of the designated capabilities.booleanAbstractAuthenticatedService. sessionHasCapability(SessionToken session, String capability)Deprecated.booleanAbstractAuthenticatedService. sessionHasOneCapability(SessionToken session, String... capabilities)Gets whether the designated session has one of the designated capabilities.booleanAbstractAuthenticatedService. sessionHasOneTopLevelCapability(SessionToken session, String... capabilities)Gets whether the top-level session of the designated session has one of the designated capabilities.voidAbstractConfigurableAuthenticatedService. setConfigurationValue(SessionToken session, String key, String value)voidAbstractConfigurableService. setConfigurationValue(SessionToken session, String key, String value)voidConfigurableService. setConfigurationValue(SessionToken session, String key, String value)Sets the designated configuration value.protected voidDebugLogger. 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.voidDynamicServiceRegistration. 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.voidDynamicServiceRegistration.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 newDynamicServiceRegistrationfor 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 newDynamicServiceRegistrationfor 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 SessionTokenSessionFactory. getChildSession(SessionToken parentSession, URI[] callingComponent)Creates a new child session token with the designated session as parent and for the designated component.SessionTokenSessionFactory. 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 SessionTokenSessionLock. getNearestCommonAncestor(SessionToken first, SessionToken second)Gets the session token that is the nearest common ancestor of the designated session tokens.SessionTokenSessionToken. 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.SessionTokenSessionFactory. 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.SessionTokenSessionFactory. 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.SessionTokenClientSessionFactory. getSessionToken()Creates a new (top-level) session token which is needed for calling the ADEPT2-API.SessionTokenClientSessionFactory. getSessionToken(URI[] callingComponent)Creates a new (top-level) session token which is needed for calling the ADEPT2-API.SessionTokenClientSessionFactory. getSessionToken(URI[] callingComponent, Map<String,String> additionalAttributes)Creates a new (top-level) session token which is needed for calling the ADEPT2-API.SessionTokenClientSessionFactory. getSessionToken(Map<String,String> additionalAttributes)Creates a new (top-level) session token which is needed for calling the ADEPT2-API.SessionTokenSessionFactory. getSessionToken(URI[] callingComponent)Creates a new (top-level) session token for the designated component.SessionTokenSessionFactory. getSessionToken(URI[] callingComponent, Map<String,String> additionalAttributes)Creates a new (top-level) session token for the designated component with the designated additional attributes.SessionTokenSessionFactory. 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.SessionTokenSessionFactory. 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.SessionTokenSessionFactory. 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.SessionTokenSessionFactory. 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 QualifiedAgentSessionFactory. 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.QualifiedAgentSessionFactory. 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.voidSessionFactory. checkIntegrity(SessionToken sessionToken)Checks the integrity of the (security token of the) designated session token.intSessionLock.AbstractLockCount. decreaseAndGetLockCount(SessionToken session)intSessionLock.DownwardSubtreeLockCount. decreaseAndGetLockCount(SessionToken session)intSessionLock.SessionTreePathLockCount. decreaseAndGetLockCount(SessionToken session)Deprecated.intSessionLock.SubsessionLockCount. decreaseAndGetLockCount(SessionToken session)Deprecated.intSessionLock.UpwardSubtreeLockCount. decreaseAndGetLockCount(SessionToken session)intSessionLock.UUIDLockCount. decreaseAndGetLockCount(SessionToken session)Deprecated.SessionTokenSessionFactory. getChildSession(SessionToken parentSession, URI[] callingComponent)Creates a new child session token with the designated session as parent and for the designated component.SessionTokenSessionFactory. 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 SessionTokenSessionLock. getNearestCommonAncestor(SessionToken first, SessionToken second)Gets the session token that is the nearest common ancestor of the designated session tokens.SessionTokenSessionFactory. 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.SessionTokenSessionFactory. 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.SessionTokenSessionFactory. 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.SessionTokenSessionFactory. 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.booleanCapabilityChecker. 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.booleanCapabilityChecker. 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.booleanSessionFactory. hasCapability(SessionToken sessionToken, String capability)Deprecated.booleanSessionLock.AbstractLockCount. hasLock(SessionToken session)booleanSessionLock.DownwardSubtreeLockCount. hasLock(SessionToken session)booleanSessionLock.SessionTreePathLockCount. hasLock(SessionToken session)Deprecated.booleanSessionLock.SubsessionLockCount. hasLock(SessionToken session)Deprecated.booleanSessionLock.UpwardSubtreeLockCount. hasLock(SessionToken session)booleanSessionLock.UUIDLockCount. hasLock(SessionToken session)Deprecated.booleanCapabilityChecker. 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.booleanCapabilityChecker. 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.booleanSessionFactory. hasTopLevelCapability(SessionToken sessionToken, String capability)Deprecated.intSessionLock.AbstractLockCount. increaseAndGetLockCount(SessionToken session)intSessionLock.DownwardSubtreeLockCount. increaseAndGetLockCount(SessionToken session)intSessionLock.SessionTreePathLockCount. increaseAndGetLockCount(SessionToken session)Deprecated.intSessionLock.SubsessionLockCount. increaseAndGetLockCount(SessionToken session)Deprecated.intSessionLock.UpwardSubtreeLockCount. increaseAndGetLockCount(SessionToken session)intSessionLock.UUIDLockCount. increaseAndGetLockCount(SessionToken session)Deprecated.protected static booleanSessionLock. 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.booleanSessionToken. isAncestorSession(SessionToken session)Gets whether the designated session is a transitive parent session of this session.SessionTokenSessionFactory. 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 newLockCountManagerfor 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 theLockCountManagerfor 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 theLockCountManagerfor counting locks as well as comparing objects.SessionLock(LockCountManager<SessionToken> lockCountManager, LockNotification<SessionToken> notification, Logger logger)Creates a new exclusive lock using the designatedLockCountManagerfor counting locks as well as comparing objects.SessionLock(LockCountManager<SessionToken> lockCountManager, LockNotification<SessionToken> notification, Logger logger)Creates a new exclusive lock using the designatedLockCountManagerfor counting locks as well as comparing objects.SessionLock(LockCountManager<SessionToken> lockCountManager, Logger logger)Creates a new exclusive lock using the designatedLockCountManagerfor 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 designatedLockCountManagerfor 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 designatedLockCountManagerfor 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 designatedLockCountManagerfor 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 voidIconManager. 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_DEVELOPMENTif not done yet.CheckReportRevisionManager. checkBranch(SessionToken session, long branch, Locale... locales)Checks the designated branch for inheritance conflicts.BranchRevisionManager. createBranch(SessionToken session, String comment)Creates a new branch with the designated comment.static voidCopyPasteTools. 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 voidCopyPasteTools. 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.ActivityTemplateActivityRepository. 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.ActivityTemplateActivityRepository. 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.ATDReferenceActivityTemplateDefinitionManager. 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.ActivityTemplateDefinitionActivityTemplateDefinitionManager. 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.BranchRevisionManager. 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.ConfigurationSetConfigurationSetManager. getCSRevision(SessionToken session, String csName, long revision)Gets the (full-fledged object representing the) designated revision of the designated configuration set.ActivityTemplateActivityRepository. 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.ActivityTemplateDefinitionActivityTemplateDefinitionManager. 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.ConfigurationSetConfigurationSetManager. 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.ExecutableComponentDescriptionExecutableComponentDescriptionManager. 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.ChangeableIconDescriptorIconManager. 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.IdentifierIdentifierManager. 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.OperationOperationManager. 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.ChangeableResourceDescriptorResourceManager. 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.ExecutableComponentDescriptionExecutableComponentDescriptionManager. getECDRevision(SessionToken session, String ecName, long revision)Gets the (full-fledged object representing the) designated revision of the designated executable component description.IconDescriptorIconManager. 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.IdentifierIdentifierManager. 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.ActivityTemplateActivityRepository. 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).ActivityTemplateDefinitionActivityTemplateDefinitionManager. getLatestATD(SessionToken session, String ecName, String operationName, String atdName)Gets the (full-fledged object representing the) latest revision of the designated activity template definition.ATDReferenceActivityTemplateDefinitionManager. 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_PRODUCTIONand/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_PRODUCTIONand/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.ConfigurationSetConfigurationSetManager. getLatestCS(SessionToken session, String csName)Gets the (full-fledged object representing the) latest revision of the designated configuration set.CSReferenceConfigurationSetManager. 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_PRODUCTIONand/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.ExecutableComponentDescriptionExecutableComponentDescriptionManager. getLatestECD(SessionToken session, String ecName)Gets the (full-fledged object representing the) latest revision of the designated executable component description.ECDReferenceExecutableComponentDescriptionManager. 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_PRODUCTIONand/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).IconDescriptorIconManager. 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_PRODUCTIONand/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.IdentifierIdentifierManager. 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_PRODUCTIONand/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.OperationOperationManager. getLatestOperation(SessionToken session, String ecName, String operationName)Gets the (full-fledged object representing the) latest revision of the designated operation.OperationReferenceOperationManager. 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_PRODUCTIONand/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.ResourceDescriptorResourceManager. 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_PRODUCTIONand/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.ServerStreamResourceManager. getLatestResourceIncrementally(SessionToken session, UUID resourceID)Gets the (latest revision of the) designated resource asServerStream.RevisionRevisionManager. 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.OperationOperationManager. getOperationRevision(SessionToken session, String ecName, String operationName, long revision)Gets the (full-fledged object representing the) designated revision of the designated operation.ResourceDescriptorResourceManager. 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.ServerStreamResourceManager. getResourceRevisionIncrementally(SessionToken session, UUID resourceID, long revision)Gets the designated revision of the designated resource asServerStream.RevisionRevisionManager. 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.voidActivityTemplateDefinitionManager. 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.voidActivityTemplateDefinitionManager. 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.voidConfigurationSetManager. outdateCS(SessionToken session, String csName)Outdates the latest revision of the designated configuration set explicitly which prevents its usage afterwards.voidExecutableComponentDescriptionManager. outdateECD(SessionToken session, String ecName)Outdates the latest revision of the designated executable component description explicitly which prevents its usage afterwards.voidIconManager. outdateIcon(SessionToken session, UUID iconID)Outdates the latest revision of the designated icon explicitly which prevents its usage afterwards.voidIdentifierManager. outdateIdentifier(SessionToken session, UUID identifierID)Outdates the latest revision of the designated identifier explicitly which prevents its usage afterwards.voidOperationManager. outdateOperation(SessionToken session, String ecName, String operationName)Outdates the latest revision of the designated operation explicitly which prevents its usage afterwards.voidResourceManager. outdateResource(SessionToken session, UUID resourceID)Outdates the latest revision of the designated resource explicitly which prevents its usage afterwards.voidRevisionManager. 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.voidRevisionManager. removeBranch(SessionToken session, long branch)Removes the branch by completely dropping all changes.voidIconManager. removeDevelopmentIcon(SessionToken session, UUID iconID, IconDescriptor.Dimension dimension, long branch)Removes the designated icon dimension from the designated branch.voidActivityTemplateDefinitionManager. 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.voidConfigurationSetManager. 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.voidExecutableComponentDescriptionManager. 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.voidIconManager. 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.voidIdentifierManager. 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.voidOperationManager. 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.voidResourceManager. 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.CheckReportActivityTemplateDefinitionManager. 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.CheckReportConfigurationSetManager. 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.CheckReportExecutableComponentDescriptionManager. 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.CheckReportIconManager. 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.CheckReportIdentifierManager. 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.CheckReportOperationManager. 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.CheckReportResourceManager. 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.voidActivityTemplateDefinitionManager. storeDevelopmentATD(SessionToken session, StorageActivityTemplateDefinition atd, long branch)Stores the designated (storage representation of the) activity template definition in the designated branch and sets itIN_DEVELOPMENTif not done yet.voidConfigurationSetManager. storeDevelopmentCS(SessionToken session, StorageConfigurationSet cs, long branch)Stores the designated (storage representation of the) configuration set in the designated branch and sets itIN_DEVELOPMENTif not done yet.voidExecutableComponentDescriptionManager. storeDevelopmentECD(SessionToken session, StorageExecutableComponentDescription ecd, long branch)Stores the designated (storage representation of the) executable component description in the designated branch and sets itIN_DEVELOPMENTif not done yet.voidIconManager. storeDevelopmentIconDescriptor(SessionToken session, IconDescriptor iconDescriptor, long branch)Stores the designated icon descriptor in the designated branch and sets itIN_DEVELOPMENTif not done yet.voidIdentifierManager. storeDevelopmentIdentifier(SessionToken session, Identifier identifier, long branch)Stores the designated identifier in the designated branch and sets itIN_DEVELOPMENTif not done yet.voidOperationManager. storeDevelopmentOperation(SessionToken session, StorageOperation operation, long branch)Stores the designated (storage representation of the) operation in the designated branch and sets itIN_DEVELOPMENTif not done yet.voidResourceManager. storeDevelopmentResourceDescriptor(SessionToken session, ResourceDescriptor resourceDescriptor, byte[] resource, long branch)Stores the designated resource descriptor in the designated branch and sets itIN_DEVELOPMENTif not done yet.CheckReportRevisionManager. 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 DataEdgeChangeOperationTools. createSimpleDataEdgeObject(SessionToken session, ActivityConstants.AccessType type)Creates a simple DataEdge container Objectstatic DataElementChangeOperationTools. createSimpleDataElementObject(SessionToken session, String name, ProcessConstants.AdeptDataType type)Creates a simple DataElement container objectstatic EdgeChangeOperationTools. createSimpleEdgeObject(SessionToken session, ProcessConstants.EdgeType type)Creates a simple edge container object of the given typestatic NodeChangeOperationTools. createSimpleNodeObject(SessionToken session)Creates a simple node container objectstatic ProcessModelParameterChangeOperationTools. createSimpleProcessParameterObject(SessionToken session, String name, ProcessConstants.AdeptDataType type, String userDefinedType, boolean isVirtual, UUID identifierID, boolean isInputParameter)Creates a simple process (in-/out-) parameter.static ActivityConvertActivityTemplateToActivity. performConversion(ProcessModelFactory pmf, SessionToken session, ActivityTemplate at, String instanceName)converts an activity template to an activitystatic voidAddNodeSystemParameter. 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 voidAddNodeSystemParameter. 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 voidAddNodeSystemParameter. 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 voidAddNodeSystemParameter. 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 voidAddNodeSystemParameter. 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 voidAddSystemDataFlow. 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 voidAddSystemDataFlow. 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 voidAddSystemDataFlow. 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 voidAddSystemDataFlow. 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 voidAddSystemDataFlow. 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 voidAssignEmptyEmbeddedSubprocess. performOperation(SessionToken session, ChangeableInstance instance, int nodeID)Creates and assigns an empty embedded subprocess to a node in the given instance.static voidAssignEmptyEmbeddedSubprocess. 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 voidAssignEmptyEmbeddedSubprocess. performOperation(SessionToken session, ChangeableTemplate template, int nodeID)Creates and assigns an empty embedded subprocess to a node in the given template.static voidAssignEmptyEmbeddedSubprocess. 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 voidAssignEmptyEmbeddedSubprocess. performOperation(SessionToken session, ChangePrimitives processGraph, int nodeID, UpdateManager updateManager)Worker method to do the structural changes for both changeable templates and changeable instances.static voidAssignExecutableBusinessProcess. 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 voidAssignExecutableBusinessProcess. 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 voidAssignExecutableBusinessProcess. 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 voidAssignExecutableBusinessProcess. 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 voidAssignExecutableBusinessProcess. 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 intCopyNode. 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 intCopyNode. 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 intCopyNode. 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 intCopyNode. 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 intCopyNode. 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 voidDeleteBorderNodes. performOperation(SessionToken session, ChangeableInstance instance, Node split, Node join)Deletes a split and its corresponding join node (border nodes) from the given instance.static voidDeleteBorderNodes. 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 voidDeleteBorderNodes. performOperation(SessionToken session, ChangeableTemplate template, Node split, Node join)Deletes a split and its corresponding join node (border nodes) from the given template.static voidDeleteBorderNodes. 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 voidDeleteBorderNodes. 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 voidDeleteDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type)Deletes a data edge form the instance.static voidDeleteDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type, UpdateManager updateManager)Deletes a data edge form the instance (with updateManager).static voidDeleteDataEdge. performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ActivityConstants.AccessType type)Deletes a data edge from the template.static voidDeleteDataEdge. 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 voidDeleteDataEdge. 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 voidDeleteDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement)Deletes the given data element from the instance.static voidDeleteDataElement. 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 voidDeleteDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement)Deletes the given data element from the template.static voidDeleteDataElement. 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 voidDeleteDataElement. performOperation(SessionToken session, ChangePrimitives processGraph, DataElement dataElement, UpdateManager updateManager)Worker method to do the structural changes for both changeable templates and changeable instances.static voidDeleteNode. performOperation(SessionToken session, ChangeableInstance instance, Node node)Deletes a node of type NT_NORMAL from the given instance.static voidDeleteNode. performOperation(SessionToken session, ChangeableInstance instance, Node node, UpdateManager updateManager)Deletes a node of type NT_NORMAL from the given instance (with updateManager).protected static voidDeleteNode. performOperation(SessionToken session, ChangeableInstance instance, Node node, ProcessConstants.NodeType type, UpdateManager updateManager)Deletes a node of typetypefrom the instance.static voidDeleteNode. performOperation(SessionToken session, ChangeableTemplate template, Node node)Deletes a node of type NT_NORMAL from the given template.static voidDeleteNode. performOperation(SessionToken session, ChangeableTemplate template, Node node, UpdateManager updateManager)Deletes a node of type NT_NORMAL from the given template (with updateManager).protected static voidDeleteNode. performOperation(SessionToken session, ChangeableTemplate template, Node node, ProcessConstants.NodeType type, UpdateManager updateManager)Deletes a node of typetypefrom the template.protected static voidDeleteNode. 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 NodeInsertBetweenNodeSets. performOperation(SessionToken session, ChangeableInstance instance, List<Integer> preds, List<Integer> succs)Insert a new node between two nodes in the given instance.static NodeInsertBetweenNodeSets. 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 NodeInsertBetweenNodeSets. 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 NodeInsertBetweenNodeSets. 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 NodeInsertBetweenNodeSets. 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 voidInsertDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ActivityConstants.AccessType type)Inserts a new data edge in the instance.static voidInsertDataEdge. 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 voidInsertDataEdge. 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 voidInsertDataEdge. performOperation(SessionToken session, ChangeableInstance instance, Node node, DataElement dataElement, ProcessModelParameter parameter, ActivityConstants.AccessType type)Inserts a new data edge in the instance.static voidInsertDataEdge. 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 voidInsertDataEdge. performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ActivityConstants.AccessType type)Inserts a new data edge in the template (with update manager).static voidInsertDataEdge. 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 voidInsertDataEdge. 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 voidInsertDataEdge. performOperation(SessionToken session, ChangeableTemplate template, Node node, DataElement dataElement, ProcessModelParameter parameter, ActivityConstants.AccessType type)Inserts a new data edge in the template.static voidInsertDataEdge. 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 voidInsertDataEdge. 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 voidInsertDataEdge. 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 voidInsertDataEdge. 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 DataElementInsertDataElement. performOperation(SessionToken session, ChangeableInstance instance)Insert a new data element in the instance.static DataElementInsertDataElement. performOperation(SessionToken session, ChangeableInstance instance, UpdateManager updateManager)Insert a new data element in the instance (with updateManager).static DataElementInsertDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement)Insert a new data element in the instance.static DataElementInsertDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement, UpdateManager updateManager)Insert a new data element in the instance.static DataElementInsertDataElement. performOperation(SessionToken session, ChangeableTemplate template)Insert a new data element in the template.static DataElementInsertDataElement. performOperation(SessionToken session, ChangeableTemplate template, UpdateManager updateManager)Insert a new data element in the template.static DataElementInsertDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement)Insert a new data element in the template.static DataElementInsertDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement, UpdateManager updateManager)Insert a new data element in the template.protected static DataElementInsertDataElement. performOperation(SessionToken session, ChangePrimitives processGraph, UpdateManager updateManager)Worker method to do the structural changes for both changeable templates and changeable instances.protected static DataElementInsertDataElement. 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 voidInsertEmptyBranch. performOperation(SessionToken session, ChangeableInstance instance, Node split, Node join)Inserts an empty branch between split and join in the given instance.static voidInsertEmptyBranch. 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 voidInsertEmptyBranch. performOperation(SessionToken session, ChangeableTemplate template, Node split, Node join)Inserts an empty branch between split and join in the given template.static voidInsertEmptyBranch. 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 voidInsertEmptyBranch. 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 NodeInsertNode. performOperation(SessionToken session, ChangeableInstance instance, Node pred, Node succ)Insert a new node between two nodes in the given instance.static NodeInsertNode. 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 NodeInsertNode. performOperation(SessionToken session, ChangeableInstance instance, Node tempNode, Node pred, Node succ)Insert a new node between two nodes in the given instance.static NodeInsertNode. 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 NodeInsertNode. performOperation(SessionToken session, ChangeableInstance instance, Node tempNode, Node pred, Node succ, ProcessConstants.NodeType type, UpdateManager updateManager)Insert a new node of typetypebetween two nodes in the given instance.static NodeInsertNode. performOperation(SessionToken session, ChangeableTemplate template, Node pred, Node succ)Insert a new node between two nodes in the given template.static NodeInsertNode. 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 NodeInsertNode. performOperation(SessionToken session, ChangeableTemplate template, Node tempNode, Node pred, Node succ)Insert a new node between two nodes in the given template.static NodeInsertNode. 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 NodeInsertNode. performOperation(SessionToken session, ChangeableTemplate template, Node tempNode, Node pred, Node succ, ProcessConstants.NodeType type, UpdateManager updateManager)Insert a new node of typetypebetween two nodes in the given template.protected static NodeInsertNode. 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 NodeInsertNode. 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 voidMoveNodes. 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 voidMoveNodes. 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 voidMoveNodes. 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 voidMoveNodes. 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 voidMoveNodes. 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 voidReconnectDataEdge. 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 voidReconnectDataEdge. 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 voidReconnectDataEdge. 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 voidReconnectDataEdge. 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 voidReconnectDataEdge. 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 voidRemoveExecutableBusinessProcess. performOperation(SessionToken session, ChangeableInstance instance, Node node)Removes/Deletes an executable business process from the given node in the given instance.static voidRemoveExecutableBusinessProcess. performOperation(SessionToken session, ChangeableInstance instance, Node node, UpdateManager updateManager)Removes/Deletes an executable business process from the given node in the given instance.static voidRemoveExecutableBusinessProcess. performOperation(SessionToken session, ChangeableTemplate template, Node node)Removes/Deletes an executable business process from the given node in the given templatestatic voidRemoveExecutableBusinessProcess. 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 voidRemoveExecutableBusinessProcess. performOperation(SessionToken session, ChangePrimitives processGraph, Node node, UpdateManager updateManager)Worker method to do the structural changes for both changeable templates and changeable instances.static voidRemoveNodeSystemParameter. 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 voidRemoveNodeSystemParameter. 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 voidRemoveNodeSystemParameter. 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 voidRemoveNodeSystemParameter. 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 voidRemoveNodeSystemParameter. 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 voidRemoveSystemDataFlow. 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 voidRemoveSystemDataFlow. 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 voidRemoveSystemDataFlow. performOperation(SessionToken session, ChangeableTemplate template, int nodeID, String inputParameterName)Remove the system data flow which is connected with the given parameter.static voidRemoveSystemDataFlow. 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 voidRemoveSystemDataFlow. 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 voidSwapDataElementParameterConnections. 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 voidSwapDataElementParameterConnections. 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 voidSwapDataElementParameterConnections. 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 voidSwapDataElementParameterConnections. 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 voidSwapDataElementParameterConnections. 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 voidToggleSyncEdge. performOperation(SessionToken session, ChangeableInstance instance, Node pred, Node succ)Deletes the sync edge in the instance if there already exists one.static voidToggleSyncEdge. performOperation(SessionToken session, ChangeableInstance instance, Node pred, Node succ, UpdateManager updateManager)Deletes the sync edge in the instance if there already exists one.static voidToggleSyncEdge. performOperation(SessionToken session, ChangeableTemplate template, Node pred, Node succ)Deletes the sync edge in the template if there already exists one.static voidToggleSyncEdge. 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 voidToggleSyncEdge. 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 voidUpdateDataEdge. 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 voidUpdateDataEdge. 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 voidUpdateDataEdge. 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 voidUpdateDataEdge. 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 voidUpdateDataEdge. 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 DataElementUpdateDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement, UpdateManager updateManager, ProcessConstants.DataElementProperty... dataElementProperties)Updates the data element attributes given bydataElementPropertiesin the instance.static DataElementUpdateDataElement. performOperation(SessionToken session, ChangeableInstance instance, DataElement dataElement, ProcessConstants.DataElementProperty... dataElementProperties)Updates the data element attributes given bydataElementPropertiesin the instance.static DataElementUpdateDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement, UpdateManager updateManager, ProcessConstants.DataElementProperty... dataElementProperties)Updates the data element attributes given bydataElementPropertiesin the template.static DataElementUpdateDataElement. performOperation(SessionToken session, ChangeableTemplate template, DataElement dataElement, ProcessConstants.DataElementProperty... dataElementProperties)Updates the data element attributes given bydataElementPropertiesin the template.protected static DataElementUpdateDataElement. 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 voidUpdateDataElementParameterMapping. 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 voidUpdateDataElementParameterMapping. 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 voidUpdateDataElementParameterMapping. 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 voidUpdateDataElementParameterMapping. 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 voidUpdateDataElementParameterMapping. 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 voidUpdateNodeSystemDependency. 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 voidUpdateNodeSystemDependency. 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 voidUpdateNodeSystemDependency. 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 voidUpdateNodeSystemDependency. 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 voidUpdateNodeSystemDependency. 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 SessionTokenAddAttrSessionFactory. getSessionToken()SessionTokenAddAttrSessionFactory. getSessionToken(URI[] callingComponent)SessionTokenAddAttrSessionFactory. getSessionToken(URI[] callingComponent, Map<String,String> additionalAttributes)SessionTokenAddAttrSessionFactory. getSessionToken(Map<String,String> additionalAttributes)SessionTokenADEPT2ClientService. getSessionToken()Deprecated.Gets a session token for currently active agent and the URIs of this client.SessionTokenClientService. getSessionToken()Gets a session token for currently active agent and the URIs of this client.SessionTokenClientService. getSessionToken(QualifiedAgent agent)Gets a session token for the designated agent ignoring the currently active agent.SessionTokenClientService. 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.SessionTokenClientService. getSessionToken(Map<String,String> additionalAttributes)Gets a session token for currently active agent and the URIs of this client having the designated additional attributes.SessionTokenMultiplexingClientService. getSessionToken()SessionTokenMultiplexingClientService. getSessionToken(QualifiedAgent agent)SessionTokenMultiplexingClientService. getSessionToken(QualifiedAgent agent, Map<String,String> additionalAttributes)SessionTokenMultiplexingClientService. getSessionToken(Map<String,String> additionalAttributes)Methods in de.aristaflow.adept2.core.client with parameters of type SessionToken Modifier and Type Method Description voidClientService.ActiveAgentChangedListener. activeAgentChanged(RichAgent oldAgent, SessionToken oldSession, RichAgent newAgent, SessionToken newSession)The active agent has been changed.ADEPT2ClientServiceMultiplexingClientService. getClientService(SessionToken session)This method can be called to receive theADEPT2ClientServicewhich is mapped to the user session ID in the additionalAttributes of the SessionToken.<T> TMultiplexingClientService. 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> TMultiplexingClientService. 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.booleanMultiplexingClientService. hasAllCapabilities(SessionToken sessionToken, String... capabilities)booleanMultiplexingClientService. hasAllTopLevelCapabilities(SessionToken sessionToken, String... capabilities)booleanMultiplexingClientService. hasOneCapability(SessionToken sessionToken, String... capabilities)booleanMultiplexingClientService. 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 SimpleClusterNodeInformationClusterService. 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.SimpleClusterNodeInformationClusterService. 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 voidDataManager. archiveInstance(SessionToken session, UUID instanceID)Archives the data of the designated instance to a separate archive.voidUDTManager. createDataType(SessionToken session, String userDefinedDataType)Creates a new data type (UDT) in the data type manager/process repository with the designated name.InstanceDataContainerDataManager. createInstanceDataContainer(SessionToken session, Template template)Creates an instance data container for the input (and output) parameters of the designated template.voidUDTManager. 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.voidUDTManager. deleteDataType(SessionToken session, String userDefinedDataType)Deletes a data type (UDT) in the process repository.voidUDTManager. deleteUDF(SessionToken session, String userDefinedDataType, String functionName)Deletes a user-defined function (UDF) in the data type manager/process repository.voidProcessAwareAccess. 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.voidProcessAwareAccess. 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.voidProcessAwareAccess. 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.booleanProcessAwareAccess. 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.booleanUDFExecution. 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.doubleUDFExecution. 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.longUDFExecution. 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.StringUDFExecution. 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.UDTValueUDFExecution. 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.ServerUDTInputStreamUDFExecution. 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.URIUDFExecution. 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.voidUDFExecution. executeVoidFunction(SessionToken session, UDTValue proxy, String functionName)Executes the designated user-defined function for the designated value of a UDT.StringProcessAwareAccess. 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.voidProcessAwareAccess. 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.Map<UUID,ArchiveDataContainer>DataMonitor. getCurrentDataValues(SessionToken session, Map<UUID,Collection<UUID>> templToinstLogIds, Map<UUID,Map<Integer,Pair<ProcessConstants.AdeptDataType,Long>>> dataElements)Gets the current values of the designated data elements for the designated instances.DataContainerProcessAwareAccess. 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 theDataHistoryassigned to data manager for logging instance data.InputDataContainerProcessUnawareAccess. getInputDataContainer(SessionToken session, Instance instance, Set<Integer> dataElementIDs)Gets an input data container providing the most recent values of the designated data element IDs.StringSessionStateManager. 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.InputDataContainerProcessAwareAccess. getNodeDataContainer(SessionToken session, Instance instance, int nodeID)Gets the data container for the designated node.DataContainerProcessAwareAccess. 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.ParameterDataContextProcessAwareAccess. getPublicDataContext(SessionToken session, Instance instance, int nodeID)Gets the data context providing all public data elements for the designated node.ParameterDataContextProcessUnawareAccess. 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.booleanProcessAwareAccess. ignoredValue(SessionToken session, UUID instId, int writerId, int writerIteration, int deId)Gets whether the designated node iteration has ignored the designated data element in the designated instance, that is, it has not written a value ornullto the data element.voidDataManager. instanceChanged(SessionToken session, Instance instance)Notifies the data manager that the designated instance has been changed.voidDataManager. instanceChanged(SessionToken session, Instance instance, DataContainer changedDataContainer)Notifies the data manager that the designated instance and also its output parameters have changed.voidDataManager. 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).voidDataManager. 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).booleanProcessUnawareAccess. 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.booleanProcessUnawareAccess. 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.booleanProcessAwareAccess. 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.booleanProcessAwareAccess. 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 the designated iteration count.DateProcessAwareAccess. 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 the designated iteration count.booleanProcessUnawareAccess. 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.DateProcessUnawareAccess. 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.doubleProcessUnawareAccess. 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.longProcessUnawareAccess. 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.StringProcessUnawareAccess. 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.UDTValueProcessUnawareAccess. 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.ServerUDTInputStreamProcessUnawareAccess. 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.URIProcessUnawareAccess. 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.doubleProcessAwareAccess. 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 the designated iteration count.DataContainerDataManager. retrieveInstanceDataContainer(SessionToken session, Instance instance)Retrieves the instance data container for the designated instance.longProcessAwareAccess. 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 the designated iteration count.booleanProcessUnawareAccess. 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.DateProcessUnawareAccess. 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.doubleProcessUnawareAccess. 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.longProcessUnawareAccess. 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.StringProcessUnawareAccess. 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.UDTValueProcessUnawareAccess. 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.ServerUDTInputStreamProcessUnawareAccess. 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.URIProcessUnawareAccess. 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.ServerStreamSessionStateManager. retrieveSessionStateIncrementally(SessionToken session, String savepoint, UUID instanceLogId, int nodeId, int iteration)Retrieves the state of a running application as aServerStreamso that (the state of) the suspended application/session can be restored.StringProcessAwareAccess. 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 the designated iteration count.UDTValueProcessAwareAccess. 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 the designated iteration count.ServerUDTInputStreamProcessAwareAccess. 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 the designated iteration count asServerUDTInputStream.URIProcessAwareAccess. 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 the designated iteration count.voidProcessUnawareAccess. 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.voidProcessAwareAccess. 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 the designated iteration.voidProcessAwareAccess. 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 the designated iteration.voidProcessUnawareAccess. 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.voidProcessAwareAccess. 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 the designated iteration.voidProcessAwareAccess. 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 the designated iteration.voidProcessUnawareAccess. 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.booleanProcessAwareAccess. storedBoolean(SessionToken session, UUID instId, int writerId, int writerIteration, int deId)Gets theProcessConstants.AdeptDataType.BOOLEANvalue written by the designated node iteration to the designated data element in the designated instance.DateProcessAwareAccess. storedDate(SessionToken session, UUID instId, int writerId, int writerIteration, int deId)Gets theProcessConstants.AdeptDataType.DATEvalue written by the designated node iteration to the designated data element in the designated instance.doubleProcessAwareAccess. storedFloat(SessionToken session, UUID instId, int writerId, int writerIteration, int deId)Gets theProcessConstants.AdeptDataType.FLOATvalue written by the designated node iteration to the designated data element in the designated instance.longProcessAwareAccess. storedInteger(SessionToken session, UUID instId, int writerId, int writerIteration, int deId)Gets theProcessConstants.AdeptDataType.INTEGERvalue written by the designated node iteration to the designated data element in the designated instance.StringProcessAwareAccess. storedString(SessionToken session, UUID instId, int writerId, int writerIteration, int deId)Gets theProcessConstants.AdeptDataType.STRINGvalue written by the designated node iteration to the designated data element in the designated instance.UDTValueProcessAwareAccess. storedUDT(SessionToken session, UUID instId, int writerId, int writerIteration, int deId)Gets theProcessConstants.AdeptDataType.USERDEFINEDvalue written by the designated node iteration to the designated data element in the designated instance.ServerUDTInputStreamProcessAwareAccess. storedUDTIncrementally(SessionToken session, UUID instId, int writerId, int writerIteration, int deId)Gets theProcessConstants.AdeptDataType.USERDEFINEDvalue written by the designated node iteration to the designated data element in the designated instance asServerUDTInputStream.URIProcessAwareAccess. storedURI(SessionToken session, UUID instId, int writerId, int writerIteration, int deId)Gets theProcessConstants.AdeptDataType.URIvalue written by the designated node iteration to the designated data element in the designated instance.voidProcessAwareAccess. 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 the designated iteration.voidProcessAwareAccess. 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 the designated iteration.voidProcessUnawareAccess. 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.voidProcessAwareAccess. 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 the designated iteration.voidProcessAwareAccess. 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 the designated iteration.voidProcessUnawareAccess. 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.voidSessionStateManager. 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.voidProcessAwareAccess. 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 the designated iteration.voidProcessAwareAccess. 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 the designated iteration.voidProcessUnawareAccess. 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.voidProcessAwareAccess. 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 the designated iteration.voidProcessAwareAccess. 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 the designated iteration.voidProcessUnawareAccess. storeUDTExternal(SessionToken session, UUID instanceID, int dataElementID, UDTValue value)Stores the value of the designated data element of the process instance as external value.voidProcessAwareAccess. 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 the designated iteration.voidProcessAwareAccess. 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 the designated iteration.voidProcessUnawareAccess. 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.voidProcessAwareAccess. 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 aRuntimeServiceand provides its process context.Methods in de.aristaflow.adept2.core.eventmanager with parameters of type SessionToken Modifier and Type Method Description EventHandlerEventManager. 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.EventHandlerEventManager. 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 UUIDInstanceStartEventManager. createAndStartInstance(SessionToken session, UUID templateID, InstanceDataContainer dataContainer)Deprecated, for removal: This API element is subject to removal in a future version.InstanceDataContainerInstanceStartEventManager. 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.TemplateReferenceInstanceStartEventManager. 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.TemplateReferenceInstanceStartEventManager. getTemplateReference(SessionToken session, UUID templateID)Gets the lightweight representation of the designated process template.EventHandlerEventManager. 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.voidInstanceStartEventManager. stopAndAbortInstance(SessionToken session, UUID instanceId, String errorMessage, String errorState, long errorCode)Stops the designated instance and also the running activities. -
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 SessionTokenAbstractEventManager. createSession()Creates a new session token using the client session factory assigned to this service.protected SessionTokenOneWorkWorklistHandler. createSession()protected SessionTokenWorklistHandler. createSession()Deprecated, for removal: This API element is subject to removal in a future version.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 EventHandlerAbstractEventManager. addEventHandler(SessionToken session, String eventType, String sourceType, EventHandler current, int index)EventHandlerAbstractEventManager. addEventHandler(SessionToken session, String eventType, String sourceType, String handlerID, int index)protected EventHandlerAbstractEventManager. 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)InstanceDataContainerAbstractEventManager. createInstanceDataContainer(SessionToken session, UUID templateID)protected TemplateReferenceAbstractInstanceStartEventHandler. getAndCheckTemplate(SessionToken session)Retrieves the "latest" template of the configured process type and checks for whether it has the right input parameter.
This method is called by the constructor! Overriding subclasses must not access their own instance fields but the instance fields of this parent class.List<String>AbstractEventManager. getEventHandler(SessionToken session, String eventType, String sourceType)Collection<String>AbstractEventManager. getEventSources(SessionToken session, String eventType, String sourceType)TemplateReferenceAbstractEventManager. 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.TemplateReferenceAbstractEventManager. getTemplateReference(SessionToken session, UUID templateID)EventHandlerAbstractEventManager. 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)voidAbstractEventManager. stopAndAbortInstance(SessionToken session, UUID instanceId, String errorMessage, String errorState, long errorCode) -
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 TemplateReferenceMarkInstanceStartEventHandler. 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 voidActivityExecutionControl. 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.voidInstanceChanging. abortInstanceChanging(SessionToken session, UUID instanceID)Aborts changing the instance, unlocks and resumes the instance and informs the worklist managers accordingly.voidActivityTermination. 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.voidActivityTermination. 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.voidActivityTermination. 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.voidActivityTermination. activityResetTo(SessionToken session, EBPInstanceReference activity, String savepoint)Signals a reset of a running activity to the designated savepoint.voidActivityTermination. 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.voidActivityTermination. 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.voidWorklistInteraction. 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, theDataManagerand 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, theDataManagerand theExecutionHistory.ChangeReportInstanceChanging. 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.ChangeReportInstanceChanging. 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.voidInstanceControl. commitInstance(SessionToken session, UUID instanceID)Commits the designated instance, that means, the instance is marked as successfully completed.default UUIDInstanceControl. 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 UUIDInstanceControl. createAndStartInstance(SessionToken session, UUID processTemplateID, URI[] stateListener)Deprecated, for removal: This API element is subject to removal in a future version.default UUIDInstanceControl. createAndStartInstance(SessionToken session, UUID processTemplateID, URI[] rtMgr, URI[] stateListener)Deprecated, for removal: This API element is subject to removal in a future version.default UUIDInstanceControl. createAndStartSubInstance(SessionToken session, EBPInstanceReference superInstanceActivity, ExecutionContext executionContext, URI[] stateListener)Deprecated, for removal: This API element is subject to removal in a future version.InstanceDataContainerInstanceControl. createInstanceDataContainer(SessionToken session, UUID processTemplateID)Creates an instance data container for the input (and output) parameters of the designated template.voidActivityStarting. deselectActivity(SessionToken session, EBPInstanceReference activity)Deselects the designated activity, that is, the designated user does not want to execute the activity later any more.voidActivityStarting. enquireActivity(SessionToken session, EBPInstanceReference activity, Set<QualifiedAgent> recipients, String question)Sets an enquiry for the designated activity and delegates it to the designated recipients.voidActivityTermination. 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.voidActivityTermination. 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.Map<InstanceReference,Collection<de.aristaflow.adept2.model.monitor.InstanceDataValues>>InstanceExecutionMonitor. getCurrentDataValues(SessionToken session, Collection<UUID> rootTemplIds, List<de.aristaflow.adept2.model.monitor.TemplTreeDataElement> dataElements, Filter instFilter, Filter instStatusFilter, Map<Integer,Long> valueSizeLimits)Gets the current values of the instances of the designated template IDs restricted to the designated data elements and the instances matching the designated instance and instance status filter.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.ExecutionContextActivityStarting. 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.ChangeableInstanceInstanceChanging. 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 stateINSTANTIABLEas 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 stateINSTANTIABLEas 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.ParameterDataContextInstanceControl. 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.TemplateReferenceInstanceControl. getTemplateReference(SessionToken session, UUID templateID)Gets the lightweight representation of the designated process template.Pair<Collection<UUID>,Collection<de.aristaflow.adept2.model.monitor.TemplTreeDataElement>>InstanceExecutionMonitor. getTemplTreeDataElemsForProcType(SessionToken session, String procType, UUID... virtualSysDeIdentifier)Determines the template trees (subprocess structure and different templates versions) of the designated process type and gets the all data elements of the corresponding templates.Collection<de.aristaflow.adept2.model.monitor.TemplTreeDataElement>InstanceExecutionMonitor. getTemplTreeDataElemsForTemplate(SessionToken session, UUID templId, UUID... virtualSysDeIdentifier)Determines the template tree (subprocess structure) of the designated template and gets the all data elements of the corresponding templates.voidSubInstanceStateNotification. 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.voidSubInstanceStateNotification. 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.voidSubInstanceStateNotification. instanceResumed(SessionToken session, UUID instanceID, EBPInstanceReference superLWP)Notifies that the designated subprocess instance has been resumed.voidSubInstanceStateNotification. instanceSuspended(SessionToken session, UUID instanceID, EBPInstanceReference superLWP, DataContainer dataContainer)Notifies that the designated subprocess instance has been suspended.VoteInstanceControl. 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.voidWorklistInteraction. removeWorklistManager(SessionToken session, WorklistNotification worklistManager)Removes a listening worklist manager from this execution manager.voidActivityStarting. replyEnquiry(SessionToken session, EBPInstanceReference activity, String reply)Replies to the designated activity, that is the last enquiry is replied.voidActivityExecutionControl. resetActivity(SessionToken session, EBPInstanceReference activity, boolean forceReset)Resets the designated activity to its initial state when it is first activated.voidActivityExecutionControl. resetActivity(SessionToken session, EBPInstanceReference activity, boolean forceReset, String savepoint)Resets the designated activity to the designated savepoint.StringActivityExecutionControl. resetToPrevSavepoint(SessionToken session, EBPInstanceReference activity, boolean forceReset)Resets the designated activity to the previous savepoint.voidActivityStarting. resumeActivity(SessionToken session, EBPInstanceReference activity)Resumes the designated activity from the latest valid savepoint and logs the agent, the organisational position.voidInstanceControl. 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.voidInstanceControl. 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.voidInstanceControl. rollbackInstance(SessionToken session, UUID instanceID)Resets the designated instance, which includes rolling back the data and the effects of the instance as a whole.voidActivityStarting. selectActivity(SessionToken session, EBPInstanceReference activity)Selects the designated activity, that is, the designated user wants to execute the activity later.voidActivityStarting. 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.voidInstanceControl. stopAndAbortInstance(SessionToken session, UUID instanceID, boolean propagateToRunningActs, String errorMessage, String state, long errorCode)Stops the designated instance and if appropriate also the running activities.booleanActivityExecutionControl. suspendActivity(SessionToken session, EBPInstanceReference activity, boolean waitForAcknowledgement, boolean propagate)Instructs the ActivityExecutionControl to suspend the specified activity and propagate the suspension if appropriate, e.booleanInstanceControl. suspendInstance(SessionToken session, UUID instanceID, boolean propagateToRunningActs)Suspends the designated instance and if appropriate also the running activities.voidInstanceChanging. 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.voidLocalInstanceStateNotifier. unregisterInstanceStateListener(SessionToken session, InstanceStateNotification listener)Unregisters the designated listener for state changes of every instance.voidLocalInstanceStateNotifier. 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 ConfigurationGlobalConfiguration. getConfiguration(SessionToken session, String namespace)Deprecated.Gets the global configuration for all activities of the designated configuration namespace.ConfigurationGlobalConfiguration. 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.ConfigurationGlobalConfiguration. 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.ConfigurationGlobalConfiguration. getConfiguration(SessionToken session, String namespace, String ecName, String operationName, String activityName)Deprecated.Gets the configuration for the designated activity of the designated configuration namespace.ConfigurationGlobalUserConfiguration. getConfiguration(SessionToken session, String namespace, long agentId, long orgPosId)Gets the configuration for the designated agent and the designated namespace.ConfigurationGlobalUserConfiguration. 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) ornullin 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 ornullin case no icon with the designated ID exists.IconDescriptorIconProvider. getIconDescriptor(SessionToken session, UUID iconID)Gets the latest revision of the designated icon descriptor ornullin 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 ornullin case no resource with the designated ID exists.ResourceDescriptorResourceProvider. getResourceDescriptor(SessionToken session, UUID resourceID)Gets the latest revision of the designated resource descriptor ornullin case no resource descriptor with the designated ID exists.ServerStreamResourceProvider. getResourceIncrementally(SessionToken session, ResourceDescriptor resourceDescriptor)The same asResourceProvider.getResource(SessionToken, ResourceDescriptor)but with incremental retrieval of the resource.ServerStreamResourceProvider. getResourceIncrementally(SessionToken session, UUID resourceID)The same asResourceProvider.getResource(SessionToken, UUID)but with incremental retrieval of the resource.ConfigurationGlobalConfiguration. getTestConfiguration(SessionToken session, String namespace)Deprecated.Gets the global test configuration for all activities of the designated configuration namespace.ConfigurationGlobalConfiguration. 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.ConfigurationGlobalConfiguration. 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.ConfigurationGlobalConfiguration. 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.voidGlobalConfiguration. setConfiguration(SessionToken session, String namespace, Configuration configuration)Deprecated.Sets the global configuration for all activities of the designated configuration namespace to the designated one.voidGlobalConfiguration. 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.voidGlobalConfiguration. 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.voidGlobalConfiguration. 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.voidGlobalUserConfiguration. setConfiguration(SessionToken session, String namespace, long agentId, long orgPosId, Configuration conf)Sets the designated configuration for the designated agent and the designated namespace.voidGlobalUserConfiguration. setGlobalConfiguration(SessionToken session, String namespace, Configuration conf)Sets the designated global configuration for the designated namespace.voidGlobalConfiguration. 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.voidGlobalConfiguration. 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.voidGlobalConfiguration. 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.voidGlobalConfiguration. 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.DataContainerInitTabManager. getInitTabInputData(SessionToken session, InitType type, int level)Returns the input data for the given init tab entry, or null if not applicable.UUIDInitTabManager. 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.voidInitTabManager. registerNewEntry(SessionToken session, InitTabEntry entry, DataContainer inputData)This method changes the ID of the designated entry, so provide just any ID.voidInitTabManager. 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 longLog. count(SessionToken session, String sqlWhereClause)Counts all log entries that match the specified WHERE clause.StringLog. formatCondition(SessionToken session, String conditionFormat, Serializable... values)Formats the given condition format string and values to an SQL condition that can e.g.StringLogManager. 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.ResultSetLog. query(SessionToken session, String sqlQuery, int maxEntries)Executes a user-defined SQL query on the data source of the associated log manager.ResultSetLogManager. query(SessionToken session, String sqlQuery, int maxEntries)Executes a user-defined SQL query on the data source of this log manager.LogEntryLog. read(SessionToken session, long logEntryID, String... columnNames)Reads the log entry with the specified ID.LogEntrySetLog. read(SessionToken session, String sqlWhereClause, String sqlOrderByClause, int startEntry, int maxEntries, String... columnNames)Reads all log entries that match the specified WHERE clause.LogEntrySetLog. 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 voidExecutionHistoryWriteAccess. archiveInstance(SessionToken session, UUID instanceLogID)Archives the data of the designated instance to a separate archive.longExecutionHistory. countInstanceHistoryEntries(SessionToken session, UUID instanceLogID)voidExecutionHistoryWriteAccess. logInstanceChanged(SessionToken session, long timestamp, Instance instance)voidExecutionHistoryWriteAccess. logInstanceFailed(SessionToken session, long timestamp, Instance instance, long errorCode, String errorState, String errorMessage)voidExecutionHistoryWriteAccess. logInstanceFinished(SessionToken session, long timestamp, Instance instance)voidExecutionHistoryWriteAccess. logInstanceResumed(SessionToken session, long timestamp, Instance instance)voidExecutionHistoryWriteAccess. logInstanceStarted(SessionToken session, long timestamp, Instance instance)voidExecutionHistoryWriteAccess. logInstanceSuspended(SessionToken session, long timestamp, Instance instance)voidExecutionHistoryWriteAccess. logNodeActivated(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeDeselected(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeFailed(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration, long errorCode, String errorState, String errorMessage)voidExecutionHistoryWriteAccess. logNodeFinished(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, Map<String,String> nodeName, int iteration, URI[] executionManagerURIs)voidExecutionHistoryWriteAccess. 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.voidExecutionHistoryWriteAccess. 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.voidExecutionHistoryWriteAccess. logNodeResetSoft(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. 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.voidExecutionHistoryWriteAccess. logNodeResumed(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeSelected(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeSkipped(SessionToken session, long timestamp, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. logNodeStarted(SessionToken session, long timestamp, Instance instance, int nodeID, Map<String,String> nodeName, int iteration)voidExecutionHistoryWriteAccess. 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.voidExecutionHistoryWriteAccess. logNodeSuspended(SessionToken session, long timestamp, Long clientDelay, Instance instance, int nodeID, int iteration)voidExecutionHistoryWriteAccess. 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.LogEntrySetExecutionHistory. readAllInstanceErrorInformation(SessionToken session, UUID instLogId)Gets the log entries containing all error information for the specified instance starting with the most recent error.LogEntrySetExecutionHistory. 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.LogEntryExecutionHistory. 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.LogEntryExecutionHistory. 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 ornullif there is no error information available.LogEntrySetExecutionHistory. 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 EmailResultMailService. sendMail(SessionToken session, Email mail, boolean allowAsyncRetry)Sends the designated mail which needs at least one recipient, a subject and a body/text.EmailResultMailService. 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.EmailResultMailService. 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.EmailResultMailService. 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.EmailResultMailService. 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.EmailResultMailService. 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.EmailResultMailService. 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.EmailResultMailService. 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 voidModelChangeOperations. addAttribute(SessionToken session, EntityType entType, String attrName, DataType dataType)Adds a new attribute with the given data type to the given entity type.voidModelChangeOperations. 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 .voidModelChangeOperations. 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.voidModelChangeOperations. 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.voidModelChangeOperations. 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.voidModelChangeOperations. 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.voidModelChangeOperations. addStringAttribute(SessionToken session, EntityType entType, String attrName, int sizeHint, boolean readOnly, Map<String,String> omExtMapping, Collection<String> writeBackOmExts)Adds a newDataType.STRINGattribute of the designated size to the designated entity type which is being mapped from the designated attributes from the corresponding org model extensions .RichAgentClientAdministration. changeMailAddress(SessionToken session, String mailAddress)Changes the mail address of the user identified by the session token.voidClientAdministration. changePassword(SessionToken session, String oldPassword, String newPassword)This method changes the password of the user identified by the session token.RichAgentClientAdministration. changePreferredLocale(SessionToken session, Locale locale)Changes the preferred locale of the user identified by the session token.OrgPolicyReportPolicyResolution. checkResolvability(SessionToken session, String orgPolicy, boolean createFullReport, boolean rejectParameterReferences)Tests whether the given OrgPolicy is resolvable for the current state of the OrgModel.longModelChangeOperations. createAgent(SessionToken session, String agentUserName, String password)Adds a new Agent with the given (unique!) user name and password.longModelChangeOperations. createEntity(SessionToken session, Entity entity)Creates a new entity with the type and attribute values provided in the givenEntityobject and returns the assigned ID.voidModelChangeOperations. deleteAttribute(SessionToken session, EntityType entType, String attrName)This method removes an attribute from an entity type.voidModelChangeOperations. deleteEntity(SessionToken session, EntityType entType, long id)This method deletes the entity with the given ID of the given type.voidModelChangeOperations. 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.voidModelChangeOperations. 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.StringOrgPolicyScriptHandler. evaluateScript(SessionToken session, Script script)Evaluates the given script and returns the generated org policy.EntityModelExplorer. getAgentForUserName(SessionToken session, String agentUserName)Returns the agent for the specified user name.DataTypeModelExplorer. getAttributeDataType(SessionToken session, EntityType entType, String attrName)Returns the data type of the given attribute of the given entity type.AttributeMetaDataModelExplorer. 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.EntityModelExplorer. 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.intModelExplorer. getEntityCount(SessionToken session, EntityType entType, boolean excludeDisabled)Returns the current count of entities of the specified type.StringClientAdministration. 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)LocaleClientAdministration. 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 givenNavFunctiontraverses 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.RichAgentModelExplorer. 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 theRichAgents for the designated pairs of agent and org position ID.booleanModelExplorer. hasAttribute(SessionToken session, EntityType entType, String attrName)Returns whether the given entity type has an attribute with the given name.booleanPolicyResolution. 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.booleanPolicyResolution. 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.booleanPolicyResolution. 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.voidModelChangeOperations. 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.voidModelChangeOperations. 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.voidModelChangeOperations. 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.voidModelChangeOperations. 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.booleanPolicyResolution. 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 theOrgPolicyScriptServicefor the designated script type.booleanModelExplorer. 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 ofQualifiedAgents.RemoteIterator<List<QualifiedAgent>>PolicyResolution. resolvePolicyIterator(SessionToken session, String orgPolicy)The same asPolicyResolution.resolvePolicy(SessionToken, String)but with partial retrieval of the qualified agents.voidOrgModelManager. synchroniseModel(SessionToken session)Manually triggers synchronisation with external organisational models.booleanPolicyResolution. 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 theOrgPolicyScriptServicefor the designated script type from this policy resolution.voidModelChangeOperations. updateEntity(SessionToken session, Entity entity)Updates an entity with the attribute values provided in the givenEntityobject. -
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 SessionTokenOrgModelSyncAccess. 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 booleanOrgModelSyncAccess. 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.longOrgModelSyncAccess. 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.voidOrgModelSyncAccess. deleteEntity(SessionToken session, Entity entity)Deletes or disables the designated entity from/in the org model.booleanOrgModelSyncAccess. 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.voidOrgModelSyncAccess. 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.EntityOrgModelSyncAccess. getAgentForUserName(SessionToken session, String agentUserName)Gets the agent entity with the designatedPredefinedAttributes.AGENT_USERNAME.AttributeMetaDataOrgModelSyncAccess. 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_UIDattribute is set) that have a synchronisation run ID less than the current one.LongOrgModelSyncAccess. 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 ornullif no such org position exists.StringOrgModelSyncAccess. 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 voidOrgModelSyncAccess. initAttributes(SessionToken session, boolean disableDeleted, int uidColSizeHint, Collection<EntityType> entTypes)Deprecated, for removal: This API element is subject to removal in a future version.voidOrgModelSyncAccess. initAttributes(SessionToken session, boolean disableDeleted, String orgPosDom, int uidColSizeHint, Collection<EntityType> entTypes)Initialises thisOrgModelSyncAccessand 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.voidOrgModelSyncAccess. 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 SyncServiceOrgModelSyncAccess. 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 ProcessImageDataProcessImageRenderer. getInstance(SessionToken session, UUID instanceID, RenderOptions options)Gets the designated process instance from the process manager as rendered image.ProcessImageDataProcessImageRenderer. getTemplate(SessionToken session, UUID templateID, RenderOptions options)Gets the designated process template from the process manager as rendered image.ProcessImageDataProcessImageRenderer. renderInstance(SessionToken session, Instance instance, RenderOptions options)Gets the designated process instance as rendered image.ProcessImageDataProcessImageRenderer. 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.InstanceExecutionStatusProcessManagerTools. 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.NodeStateProcessManagerTools. 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.ChangeReportInstanceManager. changeAndUnlockInstance(SessionToken session, ChangeableInstance instance, Locale... locales)Releases the lock of the designated instance and incorporates the made changes.ChangeReportInstanceManager. changeInstance(SessionToken session, ChangeableInstance instance, Locale... locales)Changes the instance and returns a new UUID but does not release the lock.ExecutableInstanceInstanceManager. createInstanceOf(SessionToken session, UUID templateID, String instanceName, QualifiedAgent supervisorAgent, long creationTime)Creates a new instance for execution.ExecutableInstanceInstanceManager. 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 onInstanceandInstanceStatusand 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 onInstanceandInstanceStatusand 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 onTemplateandTemplateStatusand 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.ChangeableInstanceInstanceManager. getAndLockInstanceForChanging(SessionToken session, UUID instanceID)Gets a process instance that may be changed after retrieval.ExecutableInstanceInstanceManager. 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.InstanceStatusInstanceManager. 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.TemplateStatusTemplateManager. 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 theExecutionHistoryassigned to this process manager for logging information about the execution of its process instances.InstanceInstanceManager. getInstance(SessionToken session, UUID instanceID)Gets the designated process instance conforming to the ADEPT2-process model.InstanceReferenceInstanceManager. getInstanceReference(SessionToken session, UUID instanceID)Gets the lightweight representation of the designated process instance.InstanceStatusInstanceManager. 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 TemplateReferenceProcessManagerTools. 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.UUIDInstanceManager. getLogicalInstanceID(SessionToken session, UUID logID)Gets the current logical ID of the instance with the designated log ID.TemplateTemplateManager. getTemplate(SessionToken session, UUID templateID)Gets the designated process template conforming to the ADEPT2-process model.TemplateManager.TemplateKindTemplateManager. 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.TemplateReferenceTemplateManager. getTemplateReference(SessionToken session, UUID templateID)Gets the lightweight representation of the designated process template.TemplateStatusTemplateManager. 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.TemplateNodeTemplateManager. getTemplateTree(SessionToken session, TemplateReference root)Gets a template (sub-)tree of the designatedTemplate.TemplateNodeTemplateManager. getTemplateTree(SessionToken session, UUID root)Gets a template (sub-)tree of the template with the designated ID.Map<UUID,TemplateNode>TemplateManager. getTemplateTrees(SessionToken session, String procType)Gets trees for allTemplates belonging to the designated process type.ExecutableInstanceInstanceManager. regetInstanceForExecution(SessionToken session, UUID instanceId)Gets the executable instance again whileholding the lock.voidInstanceManager. setExecutableInstance(SessionToken session, ExecutableInstance executableInstance)Saves the made changes for the designated instance but does not unlock the instance.voidInstanceManager. setExecutionStatus(SessionToken session, UUID instanceID, ProcessConstants.InstanceExecutionStatus executionStatus, String comment)Sets the execution status of the designated instance according to the designated values.voidInstanceManager. setInstanceStatus(SessionToken session, InstanceStatus instanceStatus)Sets the status of the instance (identified by the instance status object), to the new status.voidTemplateManager. setTemplateStatus(SessionToken session, TemplateStatus templateStatus)Sets the status of the template (identified by the template status object), to the new status.CheckReportTemplateManager. storeNewTemplate(SessionToken session, Template template, TemplateStatus templateStatus, Locale... locales)Stores the designated template and the corresponding status object in the process manager.CheckReportTemplateManager. storeNewTemplates(SessionToken session, Template[] templates, TemplateStatus[] templateStatuses, Locale... locales)Stores the designated templates and the corresponding status objects in the process manager.voidInstanceManager. unlockChangeableInstance(SessionToken session, UUID instanceID)Releases the lock of the designated instance but ignores the made changes.voidInstanceManager. unlockExecutableInstance(SessionToken session, UUID instanceID)Unlocks the designated instance and ignores any changes.voidInstanceManager. 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.voidTemplateManager. 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 ProcessTypeProcessRepository. 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.voidProcessTemplateManager. deployProcessTemplate(SessionToken session, UUID templateID, Set<URI[]> processManagerURIs)Deploys a released process template to the designated process managers.ChangeableTemplateProcessTemplateManager. 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.ChangeableTemplateProcessTemplateManager. getAndLockTemplate(SessionToken session, UUID templateID)Gets a template in construction for further modification.TemplateStatusProcessTemplateManager. 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.TemplateProcessTemplateManager. getTemplate(SessionToken session, UUID templateID)Gets the designated process template without locking it.TemplateProxyProcessTemplateManager. getTemplateProxy(SessionToken session, UUID templateID)Gets a lightweight object (TemplateProxy) of the designated process template.TemplateStatusProcessTemplateManager. 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.voidProcessTemplateManager. release(SessionToken session, UUID templateID)Enables the instantiation and usage of the process template by setting the buildtime state toRELEASED.TemplateDeltaLayerProcessTemplateManager. retrieveTemplateDeltaLayer(SessionToken session, UUID templateID)Retrieves graph structures (deltas) representing all changes of the designated template relative to the null template.TemplateDeltaLayerProcessTemplateManager. retrieveTemplateDeltaLayer(SessionToken session, UUID templateID, UUID ancestorTemplateID)Retrieves graph structures (deltas) representing all changes of the designated template relative to the designated parent template.voidProcessTemplateManager. setTemplateStatus(SessionToken session, TemplateStatus templateStatus)Sets the status of the template (identified by the template status object), to the new status.CheckReportProcessTemplateManager. 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.intProcessTemplateManager. 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.intProcessTemplateManager. unlockTemplateStatus(SessionToken session, UUID templateID)Unlocks the status of the designated template, ignores made changes and releases the lock on the process template status.CheckReportProcessTemplateManager. validateTemplate(SessionToken session, UUID templateId, Locale... locales)Tries to validate the template and fills the designatedCheckReportfor 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 SessionTokenAuthenticatedInjectedService. createChildSession(SessionToken parentSession)protected SessionTokenAuthenticatedInjectedService. createSession()Methods in de.aristaflow.adept2.core.registry with parameters of type SessionToken Modifier and Type Method Description protected voidInitialisedInjectedService. _sessionActive(SessionToken session, UUID templId, UUID baseTemplId, UUID embdTemplId, UUID instId, EBPInstanceReference ebpIR, int addStackElems)protected voidInitialisedInjectedService. _sessionFinished(SessionToken session, int addStackElems)voidInitialisedInjectedService. changeLogContext(String contextString, SessionToken session, UUID templId, UUID baseTemplId, UUID embdTemplId, UUID instId, EBPInstanceReference ebpIr)protected SessionTokenAuthenticatedInjectedService. createChildSession(SessionToken parentSession)protected QualifiedAgentAuthenticatedInjectedService. getAgent(SessionToken session)protected QualifiedAgentAuthenticatedInjectedService. getTopLevelAgent(SessionToken session)protected Pair<QualifiedAgent,QualifiedAgent>AuthenticatedInjectedService. getUserCredentials(SessionToken session)voidInitialisedInjectedService. logMethodEntry(String contextString, SessionToken session, String msg)voidInitialisedInjectedService. logMethodEntry(String contextString, SessionToken session, String msg, UUID templId, UUID baseTemplId, UUID embdTemplId, UUID instId, EBPInstanceReference ebpIr)protected voidInitialisedInjectedService. logMethodEntry(String contextString, SessionToken session, String msg, UUID templId, UUID baseTemplId, UUID embdTemplId, UUID instId, EBPInstanceReference ebpIr, int removeElems)voidInitialisedInjectedService. sessionActive(SessionToken session)protected voidInitialisedInjectedService. sessionActive(SessionToken session, UUID templId, UUID embdTemplId, EBPInstanceReference ebpIr)protected voidInitialisedInjectedService. sessionActive(SessionToken session, UUID templId, UUID baseTemplId, UUID embdTemplId, UUID instId)voidInitialisedInjectedService. sessionFinished(SessionToken session)protected booleanAuthenticatedInjectedService. sessionHasAllCapabilities(SessionToken session, String... capabilities)protected booleanAuthenticatedInjectedService. sessionHasCapability(SessionToken session, String capability)Deprecated.protected booleanAuthenticatedInjectedService. 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 SimpleClusterNodeInformationClusterNode. doubtfulStatus(SessionToken session, String requestingNode, long lastRequesterUpdate, long lastServerUpdate, long serverRunningSince)Deprecated.SimpleClusterNodeInformationClusterNode. getNodeInformation(SessionToken session)Deprecated.protected GlobalRegistryClusterPlatform. 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 GlobalRegistryTwoPhasePlatform. 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 booleanExecutionControlManager. 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.voidRuntimeManager. commit(SessionToken session, EBPInstanceReference ebpInstanceReference)Instructs the runtime manager to inform the specified activity about the commit of the transaction it participated.voidExecutionControlManager. 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.ActivityStateExecutionControlManager. getActivityState(SessionToken session, EBPInstanceReference activity)Gets the current state of the designated activity ornullin 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.ExecutionControlPropertiesExecutionControlManager. getExecutionControlProperties(SessionToken session, EBPInstanceReference activity)Gets theExecutionControlPropertiesfor 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.voidRuntimeManager. 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.VoteRuntimeManager. 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.voidExecutionControlManager. resetActivity(SessionToken session, EBPInstanceReference activity)Instructs the execution control manager to reset the specified activity.voidRuntimeManager. resumeActivity(SessionToken session, EBPInstanceReference ebpInstanceReference, ExecutionContext executionContext)Instructs the runtime manager to resume the specified activity.GUIContextSynchronousActivityStarting. resumeActivitySynchronously(SessionToken session, EBPInstanceReference activity)Resumes the designated activity and logs the agent, the organisational position.GUIContextSynchronousActivityStarting. resumeActivitySynchronously(SessionToken session, EBPInstanceReference activity, URI[] stateListener)Resumes the designated activity and logs the agent, the organisational position.voidRuntimeManager. rollbackActivity(SessionToken session, EBPInstanceReference ebpInstanceReference)Instructs the runtime manager to instruct the specified activity to rollback its work done within the transaction it participated.voidExecutionControlManager. sendSignalToActivity(SessionToken session, EBPInstanceReference activity, int signal)Instructs the runtime manager to signal the specified event to the specified activity.voidRuntimeManager. startActivity(SessionToken session, EBPInstanceReference ebpInstanceReference, ExecutionContext executionContext)Instructs the runtime manager to start the Application assigned to the specified activity.GUIContextSynchronousActivityStarting. 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.voidExecutionControlManager. suspendActivity(SessionToken session, EBPInstanceReference activity, boolean propagate)Instructs the execution control manager to suspend the specified activity and propagate the suspension if appropriate, e.voidLocalActivityStateNotifier. unregisterActivityStateListener(SessionToken session, EBPInstanceReference activity, ActivityStateNotification listener)Unregisters the designated listener for state changes of the designated activity.voidSynchronousActivityStarting. unregisterActivityStateListener(SessionToken session, EBPInstanceReference activity, URI[] stateListener)Unregisters the designated listener for activity terminations.voidRuntimeManager. updateClientSessionFactory(SessionToken session, ClientSessionFactory csf)Updates the designated client session factory.ActivityStateExecutionControlManager. 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. listenersThe 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 GUIContextAbstractGUIManager. createGUIContext(SessionToken session, de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext trCtxt, ExecutionControlManager ecm)Creates a GUI context for the designatedTransferrableGUIContextand 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 ExecutionControlManagerAbstractGUIManager. 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.GUIContextGUIManager. 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.GUIContextAbstractGUIManager. getLocalForRemoteGuiContext(SessionToken session, de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext transfrdCtxt)GUIContextRemoteGUIManager. getLocalForRemoteGuiContext(SessionToken session, de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext transfrdCtxt)Gets an appropriate GUI context for the designatedTransferableGUIContext.ProcessConstants.NodeStateAbstractGUIManager. 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 voidRemoteRuntimeEnvironment. applicationClosed(SessionToken token, String sessionID, SerialisableDataContext dataContext)Signals the termination of the designated execution session that is the execution is closed.voidRemoteRuntimeEnvironment. 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.voidRemoteRuntimeEnvironment. 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.voidRemoteRuntimeEnvironment. 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.voidRemoteRuntimeEnvironment. 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.voidRemoteRuntimeEnvironment. 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.voidRemoteRuntimeEnvironment. 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.voidRemoteRuntimeEnvironment. applicationSuspended(SessionToken token, String sessionID, SerialisableDataContext dataContext)Signals the termination of the designated execution session that is the execution is suspended.voidRemoteProgressMonitor. beginTask(SessionToken token, String sessionID)voidRemoteProgressMonitor. beginTask(SessionToken token, String sessionID, int overallWorkUnits)voidRemoteProgressMonitor. endTask(SessionToken token, String sessionID)BooleanRemoteExecutionControlManager. 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)StringRemoteRuntimeEnvironment. getLastSavepoint(SessionToken token, String sessionId)ActivityInstanceRemoteRuntimeEnvironment. getLocalisedActivityInstance(SessionToken token, String sessionId)Gets the activity instance localised with respect to the rich agent of the designated execution session.ProgressMonitorRuntimeService. getProgressMonitor(SessionToken token, String sessionID)Gets theProgressMonitorfor the designated execution session.SimpleSessionContextRemoteActivityStarting. 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.voidRuntimeService. logon(SessionToken token, ClientSessionFactory csf)Does nothing since a runtime service does not know about logged on agents.voidRemoteProgressMonitor. 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.booleanRemoteRuntimeEnvironment. replyMessage(SessionToken token, de.aristaflow.adept2.model.runtimeenvironment.messages.execution.ReplyMessage<?> reply)Replies to a request message received byRemoteRuntimeEnvironment.getUnrepliedRequests(SessionToken, String).BooleanRemoteExecutionControlManager. 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.SimpleSessionContextRemoteActivityStarting. resumeActivity(SessionToken session, EBPInstanceReference activity, URI[] exeMsgListener)Resumes the designated activity from the latest valid savepoint if the activity is appropriate for aRuntimeServiceand provides its process context and the execution session ID.BooleanRemoteExecutionControlManager. 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.voidRemoteRuntimeEnvironment. setApplicationState(SessionToken token, String sessionId, byte[] applicationState)voidRemoteRuntimeEnvironment. setSavepoint(SessionToken token, String sessionId, String savepoint, boolean flush, SerialisableDataContext dataContext)voidRemoteProgressMonitor. setTaskState(SessionToken token, String sessionID, TaskState taskState)SimpleSessionContextRemoteActivityStarting. startActivity(SessionToken session, EBPInstanceReference activity, ProcessConstants.ExecutionMode executionMode, URI[] exeMsgListener)Starts the designated activity if it is appropriate for aRuntimeServiceand provides its process context and the execution session ID.BooleanRemoteExecutionControlManager. 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.voidLocalExecutionMessageNotifier. 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 onSessionTokenfor 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 voidWorklistUpdateManager. 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.ClientWorklistWorklistUpdateManager. createClientWorklist(SessionToken session, UUID worklistID, WorklistUpdateConfiguration configuration, boolean emptyWorklist)Creates a client-side worklist for the designated worklist ID with the designated configuration.voidEscalationHandling. deadlineReached(WorklistItem item, String staffAssignmentRule, long deadline, EscalationHandling.EscalationMeasures measures, SessionToken measuresSession, PolicyResolution orgModel)Notifies that theescalation deadlineor theIndividualWorklistItemSettings.getIndividualEscalationDate()has been reached for the designated (client) worklist item.voidDelegationManager. delegateBack(SessionToken session, UUID itemId, String reply)Delegates the worklist item to the prior delegating agent and sets the designated reply as delegation comment.voidDelegationManager. 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.voidWorklistUpdateManager. dropAbsence(SessionToken session, QualifiedAgent absentee)Drops the current and future absence of the designated agent.WorklistUpdateManager.AbsenceInformationWorklistUpdateManager. getAbsenceInformation(SessionToken session, QualifiedAgent absentee)Gets the absence information of the designated agent (absentee).ParameterDataContextWorklistUpdateManager. 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.WorklistUpdateConfigurationWorklistUpdateManager. 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,...UUIDWorklistAdministration. getWorklistID(SessionToken session, QualifiedAgent agent)Gets the unique ID of the (internal) worklist of the designated agent.AdministrativeWorklistItemWorklistAdministration. 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.WorklistUpdateWorklistUpdateManager. getWorklistUpdates(SessionToken session, UUID worklistID, WorklistRevision sinceRevision, Filter worklistFilter)Gets updates for the designated worklist since the designated revision (PULL by the client).IncrementalWorklistUpdateWorklistUpdateManager. 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.booleanWorklistAdministration. isOnWorklist(SessionToken session, EBPInstanceReference activity, QualifiedAgent agent)Gets whether the designated activity is on the worklist of the designated agent.booleanWorklistNotification. isOnWorklist(SessionToken session, EBPInstanceReference activity, QualifiedAgent agent)Gets whether the designated activity is on the worklist of the designated agent.booleanWorklistUpdateManager. isRegisteredForUpdates(SessionToken session, UUID worklistId, long clientWorklistId)Gets whether the designated client worklist is currently registered for updates.voidWorklistManager. logoff(SessionToken session)Deregisters the agent identified by the designated session token from the client machine also identified by the designated session token.UUIDWorklistManager. 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.ClientWorklistWorklistUpdateManager. 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.voidWorklistAdministration. reassess(SessionToken session, Map<UUID,Map<QualifiedAgent,Integer>> reassessment)Deprecated.This method is subject of change and should not be used yet.voidWorklistAdministration. 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.voidWorklistAdministration. redistributeItems(SessionToken session, String staffAssignmentRule)Causes a redistribution of qualified worklist items.voidWorklistAdministration. redistributeItems(SessionToken session, Collection<UUID> worklistItemIDs)Causes a redistribution of qualified worklist items.voidWorklistAdministration. redistributeItemsRegExp(SessionToken session, String regExp)Causes a redistribution of qualified worklist items.voidWorklistUpdateManager. rejectWorklistItem(SessionToken session, UUID worklistId, UUID itemId)Rejects the designated worklist item by the client identified by its worklist ID.booleanWorklistAdministration. removeInternalWorklist(SessionToken session, UUID worklistId)Removes the designated internal worklist.voidWorklistUpdateManager. removeUpdateableClientWorklist(SessionToken session, ClientWorklist worklist)Deregisters a client worklist so that it does not receive any (pushed) updates any more.voidWorklistUpdateManager. setAbsent(SessionToken session, QualifiedAgent absentee, long from, long to, String substitutionRule)Sets the absence of the designated agent (absentee).voidEscalationHandling.EscalationMeasures. setDueDate(SessionToken session, WorklistItem worklistItem, long dueDate)Changes the due date of the specified worklist item for displaying to the user.voidEscalationHandling.EscalationMeasures. setEscalation(SessionToken session, WorklistItem worklistItem, long escalationDate, String escalationHandlingProcedureID)Changes the escalation date of the specified worklist item.voidWorklistUpdateManager. 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).voidWorklistUpdateManager. setPresent(SessionToken session, QualifiedAgent absentee)Disables the current absence of the designated agent explicitly ignoring theto-time previously set.voidEscalationHandling.EscalationMeasures. setPriority(SessionToken session, WorklistItem worklistItem, int priority)Changes the priority of the specified worklist item.voidWorklistManager. setWorklistConfiguration(SessionToken session, UUID worklistID, Map<String,String> worklistConfiguration)Sets or updates the configuration for the designated worklist with the designated configuration values.voidEscalationHandling.EscalationMeasures. updateIndividualSettings(SessionToken session, ClientWorklistItem worklistItem)Changes the individual worklist item settings of the designated client worklist item in the server.booleanWorklistUpdateManager. updateIndividualSettings(SessionToken session, ClientWorklistItem item)Updates the worklist item according to the designated changes.voidEscalationHandling.EscalationMeasures. updatePluginData(SessionToken session, WorklistItem worklistItem, PluginData pluginData)Changes the plugin data of the designated worklist item.voidEscalationHandling.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 voidIndexedAccessDataContainer. flush(SessionToken session)Flushes all the internally stored values that have not been saved to the data manager yet.StringDataContainer. 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.voidDataContainer. ignoreValue(SessionToken session, String parameterName)Ignores the value of the designated parameter.voidIndexedAccessDataContainer. 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.booleanIndexedAccessDataContainer. 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.booleanInputDataContainer. 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.booleanIndexedAccessDataContainer. 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.booleanInputDataContainer. retrieveBoolean(SessionToken session, String parameterName)Retrieves the boolean value of the designated input parameter of type BOOLEAN.DateIndexedAccessDataContainer. 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.DateInputDataContainer. retrieveDate(SessionToken session, String parameterName)Retrieves the date value of the designated input parameter of type DATE.doubleIndexedAccessDataContainer. 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.doubleInputDataContainer. retrieveFloat(SessionToken session, String parameterName)Retrieves the double value of the designated input parameter of type FLOAT.longIndexedAccessDataContainer. 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.longInputDataContainer. retrieveInteger(SessionToken session, String parameterName)Retrieves the long value of the designated input parameter of type INTEGER.StringIndexedAccessDataContainer. 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.StringInputDataContainer. retrieveString(SessionToken session, String parameterName)Retrieves the string value of the designated input parameter of type STRING.UDTValueIndexedAccessDataContainer. 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.UDTValueInputDataContainer. retrieveUDT(SessionToken session, String parameterName)Retrieves (the proxy of) the value of the designated input parameter of user-defined type (UDT).URIIndexedAccessDataContainer. 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.URIInputDataContainer. retrieveURI(SessionToken session, String parameterName)Retrieves the URI value of the designated input parameter of type URI.voidDataContainer. setSavepoint(SessionToken session, String savepoint)Assigns the designated savepoint to the current state of the data, that is application state and data values.voidDataContainer. 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.voidIndexedAccessDataContainer. 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.voidDataContainer. 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.voidIndexedAccessDataContainer. 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.voidDataContainer. 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.voidIndexedAccessDataContainer. 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.voidDataContainer. 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.voidIndexedAccessDataContainer. 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.voidDataContainer. 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.voidDataContainer. 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.voidIndexedAccessDataContainer. 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.voidDataContainer. 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.voidIndexedAccessDataContainer. 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.voidDataContainer. 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.voidIndexedAccessDataContainer. 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.voidIndexedAccessDataContainer. 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 SerialisableDataContextRuntimeEnvironmentFactory. createSerialisableDataContext(SessionToken session, DataContainer container, ExecutableBusinessProcessInstance ebp)Deprecated, for removal: This API element is subject to removal in a future version.SerialisableDataContextRuntimeEnvironmentFactory. 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 GUIContextNullGUIManager. createGUIContext(SessionToken session, de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext trCtxt, ExecutionControlManager ecm)protected GUIContextRemoteHTMLGUIManager. createRemoteHtmlContext(SessionToken session, ActivityInstance actInst, EBPInstanceReference activity, String sessionId, ExecutionContext execContext, Thread thread, HTTPService httpService)Creates a newHTMLContextfor handling the interaction between webserver andExecutableComponentand also to provide theURLto a client allowing to call theURLremotely.GUIContextNullGUIManager. getGUIContext(SessionToken session, ActivityInstance activityInstance, EBPInstanceReference ebpInstanceReference, String sessionID, ExecutionContext executionContext, ExecutionControlManager ecm, Thread thread)GUIContextRemoteHTMLGUIManager. 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 SessionTokenRemoteHTMLContext. sessionThe session token for deregistering at theHTTPService.Methods in de.aristaflow.adept2.ui.htmlgui with parameters of type SessionToken Modifier and Type Method Description protected voidAbstractHTMLContext. 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 newHTMLContextfor handling the interaction between webserver andExecutableComponentand also to provide theURLto a client allowing to call theURLremotely. -
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 voidAristaFlowHTTPService. deregisterReplyHandler(SessionToken session, String sessionID)voidEmbdServContHTTPService. deregisterReplyHandler(SessionToken session, String sessionID)voidHTTPService. deregisterReplyHandler(SessionToken session, String sessionID)Deregisters a reply handler for the activity with the designatedsessionID.voidNullHTTPService. deregisterReplyHandler(SessionToken session, String sessionID)voidAristaFlowHTTPService. registerReplyHandler(SessionToken session, String sessionID, HTTPReplyHandler replyHandler)voidEmbdServContHTTPService. registerReplyHandler(SessionToken session, String sessionID, HTTPReplyHandler replayHandler)voidHTTPService. registerReplyHandler(SessionToken session, String sessionID, HTTPReplyHandler replyHandler)Registers a reply handler for the activity with the designatedsessionID.voidNullHTTPService. 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 SessionTokenTransformation. fromIlm(SessionFactory sf, SessionToken session)Methods in de.aristaflow.ilm.base.sessionmanagement with parameters of type SessionToken Modifier and Type Method Description static SessionTokenTransformation. toIlm(SessionToken session)static SessionTransformation. 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 SessionTokenInstanceStateNotificationWrapper. sessionThe 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 SessionTokenActivityStateNotificationWrapper. sessionThe 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)voidMessageDemux. 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 ReadingDataContainerTransformation. toIlm(SessionToken session, DataContainer dc)Deprecated, for removal: This API element is subject to removal in a future version.static ReadingDataContainerTransformation. 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 ExecutionContextTransformation. 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 GuiContextTransformation. toIlm(de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext tgc, SessionToken session, EbpInstanceReference activtiy, Logger logger)static GuiContextTransformation. 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 StringOrgPolicyScriptHandlerWebServiceStub. evaluateScript(SessionToken session, Script script)protected AttributeMetaDataModelExplorerWebService. getAttributeMetaData(SessionToken session, EntityType type)protected AttributeMetaDataModelExplorerWebService. 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 ExecutionMessageNotificationRemoteActivityStartingWebService. 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 ClientWorklistWorklistUpdateManagerWebService. createClientWorklistInternal(SessionToken jSession, @NotNull UUID worklistId, WorklistUpdateConfiguration conf, Boolean emptyWl)
-