public class HibernateServiceDao extends HibernateCRUDDao<Service> implements ServiceDao
HibernateDao.DaoBlock, HibernateDao.DaoBlockR<R>| Constructor and Description |
|---|
HibernateServiceDao(HibernateDaoContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addService(Service service) |
void |
clear() |
void |
clearDetachedInvocations() |
void |
deleteService(String serviceGridId,
String serviceId) |
void |
deleteServicesOfGrid(String gridId) |
void |
deleteServicesOfUser(String userGridId,
String userId) |
void |
evictService(Service service) |
Service |
getService(String serviceGridId,
String serviceId) |
InputStream |
getServiceInstance(String serviceGridId,
String serviceId) |
InputStream |
getServiceWsdl(String serviceGridId,
String serviceId) |
boolean |
isServiceExist(String serviceGridId,
String serviceId) |
List<Service> |
listAllServices(String serviceGridId) |
List<BPELService> |
listParentServicesOf(String gridId,
String serviceId) |
List<Service> |
listServicesOfUser(String userGridId,
String userId) |
ServiceSearchResult |
searchServices(int startIndex,
int maxCount,
String serviceGridId,
boolean acrossGrids,
MatchingCondition[] conditions,
Order[] orders) |
ServiceStatRankingSearchResult |
searchServiceStatRanking(int startIndex,
int maxCount,
String serviceGridId,
String nodeId,
boolean acrossGrids,
MatchingCondition[] conditions,
int sinceDays,
Order[] orders) |
add, add, clearEach, createCriteria, createDeleteQuery, delete, delete, exists, get, getOrNull, list, updatecreateDeleteQuery, createDeleteQuery, deleteEntities, getContext, getSession, logAdditionalInfo, logWhenRollbacking, transact, transactpublic HibernateServiceDao(HibernateDaoContext context)
public void clear()
throws DaoException
clear in interface ServiceDaoclear in class HibernateCRUDDao<Service>DaoExceptionpublic void clearDetachedInvocations()
throws DaoException
clearDetachedInvocations in interface ServiceDaoDaoExceptionpublic List<Service> listAllServices(String serviceGridId) throws DaoException
listAllServices in interface ServiceDaoDaoExceptionpublic List<Service> listServicesOfUser(String userGridId, String userId) throws DaoException
listServicesOfUser in interface ServiceDaoDaoExceptionpublic List<BPELService> listParentServicesOf(String gridId, String serviceId) throws DaoException
listParentServicesOf in interface ServiceDaoDaoExceptionpublic ServiceSearchResult searchServices(int startIndex, int maxCount, String serviceGridId, boolean acrossGrids, MatchingCondition[] conditions, Order[] orders) throws DaoException
searchServices in interface ServiceDaoDaoExceptionpublic ServiceStatRankingSearchResult searchServiceStatRanking(int startIndex, int maxCount, String serviceGridId, String nodeId, boolean acrossGrids, MatchingCondition[] conditions, int sinceDays, Order[] orders) throws DaoException
searchServiceStatRanking in interface ServiceDaoDaoExceptionpublic void addService(Service service) throws DaoException, ServiceAlreadyExistsException
addService in interface ServiceDaoDaoExceptionServiceAlreadyExistsExceptionpublic void deleteService(String serviceGridId, String serviceId) throws ServiceNotFoundException, DaoException
deleteService in interface ServiceDaoServiceNotFoundExceptionDaoExceptionpublic void deleteServicesOfGrid(String gridId) throws DaoException
deleteServicesOfGrid in interface ServiceDaoDaoExceptionpublic void deleteServicesOfUser(String userGridId, String userId) throws DaoException
deleteServicesOfUser in interface ServiceDaoDaoExceptionpublic Service getService(String serviceGridId, String serviceId) throws ServiceNotFoundException, DaoException
getService in interface ServiceDaoServiceNotFoundExceptionDaoExceptionpublic boolean isServiceExist(String serviceGridId, String serviceId) throws DaoException
isServiceExist in interface ServiceDaoDaoExceptionpublic InputStream getServiceInstance(String serviceGridId, String serviceId) throws DaoException, ServiceNotFoundException
getServiceInstance in interface ServiceDaoDaoExceptionServiceNotFoundExceptionpublic InputStream getServiceWsdl(String serviceGridId, String serviceId) throws DaoException, ServiceNotFoundException
getServiceWsdl in interface ServiceDaoDaoExceptionServiceNotFoundExceptionpublic void evictService(Service service) throws DaoException
DaoException