|
|||||||||
| 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 | |
|---|---|
List<Department> |
findAllDepartments(DepartmentInfo parent,
OrganizationInfo organization)
Retrieves all the departments satisfying the search criteria. |
Department |
findDepartment(DepartmentInfo parent,
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)
Deprecated. since 8.0 use DocumentManagementService.findDocuments(DocumentQuery). |
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. |
List<DeployedModelDescription> |
getAllAliveModelDescriptions()
Deprecated. Use getModels(DeployedModelQuery.findInState(DeployedModelQuery.ALIVE)). |
BusinessObjects |
getAllBusinessObjects(BusinessObjectQuery query)
Returns the business objects satisfying the query. |
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)
Deprecated. since 8.0 use DocumentManagementService.findDocuments(DocumentQuery). |
LogEntries |
getAllLogEntries(LogEntryQuery query)
Retrieves all log entries satisfying the criteria specified in the provided query. |
List<DeployedModelDescription> |
getAllModelDescriptions()
Deprecated. Use getModels(DeployedModelQuery.findAll()). |
List<Participant> |
getAllParticipants()
Retrieves all the participants for all active models. |
List<Participant> |
getAllParticipants(long modelOID)
Retrieves all participants defined in the specified model. |
List<Preferences> |
getAllPreferences(PreferenceQuery preferenceQuery)
Retrieves preferences satisfying the criteria specified in the provided query. |
List<ProcessDefinition> |
getAllProcessDefinitions()
Retrieves all process definitions for all active models. |
List<ProcessDefinition> |
getAllProcessDefinitions(long modelOID)
Retrieves all the process definitions contained in the specified model. |
List<ProcessInstanceLinkType> |
getAllProcessInstanceLinkTypes()
Gets all process instance link types defined. |
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. |
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. |
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,
String id)
Retrieves a participant from a specified model. |
Participant |
getParticipant(String id)
Retrieves a specific participant from the active model. |
List<Permission> |
getPermissions()
Retrieves all permissions the current user has on this service. |
Preferences |
getPreferences(PreferenceScope scope,
String moduleId,
String preferencesId)
Retrieves preferences from the given scope. |
ProcessDefinition |
getProcessDefinition(long modelOID,
String id)
Retrieves a process definition from the specified model. |
ProcessDefinition |
getProcessDefinition(String id)
Retrieves the specified process definition from the active model. |
ProcessDefinitions |
getProcessDefinitions(ProcessDefinitionQuery query)
|
ProcessInstanceLinkType |
getProcessInstanceLinkType(String id)
Gets a specific process instance link type. |
long |
getProcessInstancesCount(ProcessInstanceQuery query)
Counts the number of process instances satisfying the criteria specified in the provided query. |
ResourceBundle |
getResourceBundle(String moduleId,
String bundleName,
Locale locale)
Retrieves a resource bundle from a specified moduleId. |
RuntimeArtifact |
getRuntimeArtifact(long oid)
Retrieves the artifact by the unique oid. |
org.eclipse.stardust.engine.api.query.DeployedRuntimeArtifacts |
getRuntimeArtifacts(DeployedRuntimeArtifactQuery query)
Retrieves all DeployedRuntimeArtifacts satisfying the criteria specified in the provided query. |
RuntimeEnvironmentInfo |
getRuntimeEnvironmentInfo()
Retrieves the information about the deployed runtime environment ( e.g. |
byte[] |
getSchemaDefinition(long modelOID,
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(String userId,
String password)
|
void |
login(String userId,
String password,
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 org.eclipse.stardust.common.error.WorkflowException
query - the user query.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getUsersCount(
org.eclipse.stardust.engine.api.query.UserQuery query)
long getUserGroupsCount(UserGroupQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - the user group query.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getUserGroupsCount(
org.eclipse.stardust.engine.api.query.UserGroupQuery query)
long getProcessInstancesCount(ProcessInstanceQuery query)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getProcessInstancesCount(
org.eclipse.stardust.engine.api.query.ProcessInstanceQuery query)
long getActivityInstancesCount(ActivityInstanceQuery query)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getActivityInstancesCount(
org.eclipse.stardust.engine.api.query.ActivityInstanceQuery query)
long getLogEntriesCount(LogEntryQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - the log entry query.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getLogEntriesCount(
org.eclipse.stardust.engine.api.query.LogEntryQuery query)
Users getAllUsers(UserQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - the user query.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllUsers(
org.eclipse.stardust.engine.api.query.UserQuery query)
UserGroups getAllUserGroups(UserGroupQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - the user group query.
UserGroup objects.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllUserGroups(
org.eclipse.stardust.engine.api.query.UserGroupQuery query)
ProcessInstances getAllProcessInstances(ProcessInstanceQuery query)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllProcessInstances(
org.eclipse.stardust.engine.api.query.ProcessInstanceQuery query)
ActivityInstances getAllActivityInstances(ActivityInstanceQuery query)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllActivityInstances(
org.eclipse.stardust.engine.api.query.ActivityInstanceQuery query)
LogEntries getAllLogEntries(LogEntryQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - the log entry query.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllLogEntries(
org.eclipse.stardust.engine.api.query.LogEntryQuery query)
User findFirstUser(UserQuery query)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.findFirstUser(
org.eclipse.stardust.engine.api.query.UserQuery query)
UserGroup findFirstUserGroup(UserGroupQuery query)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.findFirstUserGroup(
org.eclipse.stardust.engine.api.query.UserGroupQuery query)
ProcessInstance findFirstProcessInstance(ProcessInstanceQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - the process instance query.
org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.findFirstProcessInstance(
org.eclipse.stardust.engine.api.query.ProcessInstanceQuery query)
ActivityInstance findFirstActivityInstance(ActivityInstanceQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - the activity instance query.
org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.findFirstActivityInstance(
org.eclipse.stardust.engine.api.query.ActivityInstanceQuery query)
LogEntry findFirstLogEntry(LogEntryQuery query)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.findFirstLogEntry(
org.eclipse.stardust.engine.api.query.LogEntryQuery query)
List<ActivityInstance> getAuditTrail(long processInstanceOID)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAuditTrail(
long processInstanceOID)
BusinessObjects getAllBusinessObjects(BusinessObjectQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - the business objects query.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllBusinessObjects(
org.eclipse.stardust.engine.api.query.BusinessObjectQuery query)
List<DeployedModelDescription> getAllModelDescriptions()
throws org.eclipse.stardust.common.error.WorkflowException
getModels(DeployedModelQuery.findAll()).
DeployedModelDescription objects.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllModelDescriptions()
List<DeployedModelDescription> getAllAliveModelDescriptions()
throws org.eclipse.stardust.common.error.WorkflowException
getModels(DeployedModelQuery.findInState(DeployedModelQuery.ALIVE)).
DeployedModelDescription
objects.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllAliveModelDescriptions()
DeployedModelDescription getActiveModelDescription()
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getActiveModelDescription()
Models getModels(DeployedModelQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - the deployed model query.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getModels(
org.eclipse.stardust.engine.api.query.DeployedModelQuery query)
DeployedModelDescription getModelDescription(long modelOID)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getModelDescription(long modelOID)
boolean wasRedeployed(long modelOid,
int revision)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.wasRedeployed(
long modelOid, int revision)
DeployedModel getModel(long modelOID)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getModel(long modelOID)
DeployedModel getModel(long modelOID,
boolean computeAliveness)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getModel(
long modelOID, boolean computeAliveness)
DeployedModel getActiveModel()
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getActiveModel()
String getModelAsXML(long modelOID)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getModelAsXML(long modelOID)
List<ProcessDefinition> getAllProcessDefinitions(long modelOID)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllProcessDefinitions(
long modelOID)
ProcessDefinition getProcessDefinition(long modelOID,
String id)
throws org.eclipse.stardust.common.error.WorkflowException
modelOID - the oid of the model.id - the id of the process definition.
org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getProcessDefinition(
long modelOID, java.lang.String id)
List<ProcessDefinition> getAllProcessDefinitions()
throws org.eclipse.stardust.common.error.WorkflowException
ProcessDefinition objects.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no active model.
Instances of ObjectNotFoundException will
be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllProcessDefinitions()
ProcessDefinition getProcessDefinition(String id)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getProcessDefinition(
java.lang.String id)
ProcessDefinitions getProcessDefinitions(ProcessDefinitionQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getProcessDefinitions(
org.eclipse.stardust.engine.api.query.ProcessDefinitionQuery query)
org.eclipse.stardust.engine.api.runtime.DataQueryResult getAllData(DataQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - The DataQuery.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllData(
org.eclipse.stardust.engine.api.query.DataQuery query)
List<Participant> getAllParticipants(long modelOID)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllParticipants(long modelOID)
Participant getParticipant(long modelOID,
String id)
throws org.eclipse.stardust.common.error.WorkflowException
modelOID - the oid of the model.id - the id of the participant.
org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getParticipant(
long modelOID, java.lang.String id)
List<Participant> getAllParticipants()
throws org.eclipse.stardust.common.error.WorkflowException
Participant
objects.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no active model.
Instances of ObjectNotFoundException will
be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllParticipants()
Participant getParticipant(String id)
throws org.eclipse.stardust.common.error.WorkflowException
id - the id of the participant.
org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getParticipant(
java.lang.String id)
List<Permission> getPermissions()
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getPermissions()
byte[] getSchemaDefinition(long modelOID,
String typeDeclarationId)
throws org.eclipse.stardust.common.error.WorkflowException
modelOID - the oid of the model.typeDeclarationId - the id of the type declaration.
org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getSchemaDefinition(
long modelOID, java.lang.String typeDeclarationId)
List<Department> findAllDepartments(DepartmentInfo parent,
OrganizationInfo organization)
throws org.eclipse.stardust.common.error.WorkflowException
parent - the parent department.organization - the organization to which the retrieved departments are assigned.
org.eclipse.stardust.common.error.ObjectNotFoundException - if either the parent or the organization could not be resolved.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.findAllDepartments(
org.eclipse.stardust.engine.api.runtime.DepartmentInfo parent,
org.eclipse.stardust.engine.api.model.OrganizationInfo organization)
Department findDepartment(DepartmentInfo parent,
String id,
OrganizationInfo info)
throws org.eclipse.stardust.common.error.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.info - the organization to which the retrieved departments are assigned.
org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.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 org.eclipse.stardust.common.error.WorkflowException
DocumentManagementService.findDocuments(DocumentQuery).
query - the document query.
org.eclipse.stardust.common.error.ObjectNotFoundException - if no matching document is
found.
Instances of ObjectNotFoundException will
be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.findFirstDocument(
org.eclipse.stardust.engine.api.query.DocumentQuery query)
Documents getAllDocuments(DocumentQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
DocumentManagementService.findDocuments(DocumentQuery).
query - the document query.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllDocuments(
org.eclipse.stardust.engine.api.query.DocumentQuery query)
Preferences getPreferences(PreferenceScope scope,
String moduleId,
String preferencesId)
throws org.eclipse.stardust.common.error.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.
org.eclipse.stardust.common.error.PublicException - if scope is null.
Instances of PublicException will be
wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getPreferences(
org.eclipse.stardust.engine.core.preferences.PreferenceScope scope, java.lang.String
moduleId, java.lang.String preferencesId)
List<Preferences> getAllPreferences(PreferenceQuery preferenceQuery)
throws org.eclipse.stardust.common.error.WorkflowException
preferenceQuery - the preference query.
org.eclipse.stardust.common.error.PublicException - if querying is not supported for the
specified PreferenceScope.
Instances of PublicException will be
wrapped inside WorkflowException.
UnsupportedOperationException - if the PreferenceQuery contains unsupported
terms or operations.
Instances of UnsupportedOperationException will be wrapped inside
WorkflowException.
org.eclipse.stardust.common.error.InvalidArgumentException - if preferencesQuery
is null.
Instances of InvalidArgumentException
will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllPreferences(
org.eclipse.stardust.engine.api.query.PreferenceQuery preferenceQuery)
RuntimeEnvironmentInfo getRuntimeEnvironmentInfo()
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getRuntimeEnvironmentInfo()
ResourceBundle getResourceBundle(String moduleId,
String bundleName,
Locale locale)
throws org.eclipse.stardust.common.error.WorkflowException
moduleId - The id of the engine resource bundle module.bundleName - The name of the bundle.locale - The to retrieve the resource bundle for.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getResourceBundle(
java.lang.String moduleId, java.lang.String bundleName, java.util.Locale locale)
RuntimeArtifact getRuntimeArtifact(long oid)
throws org.eclipse.stardust.common.error.WorkflowException
oid - The oid of the artifact.
null if it does not exist.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getRuntimeArtifact(long oid)
org.eclipse.stardust.engine.api.query.DeployedRuntimeArtifacts getRuntimeArtifacts(DeployedRuntimeArtifactQuery query)
throws org.eclipse.stardust.common.error.WorkflowException
query - the deployed runtime artifact query.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getRuntimeArtifacts(
org.eclipse.stardust.engine.api.query.DeployedRuntimeArtifactQuery query)
ProcessInstanceLinkType getProcessInstanceLinkType(String id)
throws org.eclipse.stardust.common.error.WorkflowException
id - the in of the process instance link type.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no process
instance link type with the specified id.
Instances of ObjectNotFoundException will
be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getProcessInstanceLinkType(
java.lang.String id)
List<ProcessInstanceLinkType> getAllProcessInstanceLinkTypes()
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsQueryService.getAllProcessInstanceLinkTypes()
void login(String userId,
String password)
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowException
void login(String userId,
String password,
Map properties)
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowExceptionvoid logout()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||