public class ExternalServiceManagement extends AbstractLangridService implements ExternalServiceManagementService
| Constructor and Description |
|---|
ExternalServiceManagement()
Constructor.
|
ExternalServiceManagement(ServiceContext serviceContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addActualEndpoint(String serviceId,
Endpoint endpoint)
Adds an endpoint.
|
void |
deleteActualEndpoint(String serviceId,
String url,
String userName)
Deletes endpoint.
|
void |
disableActualEndpoint(String serviceId,
String url,
String userName)
Invalidates an endpoint.
|
void |
enableActualEndpoint(String serviceId,
String url,
String userName)
Validates an endpoint.
|
Endpoint[] |
listActualEndpoints(String serviceId)
Gets a list of the endpoints of the specified service.
|
adjustDateFieldName, adjustDateFieldName, convert, convertException, convertException, convertException, convertException, convertException, convertException, convertException, convertException, convertException, convertUserOrder, copyAttributes, copyAttributes, copyProperties, getAccessLimitDao, getAccessLogDao, getAccessRightDao, getAccessStateDao, getConverter, getCoreNodeUrl, getDaoContext, getDaoFactory, getDefaultGridId, getFederationDao, getGridDao, getGridId, getNodeDao, getOverUseLimitDao, getOverUseStateDao, getResourceDao, getServiceContext, getServiceDao, getServiceDeploymentDao, getServiceLogic, getSystemPropertyDao, getTargetServiceIds, getTemporaryUserDao, getUserChecker, getUserDao, getUserLogic, unsetFactorypublic ExternalServiceManagement()
public ExternalServiceManagement(ServiceContext serviceContext)
serviceContext - Service context@ValidatedMethod @AccessRightValidatedMethod(policy=SERVICEOWNER_OR_ADMIN, argNames="serviceId") @TransactionMethod public Endpoint[] listActualEndpoints(@NotEmpty@ValidServiceId String serviceId) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, ServiceNotFoundException, UnknownException
ExternalServiceManagementServicelistActualEndpoints in interface ExternalServiceManagementServiceserviceId - Service IDAccessLimitExceededException - Violated an access restrictionInvalidParameterException - An invalid parameter was passedNoAccessPermissionException - The user executing the call lacks execution privilegesServiceConfigurationException - The service is not set up appropriatelyServiceNotFoundException - The specified service was not foundUnknownException - Process failed for an unknown reason@ValidatedMethod @AccessRightValidatedMethod(policy=SERVICEOWNER_OR_ADMIN, argNames="serviceId") @TransactionMethod public void addActualEndpoint(@NotEmpty@ValidServiceId String serviceId, @NotNull@FieldNotNull(name="userName") Endpoint endpoint) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, ServiceNotFoundException, UnknownException
ExternalServiceManagementServiceaddActualEndpoint in interface ExternalServiceManagementServiceserviceId - Service IDendpoint - EndpointAccessLimitExceededException - Violated an access restrictionInvalidParameterException - An invalid parameter was passedNoAccessPermissionException - The user executing the call lacks execution privilegesServiceConfigurationException - The service is not set up appropriatelyServiceNotFoundException - The specified service was not foundUnknownException - Process failed for an unknown reason@ValidatedMethod @AccessRightValidatedMethod(policy=SERVICEOWNER_OR_ADMIN, argNames="serviceId") @TransactionMethod public void deleteActualEndpoint(@NotEmpty@ValidServiceId String serviceId, @NotEmpty String url, @NotNull String userName) throws AccessLimitExceededException, EndpointNotFoundException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, ServiceNotFoundException, UnknownException
ExternalServiceManagementServicedeleteActualEndpoint in interface ExternalServiceManagementServiceserviceId - Service IDurl - The URL of the endpointuserName - Username for BASIC authentication at the endpointAccessLimitExceededException - Violated an access restrictionEndpointNotFoundException - The endpoint could not be foundInvalidParameterException - An invalid parameter was passedNoAccessPermissionException - The user executing the call lacks execution privilegesServiceConfigurationException - The service is not set up appropriatelyServiceNotFoundException - The specified service was not foundUnknownException - Process failed for an unknown reason@ValidatedMethod @AccessRightValidatedMethod(policy=SERVICEOWNER_OR_ADMIN, argNames="serviceId") @TransactionMethod public void enableActualEndpoint(@NotEmpty@ValidServiceId String serviceId, @NotEmpty String url, @NotNull String userName) throws AccessLimitExceededException, EndpointNotFoundException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, ServiceNotFoundException, UnknownException
ExternalServiceManagementServiceenableActualEndpoint in interface ExternalServiceManagementServiceserviceId - Service IDurl - The URL of the endpointuserName - Username for BASIC authentication at the endpointAccessLimitExceededException - Violated an access restrictionEndpointNotFoundException - The endpoint could not be foundInvalidParameterException - An invalid parameter was passedNoAccessPermissionException - The user executing the call lacks execution privilegesServiceConfigurationException - The service is not set up appropriatelyServiceNotFoundException - The specified service was not foundUnknownException - Process failed for an unknown reason@ValidatedMethod @AccessRightValidatedMethod(policy=SERVICEOWNER_OR_ADMIN, argNames="serviceId") @TransactionMethod public void disableActualEndpoint(@NotEmpty@ValidServiceId String serviceId, @NotEmpty String url, @NotNull String userName) throws AccessLimitExceededException, EndpointNotFoundException, InvalidParameterException, NoAccessPermissionException, ServiceConfigurationException, ServiceNotFoundException, UnknownException
ExternalServiceManagementServicedisableActualEndpoint in interface ExternalServiceManagementServiceserviceId - Service IDurl - The URL of the endpointuserName - Username for BASIC authentication at the endpointAccessLimitExceededException - Violated an access restrictionEndpointNotFoundException - The endpoint could not be foundInvalidParameterException - An invalid parameter was passedNoAccessPermissionException - The user executing the call lacks execution privilegesServiceConfigurationException - The service is not set up appropriatelyServiceNotFoundException - The specified service was not foundUnknownException - Process failed for an unknown reason