public class JsonicServiceDao extends Object implements ServiceDao
| Constructor and Description |
|---|
JsonicServiceDao(JsonicDaoContext 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) |
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) |
public JsonicServiceDao(JsonicDaoContext context)
public void clear()
throws DaoException
clear in interface ServiceDaoDaoExceptionpublic 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 ServiceDaoDaoExceptionServiceNotFoundException