|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LocalQueryService
to set SessionProperties.DS_NAME_READ_ONLY
used in DataValueBean
| Method Summary | |
|---|---|
java.util.List<Department> |
findAllDepartments(DepartmentInfo parent,
OrganizationInfo organization)
Retrieves all the departments satisfying the search criteria. |
Department |
findDepartment(DepartmentInfo parent,
java.lang.String id,
OrganizationInfo info)
Searches for a department having the specified id in the scope defined by the parent department. |
ActivityInstance |
findFirstActivityInstance(ActivityInstanceQuery query)
Retrieves the first ActivityInstance satisfying the criteria specified in the provided query. |
Document |
findFirstDocument(DocumentQuery query)
Retrieves the first document satisfying the criteria specified in the provided query. |
LogEntry |
findFirstLogEntry(LogEntryQuery query)
Retrieves the first LogEntry satisfying the criteria specified in the provided query. |
ProcessInstance |
findFirstProcessInstance(ProcessInstanceQuery query)
Retrieves the first ProcessInstance satisfying the criteria specified in the provided query. |
User |
findFirstUser(UserQuery query)
Retrieves the first User satisfying the criteria specified in the provided query. |
UserGroup |
findFirstUserGroup(UserGroupQuery query)
Retrieves the first UserGroup satisfying the criteria specified in the provided query. |
DeployedModel |
getActiveModel()
Deprecated. This method returns the active model with the highest priority. Use getModels(DeployedModelQuery.findActive(
)) to retrieve all active models. |
DeployedModelDescription |
getActiveModelDescription()
Deprecated. This method returns the description of the active model with the highest priority. Use getModels(DeployedModelQuery.findActive(
)) to retrieve all active models. |
long |
getActivityInstancesCount(ActivityInstanceQuery query)
Counts the number of activity instances satisfying the criteria specified in the provided query. |
ActivityInstances |
getAllActivityInstances(ActivityInstanceQuery query)
Retrieves all activity instances satisfying the criteria specified in the provided query. |
java.util.List<DeployedModelDescription> |
getAllAliveModelDescriptions()
Deprecated. Use getModels(DeployedModelQuery.findInState(DeployedModelQuery.ALIVE)). |
org.eclipse.stardust.engine.api.runtime.DataQueryResult |
getAllData(DataQuery query)
Retrieves all data satisfying the criteria specified in the provided query. |
Documents |
getAllDocuments(DocumentQuery query)
Retrieves all documents satisfying the criteria specified in the provided query. |
LogEntries |
getAllLogEntries(LogEntryQuery query)
Retrieves all log entries satisfying the criteria specified in the provided query. |
java.util.List<DeployedModelDescription> |
getAllModelDescriptions()
Deprecated. Use getModels(DeployedModelQuery.findAll()). |
java.util.List<Participant> |
getAllParticipants()
Retrieves all the participants from the active model. |
java.util.List<Participant> |
getAllParticipants(long modelOID)
Retrieves all participants defined in the specified model. |
java.util.List<Preferences> |
getAllPreferences(PreferenceQuery preferenceQuery)
Retrieves preferences satisfying the criteria specified in the provided query. |
java.util.List<ProcessDefinition> |
getAllProcessDefinitions()
Retrieves all process definitions for the active model. |
java.util.List<ProcessDefinition> |
getAllProcessDefinitions(long modelOID)
Retrieves all the process definitions contained in the specified model. |
ProcessInstances |
getAllProcessInstances(ProcessInstanceQuery query)
Retrieves all process instances satisfying the criteria specified in the provided query. |
UserGroups |
getAllUserGroups(UserGroupQuery query)
Retrieves all user groups satisfying the criteria specified in the provided query. |
Users |
getAllUsers(UserQuery query)
Retrieves all users satisfying the criteria specified in the provided query. |
java.util.List<ActivityInstance> |
getAuditTrail(long processInstanceOID)
Returns all performed activity instances for the specified process instance. |
long |
getLogEntriesCount(LogEntryQuery query)
Counts the number of log entries satisfying the criteria specified in the provided query. |
DeployedModel |
getModel(long modelOID)
Retrieves the specified model. |
DeployedModel |
getModel(long modelOID,
boolean computeAliveness)
Retrieves the specified model. |
java.lang.String |
getModelAsXML(long modelOID)
Retrieves the XML representation of the specified model. |
DeployedModelDescription |
getModelDescription(long modelOID)
Retrieves the description of the specified model. |
Models |
getModels(DeployedModelQuery query)
Retrieves the model descriptions satisfying the criteria specified in the provided query. |
Participant |
getParticipant(long modelOID,
java.lang.String id)
Retrieves a participant from a specified model. |
Participant |
getParticipant(java.lang.String id)
Retrieves a specific participant from the active model. |
java.util.List<Permission> |
getPermissions()
Retrieves all permissions the current user has on this service. |
Preferences |
getPreferences(PreferenceScope scope,
java.lang.String moduleId,
java.lang.String preferencesId)
Retrieves preferences from the given scope. |
ProcessDefinition |
getProcessDefinition(long modelOID,
java.lang.String id)
Retrieves a process definition from the specified model. |
ProcessDefinition |
getProcessDefinition(java.lang.String id)
Retrieves the specified process definition from the active model. |
org.eclipse.stardust.engine.api.runtime.ProcessDefinitions |
getProcessDefinitions(ProcessDefinitionQuery query)
|
long |
getProcessInstancesCount(ProcessInstanceQuery query)
Counts the number of process instances satisfying the criteria specified in the provided query. |
RuntimeEnvironmentInfo |
getRuntimeEnvironmentInfo()
Retrieves the information about the deployed runtime environment ( e.g. |
byte[] |
getSchemaDefinition(long modelOID,
java.lang.String typeDeclarationId)
Retrieves XSD schema of the specified type declaration serialized into a byte[]. |
long |
getUserGroupsCount(UserGroupQuery query)
Counts the number of user groups satisfying the criteria specified in the provided query. |
long |
getUsersCount(UserQuery query)
Counts the number of users satisfying the criteria specified in the provided query. |
void |
login(java.lang.String userId,
java.lang.String password)
|
void |
login(java.lang.String userId,
java.lang.String password,
java.util.Map properties)
|
void |
logout()
|
boolean |
wasRedeployed(long modelOid,
int revision)
Determines if the model was redeployed, i.e. |
| Methods inherited from interface javax.ejb.EJBLocalObject |
|---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Method Detail |
|---|
long getUsersCount(UserQuery query)
throws WorkflowException
query - the user query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getUsersCount(
org.eclipse.stardust.engine.api.query.UserQuery query)
long getUserGroupsCount(UserGroupQuery query)
throws WorkflowException
query - the user group query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getUserGroupsCount(
org.eclipse.stardust.engine.api.query.UserGroupQuery query)
long getProcessInstancesCount(ProcessInstanceQuery query)
throws WorkflowException
query - the process instance query.
IllegalOperationException - if no attributeName
(XPath) is specified in a DataFilter for queries on a structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) is specified in a DataFilter for queries on a non-structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) specified in a DataFilter contains an invalid XPath
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if
PerformingOnBehalfOfFilter is used
but activity instance history is disabled.
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getProcessInstancesCount(
org.eclipse.stardust.engine.api.query.ProcessInstanceQuery query)
long getActivityInstancesCount(ActivityInstanceQuery query)
throws WorkflowException
query - the activity instance query.
IllegalOperationException - if no attributeName
(XPath) is specified in a DataFilter for queries on a structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) is specified in a DataFilter for queries on a non-structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) specified in a DataFilter contains an invalid XPath
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if
PerformingOnBehalfOfFilter is used
but activity instance history is disabled.
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getActivityInstancesCount(
org.eclipse.stardust.engine.api.query.ActivityInstanceQuery query)
long getLogEntriesCount(LogEntryQuery query)
throws WorkflowException
query - the log entry query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getLogEntriesCount(
org.eclipse.stardust.engine.api.query.LogEntryQuery query)
Users getAllUsers(UserQuery query)
throws WorkflowException
query - the user query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllUsers(
org.eclipse.stardust.engine.api.query.UserQuery query)
UserGroups getAllUserGroups(UserGroupQuery query)
throws WorkflowException
query - the user group query.
UserGroup objects.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllUserGroups(
org.eclipse.stardust.engine.api.query.UserGroupQuery query)
ProcessInstances getAllProcessInstances(ProcessInstanceQuery query)
throws WorkflowException
query - the process instance query.
IllegalOperationException - if no attributeName
(XPath) is specified in a DataFilter for queries on a structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) is specified in a DataFilter for queries on a non-structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) specified in a DataFilter contains an invalid XPath
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if
PerformingOnBehalfOfFilter is used
but activity instance history is disabled.
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllProcessInstances(
org.eclipse.stardust.engine.api.query.ProcessInstanceQuery query)
ActivityInstances getAllActivityInstances(ActivityInstanceQuery query)
throws WorkflowException
query - the activity instance query.
IllegalOperationException - if no attributeName
(XPath) is specified in a DataFilter for queries on a structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) is specified in a DataFilter for queries on a non-structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) specified in a DataFilter contains an invalid XPath
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if
PerformingOnBehalfOfFilter is used
but activity instance history is disabled.
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllActivityInstances(
org.eclipse.stardust.engine.api.query.ActivityInstanceQuery query)
LogEntries getAllLogEntries(LogEntryQuery query)
throws WorkflowException
query - the log entry query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllLogEntries(
org.eclipse.stardust.engine.api.query.LogEntryQuery query)
User findFirstUser(UserQuery query)
throws WorkflowException
query - the user query.
org.eclipse.stardust.common.error.ObjectNotFoundException - if no matching user is
found.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.findFirstUser(
org.eclipse.stardust.engine.api.query.UserQuery query)
UserGroup findFirstUserGroup(UserGroupQuery query)
throws WorkflowException
query - the user group query.
org.eclipse.stardust.common.error.ObjectNotFoundException - if no matching user group is
found.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.findFirstUserGroup(
org.eclipse.stardust.engine.api.query.UserGroupQuery query)
ProcessInstance findFirstProcessInstance(ProcessInstanceQuery query)
throws WorkflowException
query - the process instance query.
ObjectNotFoundException - if no matching process instance is found.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
IllegalOperationException - if no attributeName
(XPath) is specified in a DataFilter for queries on a structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) is specified in a DataFilter for queries on a non-structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) specified in a DataFilter contains an invalid XPath
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if
PerformingOnBehalfOfFilter is used
but activity instance history is disabled.
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.findFirstProcessInstance(
org.eclipse.stardust.engine.api.query.ProcessInstanceQuery query)
ActivityInstance findFirstActivityInstance(ActivityInstanceQuery query)
throws WorkflowException
query - the activity instance query.
ObjectNotFoundException - if no matching activity instance is found.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
IllegalOperationException - if no attributeName
(XPath) is specified in a DataFilter for queries on a structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) is specified in a DataFilter for queries on a non-structured data
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if attributeName
(XPath) specified in a DataFilter contains an invalid XPath
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
IllegalOperationException - if
PerformingOnBehalfOfFilter is used
but activity instance history is disabled.
Instances of IllegalOperationException will be wrapped
inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.findFirstActivityInstance(
org.eclipse.stardust.engine.api.query.ActivityInstanceQuery query)
LogEntry findFirstLogEntry(LogEntryQuery query)
throws WorkflowException
query - the log entry query.
org.eclipse.stardust.common.error.ObjectNotFoundException - if no matching log entry is
found.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.findFirstLogEntry(
org.eclipse.stardust.engine.api.query.LogEntryQuery query)
java.util.List<ActivityInstance> getAuditTrail(long processInstanceOID)
throws WorkflowException
processInstanceOID - the OID of the process instance from where we retrieve the audit
trail.
ActivityInstance objects.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no process
instance with the specified OID.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAuditTrail(
long processInstanceOID)
java.util.List<DeployedModelDescription> getAllModelDescriptions()
throws WorkflowException
getModels(DeployedModelQuery.findAll()).
DeployedModelDescription
objects.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllModelDescriptions()
java.util.List<DeployedModelDescription> getAllAliveModelDescriptions()
throws WorkflowException
getModels(DeployedModelQuery.findInState(DeployedModelQuery.ALIVE)).
DeployedModelDescription
objects.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllAliveModelDescriptions()
DeployedModelDescription getActiveModelDescription()
throws WorkflowException
getModels(DeployedModelQuery.findActive(
)) to retrieve all active models.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no active model.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getActiveModelDescription()
Models getModels(DeployedModelQuery query)
throws WorkflowException
query - the deployed model query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getModels(
org.eclipse.stardust.engine.api.query.DeployedModelQuery query)
DeployedModelDescription getModelDescription(long modelOID)
throws WorkflowException
modelOID - the oid of the model to retrieve.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no model with
the specified OID.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getModelDescription(
long modelOID)
boolean wasRedeployed(long modelOid,
int revision)
throws WorkflowException
modelOid - The OID of the model to be checked..revision - The currently retrieved revision of the model.
true if a more recent revision of the model is available,
false if not.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.wasRedeployed(
long modelOid, int revision)
DeployedModel getModel(long modelOID)
throws WorkflowException
modelOID - the oid of the model to retrieve.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no model with
the specified OID.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getModel(long modelOID)
DeployedModel getModel(long modelOID,
boolean computeAliveness)
throws WorkflowException
modelOID - the oid of the model to retrieve.computeAliveness - whether the aliveness of the model should be computed or not
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no model with
the specified OID.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getModel(
long modelOID, boolean computeAliveness)
DeployedModel getActiveModel()
throws WorkflowException
getModels(DeployedModelQuery.findActive(
)) to retrieve all active models.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no active model.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getActiveModel()
java.lang.String getModelAsXML(long modelOID)
throws WorkflowException
modelOID - the oid of the model to retrieve.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no model with
the specified OID.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getModelAsXML(long modelOID)
java.util.List<ProcessDefinition> getAllProcessDefinitions(long modelOID)
throws WorkflowException
modelOID - the oid of the model.
ProcessDefinition objects.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no model with
the specified OID.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllProcessDefinitions(
long modelOID)
ProcessDefinition getProcessDefinition(long modelOID,
java.lang.String id)
throws WorkflowException
modelOID - the oid of the model.id - the id of the process definition.
ObjectNotFoundException - if there is no model with the specified OID or there is no process
definition with the specified id in the model.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getProcessDefinition(
long modelOID, java.lang.String id)
java.util.List<ProcessDefinition> getAllProcessDefinitions()
throws WorkflowException
ProcessDefinition objects.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no active model.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllProcessDefinitions()
ProcessDefinition getProcessDefinition(java.lang.String id)
throws WorkflowException
id - the id of the process definition.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no active model
or if the active model
does not contain the requested process definition.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getProcessDefinition(
java.lang.String id)
org.eclipse.stardust.engine.api.runtime.ProcessDefinitions getProcessDefinitions(ProcessDefinitionQuery query)
throws WorkflowException
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getProcessDefinitions(
org.eclipse.stardust.engine.api.query.ProcessDefinitionQuery query)
org.eclipse.stardust.engine.api.runtime.DataQueryResult getAllData(DataQuery query)
throws WorkflowException
query - The DataQuery.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllData(
org.eclipse.stardust.engine.api.query.DataQuery query)
java.util.List<Participant> getAllParticipants(long modelOID)
throws WorkflowException
modelOID - the oid of the model.
Participant objects.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no model with
the specified oid.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllParticipants(long modelOID)
Participant getParticipant(long modelOID,
java.lang.String id)
throws WorkflowException
modelOID - the oid of the model.id - the id of the participant.
ObjectNotFoundException - if there is no model with the specified oid, or the model does not
contains the requested participant.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getParticipant(
long modelOID, java.lang.String id)
java.util.List<Participant> getAllParticipants()
throws WorkflowException
Participant objects.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no active model.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllParticipants()
Participant getParticipant(java.lang.String id)
throws WorkflowException
id - the id of the participant.
ObjectNotFoundException - if there is no active model, or if the active model does not contain
the requested participant.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getParticipant(
java.lang.String id)
java.util.List<Permission> getPermissions()
throws WorkflowException
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getPermissions()
byte[] getSchemaDefinition(long modelOID,
java.lang.String typeDeclarationId)
throws WorkflowException
modelOID - the oid of the model.typeDeclarationId - the id of the type declaration.
ObjectNotFoundException - if there is no active model, or if the active model does not contain the
requested type declaration.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getSchemaDefinition(
long modelOID, java.lang.String typeDeclarationId)
java.util.List<Department> findAllDepartments(DepartmentInfo parent,
OrganizationInfo organization)
throws WorkflowException
parent - the parent department.organization - the organization to which the retrieved departments are assigned.
ObjectNotFoundException - if either the parent or the organization could not be resolved.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.findAllDepartments(
org.eclipse.stardust.engine.api.runtime.DepartmentInfo parent,
org.eclipse.stardust.engine.api.model.OrganizationInfo organization)
Department findDepartment(DepartmentInfo parent,
java.lang.String id,
OrganizationInfo info)
throws WorkflowException
parent - the search scope. It can be null, in which case the search scope
is the top level.id - the id of the department. Must not be null or empty.organization - the organization to which the retrieved departments are assigned.
ObjectNotFoundException - if the parent could not be resolved or if the specified id is null or empty
or if there is no department with the specified id in the parent scope.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.findDepartment(
org.eclipse.stardust.engine.api.runtime.DepartmentInfo parent, java.lang.String id,
org.eclipse.stardust.engine.api.model.OrganizationInfo info)
Document findFirstDocument(DocumentQuery query)
throws WorkflowException
query - the document query.
org.eclipse.stardust.common.error.ObjectNotFoundException - if no matching document is
found.
Instances of ObjectNotFoundException
will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.findFirstDocument(
org.eclipse.stardust.engine.api.query.DocumentQuery query)
Documents getAllDocuments(DocumentQuery query)
throws WorkflowException
query - the document query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllDocuments(
org.eclipse.stardust.engine.api.query.DocumentQuery query)
Preferences getPreferences(PreferenceScope scope,
java.lang.String moduleId,
java.lang.String preferencesId)
throws WorkflowException
scope - the scope from which the preferences are to be retrieved from.moduleId - the moduleId of the preferences.preferencesId - the id of the preferences.
PublicException - if scope is null.
Instances of PublicException will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getPreferences(
org.eclipse.stardust.engine.core.preferences.PreferenceScope scope, java.lang.String
moduleId, java.lang.String preferencesId)
java.util.List<Preferences> getAllPreferences(PreferenceQuery preferenceQuery)
throws WorkflowException
preferenceQuery - the preference query.
PublicException - if querying is not supported for the specified PreferenceScope.
Instances of PublicException will be wrapped inside WorkflowException.
java.lang.UnsupportedOperationException - if the PreferenceQuery contains unsupported terms or
operations.
Instances of UnsupportedOperationException will be wrapped inside WorkflowException.
InvalidArgumentException - if preferencesQuery is null.
Instances of InvalidArgumentException will be wrapped inside WorkflowException.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getAllPreferences(
org.eclipse.stardust.engine.api.query.PreferenceQuery preferenceQuery)
RuntimeEnvironmentInfo getRuntimeEnvironmentInfo()
throws WorkflowException
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptionsQueryService.getRuntimeEnvironmentInfo()
void login(java.lang.String userId,
java.lang.String password)
throws WorkflowException
WorkflowException
void login(java.lang.String userId,
java.lang.String password,
java.util.Map properties)
throws WorkflowException
WorkflowExceptionvoid logout()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||