| org.obe.server.j2ee.repository.AbstractAttributedEntityEJB org.obe.server.j2ee.repository.ProcessInstanceEJB
ProcessInstanceEJB | abstract public class ProcessInstanceEJB extends AbstractAttributedEntityEJB (Code) | | Holds the persistent state of a process instance.
author: Adrian Price |
Method Summary | |
public ActivityInstance | addActivityInstance(String activityDefinitionId, String activityName, JoinInstance join, String blockActivityInstanceId, PersistentIterator blockActivityIterator, int priority, int state, String[] participants) | public String | ejbCreate(String processDefinitionId, String instanceName, int priority, int state, Date createdDate, Date startedDate, String[] participants) | public int | ejbHomeCount(String processDefinitionId, WMFilter filter) Counts the number of matching process instances.
Parameters: processDefinitionId - The ID of the process definition for which tocount instances; can be null . Parameters: filter - Process instance filter; can be null . | public Collection | ejbHomeXfindByFilter(String processDefinitionId, WMFilter filter) Retrieves matching process instances.
Parameters: processDefinitionId - The ID of the process definition for which toretrieve instances; can be null . Parameters: filter - Process instance filter; should not be null (use ProcessInstanceLocalHome.findAll orProcessInstanceLocalHome.findByProcessDefinitionId instead). | public void | ejbLoad() | public void | ejbPostCreate(String processDefinitionId, String instanceName, int priority, int state, Date createdDate, Date startedDate, String[] participants) | public void | ejbRemove() | abstract public Date | getActivityDueDate() | abstract public Collection | getActivityInstances() | abstract public Date | getActivityTargetDate() | abstract public Date | getCompletedDate() | abstract public Date | getCreatedDate() | abstract public Date | getDueDate() | public String | getEntityId() | final protected Log | getLogger() | abstract public String | getName() | protected int | getOwnerType() | public ActivityInstance | getParentActivityInstance() | abstract public ActivityInstanceLocal | getParentActivityInstanceCmr() | abstract public String | getParentActivityInstanceId() | abstract public String[] | getParticipants() | abstract public int | getPriority() | abstract public String | getProcessInstanceId() | abstract public Date | getStartedDate() | abstract public int | getState() | abstract public Date | getTargetDate() | abstract public void | setActivityDueDate(Date dueDate) | abstract public void | setActivityInstances(Collection instances) | abstract public void | setActivityTargetDate(Date targetDate) | abstract public void | setCompletedDate(Date completedDate) | abstract public void | setCreatedDate(Date createdDate) | abstract public void | setDueDate(Date dueDate) | abstract public void | setName(String name) | abstract public void | setParentActivityInstanceCmr(ActivityInstanceLocal activityInstance) | abstract public void | setParentActivityInstanceId(String activityInstanceId) | abstract public void | setParticipants(String[] participants) | abstract public void | setPriority(int priority) | abstract public void | setProcessInstanceId(String processInstanceId) | abstract public void | setStartedDate(Date startedDate) | abstract public void | setState(int state) | abstract public void | setTargetDate(Date targetDate) | public String | toString() |
ProcessInstanceEJB | public ProcessInstanceEJB()(Code) | | |
ejbHomeCount | public int ejbHomeCount(String processDefinitionId, WMFilter filter) throws RepositoryException(Code) | | Counts the number of matching process instances.
Parameters: processDefinitionId - The ID of the process definition for which tocount instances; can be null . Parameters: filter - Process instance filter; can be null . The number of matching process instance. |
ejbHomeXfindByFilter | public Collection ejbHomeXfindByFilter(String processDefinitionId, WMFilter filter) throws FinderException, RepositoryException(Code) | | Retrieves matching process instances.
Parameters: processDefinitionId - The ID of the process definition for which toretrieve instances; can be null . Parameters: filter - Process instance filter; should not be null (use ProcessInstanceLocalHome.findAll orProcessInstanceLocalHome.findByProcessDefinitionId instead). A collection of matching process instances. See Also: ProcessInstanceLocalHome.findAll |
ejbLoad | public void ejbLoad()(Code) | | |
ejbPostCreate | public void ejbPostCreate(String processDefinitionId, String instanceName, int priority, int state, Date createdDate, Date startedDate, String[] participants)(Code) | | |
ejbRemove | public void ejbRemove() throws RemoveException(Code) | | |
getActivityDueDate | abstract public Date getActivityDueDate()(Code) | | |
getActivityTargetDate | abstract public Date getActivityTargetDate()(Code) | | |
getCompletedDate | abstract public Date getCompletedDate()(Code) | | |
getCreatedDate | abstract public Date getCreatedDate()(Code) | | |
getLogger | final protected Log getLogger()(Code) | | |
getOwnerType | protected int getOwnerType()(Code) | | |
getParentActivityInstanceCmr | abstract public ActivityInstanceLocal getParentActivityInstanceCmr()(Code) | | |
getParentActivityInstanceId | abstract public String getParentActivityInstanceId()(Code) | | |
getParticipants | abstract public String[] getParticipants()(Code) | | |
getPriority | abstract public int getPriority()(Code) | | |
getProcessInstanceId | abstract public String getProcessInstanceId()(Code) | | |
getStartedDate | abstract public Date getStartedDate()(Code) | | |
getState | abstract public int getState()(Code) | | |
getTargetDate | abstract public Date getTargetDate()(Code) | | |
setActivityDueDate | abstract public void setActivityDueDate(Date dueDate)(Code) | | |
setActivityInstances | abstract public void setActivityInstances(Collection instances)(Code) | | |
setActivityTargetDate | abstract public void setActivityTargetDate(Date targetDate)(Code) | | |
setCompletedDate | abstract public void setCompletedDate(Date completedDate)(Code) | | |
setCreatedDate | abstract public void setCreatedDate(Date createdDate)(Code) | | |
setDueDate | abstract public void setDueDate(Date dueDate)(Code) | | |
setParentActivityInstanceCmr | abstract public void setParentActivityInstanceCmr(ActivityInstanceLocal activityInstance)(Code) | | |
setParentActivityInstanceId | abstract public void setParentActivityInstanceId(String activityInstanceId)(Code) | | |
setParticipants | abstract public void setParticipants(String[] participants)(Code) | | |
setPriority | abstract public void setPriority(int priority)(Code) | | |
setProcessInstanceId | abstract public void setProcessInstanceId(String processInstanceId)(Code) | | |
setStartedDate | abstract public void setStartedDate(Date startedDate)(Code) | | |
setState | abstract public void setState(int state)(Code) | | |
setTargetDate | abstract public void setTargetDate(Date targetDate)(Code) | | |
|
|