public class ServiceLogic extends AbstractLogic
| Constructor and Description |
|---|
ServiceLogic(String activeBpelServicesUrl) |
ServiceLogic(String activeBpelServicesUrl,
String activeBpelDeployUserId,
String activeBpelDeployPassword,
String activeBpelDeployBinding) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateService(String serviceGridId,
String serviceId) |
void |
addService(String ownerUserId,
Service service,
String coreNodeUrl,
boolean allowAllAccess) |
void |
clear() |
void |
deactivateService(String serviceGridId,
String serviceId) |
void |
deleteService(String serviceGridId,
String serviceId) |
void |
deleteServicesOfUser(String userGridId,
String userId) |
Invocation[] |
getExternalInvocations(String serviceGridId,
String serviceId) |
byte[] |
getServiceTypeWsdl(String coreNodeUrl,
String domainId,
String serviceTypeId,
String serviceGridId) |
byte[] |
getServiceWsdl(String coreNodeUrl,
String serviceGridId,
String serviceId) |
boolean |
isServiceActive(String serviceGridId,
String serviceId) |
boolean |
isServiceVisible(String serviceGridId,
String serviceId) |
List<Service> |
listAllServices(String serviceGridId) |
void |
restartService(String serviceGridId,
String serviceId) |
ServiceSearchResult |
searchServices(int startIndex,
int maxCount,
String userGridId,
String userId,
String serviceGridId,
boolean acrossGrids,
MatchingCondition[] conditions,
Order[] orders,
Scope scope) |
ServiceSearchResult |
searchServicesOverGrids(int startIndex,
int maxCount,
String userGridId,
String userId,
MatchingCondition[] conditions,
Order[] orders,
Scope scope) |
void |
setServiceVisible(String serviceGridId,
String serviceId,
boolean visible) |
<T> T |
transactRead(String serviceGridId,
String serviceId,
jp.go.nict.langrid.commons.lang.block.BlockPR<Service,T> block) |
void |
transactUpdate(String serviceGridId,
String serviceId,
jp.go.nict.langrid.commons.lang.block.BlockP<Service> block) |
getAccessLimitDao, getAccessLogDao, getAccessRightDao, getAccessStateDao, getDaoContext, getDaoFactory, getDomainDao, getFederationDao, getGridDao, getInvocationDao, getNewsDao, getNodeDao, getOperationRequestDao, getOverUseLimitDao, getOverUseStateDao, getProtocolDao, getResourceDao, getResourceTypeDao, getScheduleDao, getServiceDao, getServiceDeploymentDao, getServiceTypeDao, getSystemPropertyDao, getTemporaryUserDao, getUserDaopublic ServiceLogic(String activeBpelServicesUrl) throws DaoException
DaoExceptionpublic ServiceLogic(String activeBpelServicesUrl, String activeBpelDeployUserId, String activeBpelDeployPassword, String activeBpelDeployBinding) throws DaoException
DaoExceptionpublic void clear()
throws DaoException,
ServiceLogicException
DaoExceptionServiceLogicExceptionpublic ServiceSearchResult searchServices(int startIndex, int maxCount, String userGridId, String userId, String serviceGridId, boolean acrossGrids, MatchingCondition[] conditions, Order[] orders, Scope scope) throws DaoException, ServiceLogicException
DaoExceptionServiceLogicExceptionpublic ServiceSearchResult searchServicesOverGrids(int startIndex, int maxCount, String userGridId, String userId, MatchingCondition[] conditions, Order[] orders, Scope scope) throws DaoException, ServiceLogicException
DaoExceptionServiceLogicExceptionpublic List<Service> listAllServices(String serviceGridId) throws DaoException, ServiceLogicException
DaoExceptionServiceLogicExceptionpublic void addService(String ownerUserId, Service service, String coreNodeUrl, boolean allowAllAccess) throws DaoException, ServiceLogicException
DaoExceptionServiceLogicExceptionpublic void deleteService(String serviceGridId, String serviceId) throws DaoException, ServiceLogicException
DaoExceptionServiceLogicExceptionpublic void deleteServicesOfUser(String userGridId, String userId) throws ServiceLogicException, DaoException
ServiceLogicExceptionDaoExceptionpublic <T> T transactRead(String serviceGridId, String serviceId, jp.go.nict.langrid.commons.lang.block.BlockPR<Service,T> block) throws ServiceLogicException, DaoException
ServiceLogicExceptionDaoExceptionpublic void transactUpdate(String serviceGridId, String serviceId, jp.go.nict.langrid.commons.lang.block.BlockP<Service> block) throws ServiceLogicException, DaoException
ServiceLogicExceptionDaoExceptionpublic byte[] getServiceWsdl(String coreNodeUrl, String serviceGridId, String serviceId) throws ServiceNotFoundException, DaoException, ServiceLogicException
public byte[] getServiceTypeWsdl(String coreNodeUrl, String domainId, String serviceTypeId, String serviceGridId) throws ServiceTypeNotFoundException, DaoException, ServiceLogicException
public void activateService(String serviceGridId, String serviceId) throws ServiceNotActivatableException, ServiceLogicException, DaoException
public void restartService(String serviceGridId, String serviceId) throws ServiceNotActivatableException, ServiceLogicException, DaoException
public void deactivateService(String serviceGridId, String serviceId) throws ServiceLogicException, ServiceNotFoundException, DaoException
public boolean isServiceActive(String serviceGridId, String serviceId) throws ServiceNotFoundException, DaoException, ServiceLogicException
public Invocation[] getExternalInvocations(String serviceGridId, String serviceId) throws ServiceNotFoundException, DaoException, ServiceLogicException
public boolean isServiceVisible(String serviceGridId, String serviceId) throws ServiceNotFoundException, DaoException, ServiceLogicException
public void setServiceVisible(String serviceGridId, String serviceId, boolean visible) throws ServiceNotFoundException, DaoException, ServiceLogicException