|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteQueryService
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.EJBObject |
|---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
|---|
long getUsersCount(UserQuery query)
throws WorkflowException,
java.rmi.RemoteException
query - the user query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getUsersCount(
org.eclipse.stardust.engine.api.query.UserQuery query)
long getUserGroupsCount(UserGroupQuery query)
throws WorkflowException,
java.rmi.RemoteException
query - the user group query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getUserGroupsCount(
org.eclipse.stardust.engine.api.query.UserGroupQuery query)
long getProcessInstancesCount(ProcessInstanceQuery query)
throws WorkflowException,
java.rmi.RemoteException
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.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getProcessInstancesCount(
org.eclipse.stardust.engine.api.query.ProcessInstanceQuery query)
long getActivityInstancesCount(ActivityInstanceQuery query)
throws WorkflowException,
java.rmi.RemoteException
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.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getActivityInstancesCount(
org.eclipse.stardust.engine.api.query.ActivityInstanceQuery query)
long getLogEntriesCount(LogEntryQuery query)
throws WorkflowException,
java.rmi.RemoteException
query - the log entry query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getLogEntriesCount(
org.eclipse.stardust.engine.api.query.LogEntryQuery query)
Users getAllUsers(UserQuery query)
throws WorkflowException,
java.rmi.RemoteException
query - the user query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllUsers(
org.eclipse.stardust.engine.api.query.UserQuery query)
UserGroups getAllUserGroups(UserGroupQuery query)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllUserGroups(
org.eclipse.stardust.engine.api.query.UserGroupQuery query)
ProcessInstances getAllProcessInstances(ProcessInstanceQuery query)
throws WorkflowException,
java.rmi.RemoteException
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.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllProcessInstances(
org.eclipse.stardust.engine.api.query.ProcessInstanceQuery query)
ActivityInstances getAllActivityInstances(ActivityInstanceQuery query)
throws WorkflowException,
java.rmi.RemoteException
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.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllActivityInstances(
org.eclipse.stardust.engine.api.query.ActivityInstanceQuery query)
LogEntries getAllLogEntries(LogEntryQuery query)
throws WorkflowException,
java.rmi.RemoteException
query - the log entry query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllLogEntries(
org.eclipse.stardust.engine.api.query.LogEntryQuery query)
User findFirstUser(UserQuery query)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.findFirstUser(
org.eclipse.stardust.engine.api.query.UserQuery query)
UserGroup findFirstUserGroup(UserGroupQuery query)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.findFirstUserGroup(
org.eclipse.stardust.engine.api.query.UserGroupQuery query)
ProcessInstance findFirstProcessInstance(ProcessInstanceQuery query)
throws WorkflowException,
java.rmi.RemoteException
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.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.findFirstProcessInstance(
org.eclipse.stardust.engine.api.query.ProcessInstanceQuery query)
ActivityInstance findFirstActivityInstance(ActivityInstanceQuery query)
throws WorkflowException,
java.rmi.RemoteException
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.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.findFirstActivityInstance(
org.eclipse.stardust.engine.api.query.ActivityInstanceQuery query)
LogEntry findFirstLogEntry(LogEntryQuery query)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.findFirstLogEntry(
org.eclipse.stardust.engine.api.query.LogEntryQuery query)
java.util.List<ActivityInstance> getAuditTrail(long processInstanceOID)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAuditTrail(
long processInstanceOID)
java.util.List<DeployedModelDescription> getAllModelDescriptions()
throws WorkflowException,
java.rmi.RemoteException
getModels(DeployedModelQuery.findAll()).
DeployedModelDescription
objects.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllModelDescriptions()
java.util.List<DeployedModelDescription> getAllAliveModelDescriptions()
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllAliveModelDescriptions()
DeployedModelDescription getActiveModelDescription()
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getActiveModelDescription()
Models getModels(DeployedModelQuery query)
throws WorkflowException,
java.rmi.RemoteException
query - the deployed model query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getModels(
org.eclipse.stardust.engine.api.query.DeployedModelQuery query)
DeployedModelDescription getModelDescription(long modelOID)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getModelDescription(
long modelOID)
boolean wasRedeployed(long modelOid,
int revision)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.wasRedeployed(
long modelOid, int revision)
DeployedModel getModel(long modelOID)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getModel(long modelOID)
DeployedModel getModel(long modelOID,
boolean computeAliveness)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getModel(
long modelOID, boolean computeAliveness)
DeployedModel getActiveModel()
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getActiveModel()
java.lang.String getModelAsXML(long modelOID)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getModelAsXML(long modelOID)
java.util.List<ProcessDefinition> getAllProcessDefinitions(long modelOID)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllProcessDefinitions(
long modelOID)
ProcessDefinition getProcessDefinition(long modelOID,
java.lang.String id)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getProcessDefinition(
long modelOID, java.lang.String id)
java.util.List<ProcessDefinition> getAllProcessDefinitions()
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllProcessDefinitions()
ProcessDefinition getProcessDefinition(java.lang.String id)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getProcessDefinition(
java.lang.String id)
org.eclipse.stardust.engine.api.runtime.ProcessDefinitions getProcessDefinitions(ProcessDefinitionQuery query)
throws WorkflowException,
java.rmi.RemoteException
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getProcessDefinitions(
org.eclipse.stardust.engine.api.query.ProcessDefinitionQuery query)
org.eclipse.stardust.engine.api.runtime.DataQueryResult getAllData(DataQuery query)
throws WorkflowException,
java.rmi.RemoteException
query - The DataQuery.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllData(
org.eclipse.stardust.engine.api.query.DataQuery query)
java.util.List<Participant> getAllParticipants(long modelOID)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllParticipants(long modelOID)
Participant getParticipant(long modelOID,
java.lang.String id)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getParticipant(
long modelOID, java.lang.String id)
java.util.List<Participant> getAllParticipants()
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllParticipants()
Participant getParticipant(java.lang.String id)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getParticipant(
java.lang.String id)
java.util.List<Permission> getPermissions()
throws WorkflowException,
java.rmi.RemoteException
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getPermissions()
byte[] getSchemaDefinition(long modelOID,
java.lang.String typeDeclarationId)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getSchemaDefinition(
long modelOID, java.lang.String typeDeclarationId)
java.util.List<Department> findAllDepartments(DepartmentInfo parent,
OrganizationInfo organization)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.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,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.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,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.findFirstDocument(
org.eclipse.stardust.engine.api.query.DocumentQuery query)
Documents getAllDocuments(DocumentQuery query)
throws WorkflowException,
java.rmi.RemoteException
query - the document query.
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllDocuments(
org.eclipse.stardust.engine.api.query.DocumentQuery query)
Preferences getPreferences(PreferenceScope scope,
java.lang.String moduleId,
java.lang.String preferencesId)
throws WorkflowException,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.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,
java.rmi.RemoteException
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.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getAllPreferences(
org.eclipse.stardust.engine.api.query.PreferenceQuery preferenceQuery)
RuntimeEnvironmentInfo getRuntimeEnvironmentInfo()
throws WorkflowException,
java.rmi.RemoteException
WorkflowException - as a wrapper for
org.eclipse.stardust.engine.api.ejb2.PublicExceptions and org.eclipse.stardust.engine.api.ejb2.ResourceExceptions
java.rmi.RemoteExceptionQueryService.getRuntimeEnvironmentInfo()
void login(java.lang.String userId,
java.lang.String password)
throws WorkflowException,
java.rmi.RemoteException
WorkflowException
java.rmi.RemoteException
void login(java.lang.String userId,
java.lang.String password,
java.util.Map properties)
throws WorkflowException,
java.rmi.RemoteException
WorkflowException
java.rmi.RemoteException
void logout()
throws java.rmi.RemoteException
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||