| java.lang.Object org.obe.engine.repository.AbstractRepository org.obe.engine.persistence.memory.BasicInstanceRepository
BasicInstanceRepository | public class BasicInstanceRepository extends AbstractRepository implements InstanceRepository(Code) | | Provides caching and persistence services for process instances.
This includes process instances, workflow relevant data, activity
instances, work items; also attributes for process instance,
activity instance, and work items.
author: Anthony Eden author: Adrian Price |
Method Summary | |
public ActivityInstance | createActivityInstance(String processDefinitionId, String processInstanceId, String activityDefinitionId, String activityName, JoinInstance join, String blockActivityInstanceId, PersistentIterator blockActivityIterator, int priority, int state, String[] participants) | public AttributeInstance | createActivityInstanceAttribute(String processInstanceId, String activityInstanceId, String attributeName, int attributeType, Object attributeValue) | public ProcessInstance | createProcessInstance(String processDefinitionId, String parentActivityInstanceId, String processInstanceName, int priority, int state, Date createdDate, Date startedDate, String[] participants) | public AttributeInstance | createProcessInstanceAttribute(String processInstanceId, String attributeName, int attributeType, Object attributeValue) | public WorkItem | createWorkItem(String processDefinitionId, String processInstanceId, String activityInstanceId, int toolIndex, int state, String performer, String participant) | public AttributeInstance | createWorkItemAttribute(String processInstanceId, String workItemId, String attributeName, int attributeType, Object attributeValue) | public int | deleteAuditEntries(WMFilter filter) | public void | deleteProcessInstance(String processInstanceId) | public synchronized void | exit() | public ActivityInstance | findActivityInstance(String activityInstanceId) | public ActivityInstance | findActivityInstance(String processInstanceId, String activityDefinitionId, String blockActivityInstanceId) | public AttributeInstance | findActivityInstanceAttribute(String processInstanceId, String activityInstanceId, String attributeName) | public AttributeInstance[] | findActivityInstanceAttributes(String processDefinitionId, String processInstanceId, String activityDefinitionId, String activityInstanceId, WMFilter filter, String attributeName, boolean countFlag) | public ActivityInstance[] | findActivityInstances(String processDefinitionId, String activityDefinitionId, WMFilter filter, boolean countFlag) | public WMAAuditEntry[] | findAuditEntries(WMFilter filter) | public ProcessInstance | findProcessInstance(String processInstanceId) | public AttributeInstance | findProcessInstanceAttribute(String processInstanceId, String attributeName) | public AttributeInstance[] | findProcessInstanceAttributes(String processDefinitionId, String processInstanceId, WMFilter filter, String attrName, boolean countFlag) | public ProcessInstance[] | findProcessInstances(String processDefinitionId, WMFilter filter, boolean countFlag) | public WorkItem | findWorkItem(String processInstanceId, String workItemId) | public AttributeInstance | findWorkItemAttribute(String processInstanceId, String workItemId, String attributeName) | public AttributeInstance[] | findWorkItemAttributes(String processInstanceId, String workItemId, WMFilter filter, boolean countFlag) | public WorkItem[] | findWorkItems(WMFilter filter, boolean countFlag) | protected Log | getLogger() | public String | getServiceName() | public synchronized void | init() | public void | purge() | public synchronized void | store() |
exit | public synchronized void exit()(Code) | | |
getLogger | protected Log getLogger()(Code) | | |
init | public synchronized void init()(Code) | | |
store | public synchronized void store()(Code) | | |
Methods inherited from org.obe.engine.repository.AbstractRepository | protected synchronized void clear()(Code)(Java Doc) protected void createEntry(AbstractMetaData metaData) throws RepositoryException(Code)(Java Doc) protected synchronized Entry createEntry(String key, AbstractMetaData metaData, Object instance) throws RepositoryException(Code)(Java Doc) protected synchronized void deleteEntry(String key) throws RepositoryException(Code)(Java Doc) public synchronized void exit()(Code)(Java Doc) protected Entry[] findEntries()(Code)(Java Doc) protected Entry findEntry(String key, boolean throwException) throws RepositoryException(Code)(Java Doc) protected Object findInstance(String key, boolean throwException) throws RepositoryException(Code)(Java Doc) protected synchronized AbstractMetaData[] findMetaData()(Code)(Java Doc) protected AbstractMetaData findMetaData(String key, boolean throwException) throws RepositoryException(Code)(Java Doc) protected AbstractMetaData findObjectType(String className) throws RepositoryException(Code)(Java Doc) protected AbstractMetaData[] findObjectTypes()(Code)(Java Doc) protected String getConfigurationFileName()(Code)(Java Doc) protected static Log getLog(Class clazz)(Code)(Java Doc) abstract protected Log getLogger()(Code)(Java Doc) final public ServiceManager getServiceManager()(Code)(Java Doc) public synchronized void init() throws IOException, RepositoryException(Code)(Java Doc) public synchronized boolean isInitialized()(Code)(Java Doc) protected synchronized void load() throws RepositoryException, IOException(Code)(Java Doc) protected void registerObjectType(AbstractMetaData objectType) throws ObjectAlreadyExistsException(Code)(Java Doc) public synchronized void store()(Code)(Java Doc) protected Entry updateEntry(String key, AbstractMetaData metaData) throws RepositoryException(Code)(Java Doc) protected synchronized Entry updateEntry(String key, AbstractMetaData metaData, Object implementation) throws RepositoryException(Code)(Java Doc)
|
|
|