01: package org.obe.server.j2ee.repository;
02:
03: import java.util.Collection;
04: import java.util.Date;
05: import javax.ejb.FinderException;
06: import org.obe.client.api.repository.RepositoryException;
07: import org.wfmc.wapi.WMFilter;
08:
09: /**
10: * Abstraction for ProcessDefinitionLocalHome and ProcessDefinitionROLocalHome.
11: * @author Adrian Price
12: */
13: public interface ProcessDefinitionROHome {
14: Collection findAll() throws FinderException;
15:
16: int count(WMFilter filter) throws RepositoryException;
17:
18: Collection findByName(String name) throws FinderException;
19:
20: Collection findByName(String name, Date when)
21: throws FinderException;
22:
23: Collection xfindByFilter(WMFilter filter) throws FinderException,
24: RepositoryException;
25: }
|