| org.obe.server.j2ee.repository.AbstractAttributedEntityEJB org.obe.server.j2ee.repository.ActivityInstanceEJB
ActivityInstanceEJB | abstract public class ActivityInstanceEJB extends AbstractAttributedEntityEJB (Code) | | Holds the persistent state of an activity instance.
author: Adrian Price |
Inner Class :final protected static class ActivitySerialData implements Serializable | |
Method Summary | |
public ProcessInstance | addChildProcessInstance(String processDefinitionId, String instanceName, int priority, int state, Date createdDate, Date startedDate, String[] participants) | public WorkItem | addWorkItem(int toolIndex, int state, String performer, String participant) | public String | ejbCreate(String processDefinitionId, String activityDefinitionId, String activityName, JoinInstance join, String blockActivityInstanceId, PersistentIterator blockActivityIterator, int priority, int state, String[] participants) | public int | ejbHomeCount(WMFilter filter) Counts the number of matching activity instances.
Parameters: filter - Activity instance filter; can be null . | public Collection | ejbHomeXfindByFilter(String processDefinitionId, String activityDefinitionId, WMFilter filter) Retrieves matching activity instances.
Parameters: processDefinitionId - The process definition id, can benull . Parameters: filter - Activity instance filter; should not be null (use ActivityInstanceLocalHome.findAll instead). | public void | ejbLoad() | public void | ejbPostCreate(String processDefinitionId, String activityDefinitionId, String activityName, JoinInstance join, String blockActivityInstanceId, PersistentIterator blockActivityIterator, int priority, int state, String[] participants) | public void | ejbRemove() | public void | ejbStore() | abstract public String | getActivityDefinitionId() | abstract public String | getActivityInstanceId() | abstract public String | getBlockActivityInstanceId() | public PersistentIterator | getBlockActivityIterator() | abstract public Collection | getChildProcessInstances() | abstract public Date | getCompletedDate() | abstract public Date | getDueDate() | public String | getEntityId() | public JoinInstance | getJoin() | final protected Log | getLogger() | abstract public String | getName() | protected int | getOwnerType() | abstract public String[] | getParticipants() | abstract public int | getPriority() | public ProcessInstance | getProcessInstance() | abstract public ProcessInstanceLocal | getProcessInstanceCmr() | public String | getProcessInstanceId() | abstract public String | getProcessInstanceIdCmp() | abstract public Object | getSerialDataCmp() | abstract public Date | getStartedDate() | abstract public int | getState() | abstract public Date | getTargetDate() | abstract public Collection | getWorkItems() | abstract public void | setActivityDefinitionId(String activityDefinitionId) | abstract public void | setActivityInstanceId(String activityInstanceId) | abstract public void | setBlockActivityInstanceId(String activityInstanceId) | abstract public void | setChildProcessInstances(Collection processes) | abstract public void | setCompletedDate(Date completedDate) | abstract public void | setDueDate(Date dueDate) | abstract public void | setName(String name) | abstract public void | setParticipants(String[] participants) | abstract public void | setPriority(int priority) | abstract public void | setProcessInstanceCmr(ProcessInstanceLocal process) | abstract public void | setProcessInstanceIdCmp(String processInstanceId) | abstract public void | setSerialDataCmp(Object serialData) | abstract public void | setStartedDate(Date startedDate) | abstract public void | setState(int state) | abstract public void | setTargetDate(Date targetDate) | abstract public void | setWorkItems(Collection workItems) | public String | toString() |
ActivityInstanceEJB | public ActivityInstanceEJB()(Code) | | |
ejbHomeCount | public int ejbHomeCount(WMFilter filter) throws RepositoryException(Code) | | Counts the number of matching activity instances.
Parameters: filter - Activity instance filter; can be null . The number of matching activity instances. |
ejbHomeXfindByFilter | public Collection ejbHomeXfindByFilter(String processDefinitionId, String activityDefinitionId, WMFilter filter) throws FinderException, RepositoryException(Code) | | Retrieves matching activity instances.
Parameters: processDefinitionId - The process definition id, can benull . Parameters: filter - Activity instance filter; should not be null (use ActivityInstanceLocalHome.findAll instead). A collection of matching activity instances. See Also: ActivityInstanceLocalHome.findAll |
ejbLoad | public void ejbLoad()(Code) | | |
ejbRemove | public void ejbRemove() throws RemoveException(Code) | | |
ejbStore | public void ejbStore()(Code) | | |
getActivityDefinitionId | abstract public String getActivityDefinitionId()(Code) | | |
getActivityInstanceId | abstract public String getActivityInstanceId()(Code) | | |
getBlockActivityInstanceId | abstract public String getBlockActivityInstanceId()(Code) | | |
getChildProcessInstances | abstract public Collection getChildProcessInstances()(Code) | | |
getCompletedDate | abstract public Date getCompletedDate()(Code) | | |
getLogger | final protected Log getLogger()(Code) | | |
getOwnerType | protected int getOwnerType()(Code) | | |
getParticipants | abstract public String[] getParticipants()(Code) | | |
getPriority | abstract public int getPriority()(Code) | | |
getProcessInstanceCmr | abstract public ProcessInstanceLocal getProcessInstanceCmr()(Code) | | |
getProcessInstanceId | public String getProcessInstanceId()(Code) | | |
getProcessInstanceIdCmp | abstract public String getProcessInstanceIdCmp()(Code) | | |
getSerialDataCmp | abstract public Object getSerialDataCmp()(Code) | | |
getStartedDate | abstract public Date getStartedDate()(Code) | | |
getState | abstract public int getState()(Code) | | |
getTargetDate | abstract public Date getTargetDate()(Code) | | |
setActivityDefinitionId | abstract public void setActivityDefinitionId(String activityDefinitionId)(Code) | | |
setActivityInstanceId | abstract public void setActivityInstanceId(String activityInstanceId)(Code) | | |
setBlockActivityInstanceId | abstract public void setBlockActivityInstanceId(String activityInstanceId)(Code) | | |
setChildProcessInstances | abstract public void setChildProcessInstances(Collection processes)(Code) | | |
setCompletedDate | abstract public void setCompletedDate(Date completedDate)(Code) | | |
setDueDate | abstract public void setDueDate(Date dueDate)(Code) | | |
setParticipants | abstract public void setParticipants(String[] participants)(Code) | | |
setPriority | abstract public void setPriority(int priority)(Code) | | |
setProcessInstanceCmr | abstract public void setProcessInstanceCmr(ProcessInstanceLocal process)(Code) | | |
setProcessInstanceIdCmp | abstract public void setProcessInstanceIdCmp(String processInstanceId)(Code) | | |
setSerialDataCmp | abstract public void setSerialDataCmp(Object serialData)(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) | | |
|
|