| Modifier and Type | Method and Description |
|---|---|
ClientSessionFactory |
Authentication.authenticate(java.lang.String agentName,
long orgPositionID,
java.lang.String password)
Identifies and authenticates a normal user via the corresponding name,
orgPosition and the password and returns an appropriate
ClientSessionFactory as which encapsulates the security
information for the designated agent. |
ClientSessionFactory |
Authentication.authenticate(java.lang.String agentName,
long orgPositionID,
java.lang.String password,
java.lang.String userSessionID)
Identifies and authenticates a normal user via the corresponding name,
orgPosition and the password and returns an appropriate
ClientSessionFactory as which encapsulates the security
information for the designated agent. |
java.util.List<QualifiedAgent> |
Authentication.authenticate(java.lang.String agentName,
java.lang.String password)
Like the name implies, this method's job is to authenticate agents, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
long |
Log.count(SessionToken session,
java.lang.String sqlWhereClause)
Counts all log entries that match the specified WHERE clause.
|
java.lang.String |
LogManager.formatCondition(SessionToken session,
Log log,
java.lang.String conditionFormat,
java.io.Serializable... values)
Formats the given condition format string and values to an SQL condition
that can e.g. be used in the WHERE clause of
LogManager.query(SessionToken, String, int) or
Log.read(SessionToken, String, String, int, String...). |
java.lang.String |
Log.formatCondition(SessionToken session,
java.lang.String conditionFormat,
java.io.Serializable... values)
Formats the given condition format string and values to an SQL condition
that can e.g. be used in the WHERE clause of
Log.query(SessionToken, String, int) or
Log.read(SessionToken, String, String, int, String...). |
LogEntry |
Log.read(SessionToken session,
long logEntryID,
java.lang.String... columnNames)
Reads the log entry with the specified ID.
|
LogEntrySet |
Log.read(SessionToken session,
java.lang.String sqlWhereClause,
java.lang.String sqlOrderByClause,
int startEntry,
int maxEntries,
java.lang.String... columnNames)
Reads all log entries that match the specified WHERE clause.
|
LogEntrySet |
Log.read(SessionToken session,
java.lang.String sqlWhereClause,
java.lang.String sqlOrderByClause,
int maxEntries,
java.lang.String... columnNames)
Reads all log entries that match the specified WHERE clause.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionHistoryWriteAccess.archiveInstance(SessionToken session,
java.util.UUID instanceLogID)
Archives the data of the designated instance to a separate archive.
|
long |
ExecutionHistory.countInstanceHistoryEntries(SessionToken session,
java.util.UUID instanceLogID) |
void |
ExecutionHistoryWriteAccess.logInstanceChanged(SessionToken session,
long timestamp,
Instance instance) |
void |
ExecutionHistoryWriteAccess.logInstanceFailed(SessionToken session,
long timestamp,
Instance instance,
long errorCode,
java.lang.String errorState,
java.lang.String errorMessage) |
void |
ExecutionHistoryWriteAccess.logInstanceFinished(SessionToken session,
long timestamp,
Instance instance) |
void |
ExecutionHistoryWriteAccess.logInstanceResumed(SessionToken session,
long timestamp,
Instance instance) |
void |
ExecutionHistoryWriteAccess.logInstanceStarted(SessionToken session,
long timestamp,
Instance instance) |
void |
ExecutionHistoryWriteAccess.logInstanceSuspended(SessionToken session,
long timestamp,
Instance instance) |
void |
ExecutionHistoryWriteAccess.logNodeActivated(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
int iteration) |
void |
ExecutionHistoryWriteAccess.logNodeDeselected(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
int iteration) |
void |
ExecutionHistoryWriteAccess.logNodeFailed(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeID,
int iteration,
long errorCode,
java.lang.String errorState,
java.lang.String errorMessage) |
void |
ExecutionHistoryWriteAccess.logNodeFinished(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeID,
java.util.Map<java.lang.String,java.lang.String> nodeName,
int iteration,
java.net.URI[] executionManagerURIs) |
void |
ExecutionHistoryWriteAccess.logNodePromoted(SessionToken session,
long timestamp,
Instance instance,
int nodeId,
int iteration,
ProcessConstants.NodeState promState)
Logs that the activity identified by the designated instance, node and node
iteration has been promoted.
|
void |
ExecutionHistoryWriteAccess.logNodeResetHard(SessionToken session,
long timestamp,
Instance instance,
int nodeId,
int iteration,
java.lang.String savepoint)
Logs that the activity identified by the designated instance, node and node
iteration has been reset to the designated savepoint.
|
void |
ExecutionHistoryWriteAccess.logNodeResetSoft(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeID,
int iteration) |
void |
ExecutionHistoryWriteAccess.logNodeResetTo(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeId,
int iteration,
java.lang.String savepoint)
Logs that the activity identified by the designated instance, node and node iteration has been
reset itself to the designated savepoint.
|
void |
ExecutionHistoryWriteAccess.logNodeResumed(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
int iteration) |
void |
ExecutionHistoryWriteAccess.logNodeSelected(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
int iteration) |
void |
ExecutionHistoryWriteAccess.logNodeSkipped(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
int iteration) |
void |
ExecutionHistoryWriteAccess.logNodeStarted(SessionToken session,
long timestamp,
Instance instance,
int nodeID,
java.util.Map<java.lang.String,java.lang.String> nodeName,
int iteration) |
void |
ExecutionHistoryWriteAccess.logNodeSuppressed(SessionToken session,
long timestamp,
Instance instance,
int nodeId,
int iteration,
ProcessConstants.NodeState prevState)
Logs that the activity identified by the designated instance, node and node
iteration has been suppressed.
|
void |
ExecutionHistoryWriteAccess.logNodeSuspended(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeID,
int iteration) |
void |
ExecutionHistoryWriteAccess.logSavepointFlushed(SessionToken session,
long timestamp,
java.lang.Long clientDelay,
Instance instance,
int nodeId,
int iteration,
java.lang.String savepoint)
Logs that the activity identified by the designated instance, node and node
iteration has flushed its data with the designated savepoint ID.
|
LogEntrySet |
ExecutionHistory.readAllNodeErrorInformation(SessionToken session,
java.util.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.
|
java.util.List<ExecutionHistoryEntry> |
ExecutionHistory.readHistory(SessionToken session,
java.lang.String whereClause,
long startEntryID,
boolean newerEntries,
int maxEntries,
boolean sortAscending,
java.util.Locale... preferredLocales)
Reads all logged events filtered by the designated where clause.
|
LogEntry |
ExecutionHistory.readInstanceErrorInformation(SessionToken session,
java.util.UUID instanceLogID)
|
java.util.List<ExecutionHistoryEntry> |
ExecutionHistory.readInstanceHistory(SessionToken session,
java.util.UUID instanceLogID,
long startEntryID,
boolean newerEntries,
int maxEntries,
boolean sortAscending,
java.util.Locale... preferredLocales)
Reads logged events for the instance with the given log ID.
|
LogEntry |
ExecutionHistory.readNodeErrorInformation(SessionToken session,
java.util.UUID instanceLogID,
int nodeID,
int nodeIteration)
Returns the log entry containing the most recent error information for the specified instance,
node and iteration or
null if there is no error information available. |
LogEntrySet |
ExecutionHistory.readPreviousSteps(SessionToken session,
java.util.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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ModelChangeOperations.addAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName,
DataType dataType)
Adds a new attribute with the given data type to the given
entity type.
|
void |
ModelChangeOperations.addAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName,
DataType dataType,
int sizeHint)
Adds a new attribute with the given data type to the given
entity type.
|
void |
ModelChangeOperations.addAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName,
DataType dataType,
int sizeHint,
java.lang.String omExtension,
java.lang.String mappedTo,
boolean isImported,
boolean isReadOnly)
Adds a new attribute with the given data type to the given entity type
which is being mapped from the designated org model extension.
|
void |
ModelChangeOperations.addAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName,
DataType dataType,
java.lang.String omExtension,
java.lang.String mappedTo,
boolean isImported,
boolean isReadOnly)
Adds a new attribute with the given data type to the given entity type
which is being mapped from the designated org model extension.
|
void |
ModelChangeOperations.addRelation(SessionToken session,
RelationType relType,
long id1,
long id2)
This method adds a relation of the given type between the two entities
identified by the given IDs.
|
RichAgent |
ClientAdministration.changeMailAddress(SessionToken session,
java.lang.String mailAddress)
Changes the mail address of the user identified by the session token.
|
void |
ClientAdministration.changePassword(SessionToken session,
java.lang.String oldPassword,
java.lang.String newPassword)
This method changes the password of the user identified by the session
token.
|
RichAgent |
ClientAdministration.changePreferredLocale(SessionToken session,
java.util.Locale locale)
Changes the preferred locale of the user identified by the session token.
|
OrgPolicyReport |
PolicyResolution.checkResolvability(SessionToken session,
java.lang.String orgPolicy,
boolean createFullReport,
boolean rejectParameterReferences)
Tests whether the given OrgPolicy is resolvable for the current state of
the OrgModel.
|
long |
ModelChangeOperations.createAgent(SessionToken session,
java.lang.String agentUserName,
java.lang.String password)
Adds a new Agent with the given (unique!)
|
long |
ModelChangeOperations.createEntity(SessionToken session,
Entity entity)
Creates a new entity with the type and attribute values provided in the
given
Entity object and returns the assigned ID. |
void |
ModelChangeOperations.deleteAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName)
This method removes an attribute from an entity type.
|
void |
ModelChangeOperations.deleteEntity(SessionToken session,
EntityType entType,
long id)
This method deletes the entity with the given ID of the given type.
|
void |
ModelChangeOperations.deleteEntity(SessionToken session,
EntityType entType,
long id,
boolean recursive)
This method deletes the entity with the given ID of the given type and all
its relations.
|
void |
ModelChangeOperations.deleteRelation(SessionToken session,
RelationType relType,
long id1,
long id2)
This method deletes a relation of the given type between the two entities
identified by the given IDs.
|
SerialisablePair<java.lang.Boolean,java.lang.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.
|
Entity |
ModelExplorer.getAgentForUserName(SessionToken session,
java.lang.String agentUserName)
Returns the agent for the specified user name.
|
DataType |
ModelExplorer.getAttributeDataType(SessionToken session,
EntityType entType,
java.lang.String attrName)
Returns the data type of the given attribute of the given entity type.
|
AttributeMetaData |
ModelExplorer.getAttributeMetaData(SessionToken session,
EntityType entType)
Returns an
AttributeMetaData-object, holding all available meta
information about each attribute of the given entity type. |
java.lang.String[] |
ModelExplorer.getAttributeNames(SessionToken session,
EntityType entType)
Returns all attribute names that are currently defined for the given entity
type.
|
java.util.List<Entity> |
ModelExplorer.getEntities(SessionToken session,
EntityType entType,
boolean excludeDisabled,
java.lang.String... attributes)
This method returns a list containing all entities of the given entity type.
|
java.util.List<Entity> |
ModelExplorer.getEntities(SessionToken session,
EntityType entType,
Filter filter,
boolean excludeDisabled,
java.lang.String... attributes)
This method returns a list of entities of the given entity type.
|
java.util.List<Entity> |
ModelExplorer.getEntities(SessionToken session,
EntityType entType,
java.lang.String attrName,
CmpOperator cmpOperator,
java.io.Serializable value,
boolean excludeDisabled,
java.lang.String... attributes)
This method returns a list of all entities where the given attribute matches the comparison.
|
java.util.List<Entity> |
ModelExplorer.getEntities(SessionToken session,
java.lang.String orgPolicy,
boolean excludeDisabled,
java.lang.String... attributes)
This method returns a list containing the entities which are the result of the given org
policy.
|
RemoteIterator<java.util.List<Entity>> |
ModelExplorer.getEntitiesIterator(SessionToken session,
EntityType entType,
boolean excludeDisabled,
java.lang.String... attributes)
The same as
ModelExplorer.getEntities(SessionToken, EntityType, boolean, String...) but with partial
retrieval of the entities. |
RemoteIterator<java.util.List<Entity>> |
ModelExplorer.getEntitiesIterator(SessionToken session,
EntityType entType,
Filter filter,
boolean excludeDisabled,
java.lang.String... attributes)
The same as
ModelExplorer.getEntities(SessionToken, EntityType, Filter, boolean, String...) but with
partial retrieval of the entities. |
RemoteIterator<java.util.List<Entity>> |
ModelExplorer.getEntitiesIterator(SessionToken session,
EntityType entType,
java.lang.String attrName,
CmpOperator cmpOperator,
java.io.Serializable value,
boolean excludeDisabled,
java.lang.String... attributes)
|
RemoteIterator<java.util.List<Entity>> |
ModelExplorer.getEntitiesIterator(SessionToken session,
java.lang.String orgPolicy,
boolean excludeDisabled,
java.lang.String... attributes)
The same as
ModelExplorer.getEntities(SessionToken, String, boolean, String...) but with partial
retrieval of the entities. |
Entity |
ModelExplorer.getEntity(SessionToken session,
EntityType entType,
long id,
java.lang.String... attributes)
Returns an
Entity-object containing all information about the entity of the given type
and with the given id. |
int |
ModelExplorer.getEntityCount(SessionToken session,
EntityType entType,
boolean excludeDisabled)
Returns the current count of entities of the specified type.
|
java.lang.String |
ClientAdministration.getMailAddress(SessionToken session)
Returns the current mail address of the user identified by the session
token.
|
java.util.Locale |
ClientAdministration.getPreferredLocale(SessionToken session)
Returns the current preferred locale of the user identified by the session
token.
|
java.util.List<Entity> |
ModelExplorer.getRelatedEntities(SessionToken session,
EntityType entType,
long id,
NavFunction navFunction,
boolean excludeDisabled,
java.lang.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 given
NavFunction traverses the
OrgModel. |
java.util.List<Entity> |
ModelExplorer.getRelatedEntities(SessionToken session,
EntityType entType,
long id,
RelationType relType,
boolean leftToRight,
boolean excludeDisabled,
java.lang.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<java.util.List<Entity>> |
ModelExplorer.getRelatedEntitiesIterator(SessionToken session,
EntityType entType,
long id,
NavFunction navFunction,
boolean excludeDisabled,
java.lang.String... attributes)
|
RemoteIterator<java.util.List<Entity>> |
ModelExplorer.getRelatedEntitiesIterator(SessionToken session,
EntityType entType,
long id,
RelationType relType,
boolean leftToRight,
boolean excludeDisabled,
java.lang.String... attributes)
|
java.util.Map<QualifiedAgent,RichAgent> |
ModelExplorer.getRichAgent(SessionToken session,
java.util.Collection<QualifiedAgent> agents)
Convenience method for retrieving all information on the designated
qualified agents.
|
RichAgent |
ModelExplorer.getRichAgent(SessionToken session,
QualifiedAgent agent)
Convenience method for retrieving all information on the designated
qualified agent.
|
boolean |
ModelExplorer.hasAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName)
Returns whether the given entity type has an attribute with the given name.
|
boolean |
PolicyResolution.isMember(SessionToken session,
long orgPositionID,
java.lang.String orgPolicy)
Semantically this method tests whether the given OrgPosition appears in the
result list of
PolicyResolution.resolvePolicy(SessionToken, String) for the
specified OrgPolicy. |
boolean |
PolicyResolution.isMember(SessionToken session,
long orgPositionID,
java.lang.String agentUserName,
java.lang.String orgPolicy)
Semantically this method tests whether the given tuple of Agent and
OrgPosition is contained in the result list of
PolicyResolution.resolvePolicy(SessionToken, String) for the specified OrgPolicy. |
boolean |
PolicyResolution.isMember(SessionToken session,
java.lang.String agentUserName,
java.lang.String orgPolicy)
Semantically this method tests whether the given Agent appears in the
result list of
PolicyResolution.resolvePolicy(SessionToken, String) for the specified OrgPolicy. |
void |
ModelChangeOperations.modifyAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName,
java.lang.String mappedTo,
boolean isImported,
boolean isReadOnly)
Changes the mapping properties of the specified attribute.
|
void |
ModelChangeOperations.modifyAttribute(SessionToken session,
EntityType entType,
java.lang.String attrName,
java.lang.String omExt,
java.lang.String mappedTo,
boolean isImported,
boolean isReadOnly)
Changes the mapping properties of the specified attribute including the org
model extension.
|
boolean |
ModelExplorer.relationExists(SessionToken session,
RelationType relType,
long id1,
long id2,
boolean excludeDisabled)
Tests whether a relation of the given type exists between the two entities identified by the
given IDs.
|
java.util.Set<QualifiedAgent> |
PolicyResolution.resolvePolicy(SessionToken session,
java.lang.String orgPolicy)
Resolves an OrgPolicy and returns all matching tuples of OrgPositions and
Agents (or rather their IDs) as a list of
QualifiedAgents. |
RemoteIterator<java.util.List<QualifiedAgent>> |
PolicyResolution.resolvePolicyIterator(SessionToken session,
java.lang.String orgPolicy)
The same as
PolicyResolution.resolvePolicy(SessionToken, String) but with
partial retrieval of the qualified agents. |
void |
ModelChangeOperations.updateEntity(SessionToken session,
Entity entity)
Updates an entity with the attribute values provided in the given
Entity object. |
| Modifier and Type | Method and Description |
|---|---|
TemplateStatus |
TemplateStatusProvider.getTemplateStatus(java.util.UUID templateID)
Gets an object containing the status of the designated process template,
for usage in objects that reference a template status and which are created
in a storage layer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResultSetRemoteIterator.drop() |
java.util.List<T> |
ResultSetRemoteIterator.getAll() |
java.util.List<T> |
ResultSetRemoteIterator.getNext(int count) |
java.util.List<T> |
ResultSetRemoteIterator.getNext(int count,
int start) |
protected abstract T |
ResultSetRemoteIterator.getObject(java.sql.ResultSet resSet)
Gets the current object of the designated result set.
|
java.util.List<T> |
ResultSetRemoteIterator.getPrevious(int count) |
long |
ResultSetRemoteIterator.keepAlive(long aliveTime)
Keeps this iterator alive for the designated time span (in milliseconds).
|
| Constructor and Description |
|---|
ResultSetRemoteIterator(ManagedResultSet resultSet,
long aliveTime)
Creates a new remote iterator for the designated result set to be alive for
the designated time.
|
ResultSetRemoteIterator(ManagedResultSet resultSet,
long aliveTime,
java.lang.String[] recTables)
Creates a new remote iterator for the designated result set to be alive for
the designated time dropping the designated recursion tables when dropping
this iterator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CachingRemoteIterator.drop() |
void |
RemoteIterator.drop()
Explicitly drops this iterator which allows to release occupied memory and
resources.
|
protected void |
CachingRemoteIterator.dropWrapped()
Drops the wrapped iterator either since it is explicitly dropped or the
cache contains all items and the wrapped iterator is no longer required.
|
java.util.List<T> |
CachingRemoteIterator.getAll() |
T |
RemoteIterator.getAll()
Gets all elements of this iterator at once.
|
java.util.List<T> |
CachingRemoteIterator.getNext(int count) |
T |
RemoteIterator.getNext(int count)
Gets the next specified amount of elements of this iterator.
|
java.util.List<T> |
CachingRemoteIterator.getNext(int count,
int start) |
java.util.List<T> |
EmptyRemoteIterator.getNext(int count,
int start) |
java.util.List<T> |
MemoryBasedCopyingRemoteIterator.getNext(int count,
int start) |
T |
RemoteIterator.getNext(int count,
int start)
Gets the next specified amount of elements of this iterator starting at the
designated index (0-based).
|
java.util.List<T> |
CachingRemoteIterator.getPrevious(int count) |
T |
RemoteIterator.getPrevious(int count)
Gets the previous specified amount of elements of this iterator.
|
boolean |
CachingRemoteIterator.isForwardOnly() |
boolean |
RemoteIterator.isForwardOnly()
Gets whether this iterator only allows iterating in forward direction, that
is calls to
RemoteIterator.getNext(int) but not to RemoteIterator.getNext(int, int) and
RemoteIterator.getPrevious(int). |
boolean |
CachingRemoteIterator.isSnapshot() |
boolean |
RemoteIterator.isSnapshot()
Gets whether this iterator is a snapshot and therefore its contents is not
subject of change while iterating.
|
long |
CachingRemoteIterator.keepAlive(long aliveTime) |
long |
RemoteIterator.keepAlive(long aliveTime)
Keeps this iterator alive for the designated time span (in milliseconds).
|