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, getUserDao
public ServiceLogic(String activeBpelServicesUrl) throws DaoException
DaoException
public ServiceLogic(String activeBpelServicesUrl, String activeBpelDeployUserId, String activeBpelDeployPassword, String activeBpelDeployBinding) throws DaoException
DaoException
public void clear() throws DaoException, ServiceLogicException
DaoException
ServiceLogicException
public ServiceSearchResult searchServices(int startIndex, int maxCount, String userGridId, String userId, String serviceGridId, boolean acrossGrids, MatchingCondition[] conditions, Order[] orders, Scope scope) throws DaoException, ServiceLogicException
DaoException
ServiceLogicException
public ServiceSearchResult searchServicesOverGrids(int startIndex, int maxCount, String userGridId, String userId, MatchingCondition[] conditions, Order[] orders, Scope scope) throws DaoException, ServiceLogicException
DaoException
ServiceLogicException
public List<Service> listAllServices(String serviceGridId) throws DaoException, ServiceLogicException
DaoException
ServiceLogicException
public void addService(String ownerUserId, Service service, String coreNodeUrl, boolean allowAllAccess) throws DaoException, ServiceLogicException
DaoException
ServiceLogicException
public void deleteService(String serviceGridId, String serviceId) throws DaoException, ServiceLogicException
DaoException
ServiceLogicException
public void deleteServicesOfUser(String userGridId, String userId) throws ServiceLogicException, DaoException
ServiceLogicException
DaoException
public <T> T transactRead(String serviceGridId, String serviceId, jp.go.nict.langrid.commons.lang.block.BlockPR<Service,T> block) throws ServiceLogicException, DaoException
ServiceLogicException
DaoException
public void transactUpdate(String serviceGridId, String serviceId, jp.go.nict.langrid.commons.lang.block.BlockP<Service> block) throws ServiceLogicException, DaoException
ServiceLogicException
DaoException
public 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