public interface GatewayRESTClient
Modifier and Type | Method and Description |
---|---|
GatewayCreateUpdateResponse |
createGateway(GatewayConfiguration gateway)
Create a
Gateway using the details in GatewayConfiguration bean. |
GatewayCreateUpdateResponse |
deleteGateway(java.lang.String key)
Deletes a
Gateway with a specified Id from CentraSite. |
GatewayGetResponse |
getGateway(java.lang.String id)
Gets a Gateway with a specified Id in CentraSite.
|
GatewayGetResponse |
getGateways()
Gets all Gateways that are present in CentraSite.
|
java.util.Map<java.lang.String,java.lang.String> |
unpublishGateway(java.lang.String id,
boolean isForceUnpublish) |
GatewayCreateUpdateResponse |
updateGateway(java.lang.String key,
GatewayConfiguration gateway)
Updates a
Gateway using the details in GatewayConfiguration bean. |
GatewayCreateUpdateResponse createGateway(GatewayConfiguration gateway) throws CLLException
Gateway
using the details in GatewayConfiguration
bean.
This methods does a RESTful invoke to the Gateway create service and returns the Response
to the Caller.gateway
- GatewayConfiguration
bean which has Gateway details.CLLException
GatewayCreateUpdateResponse updateGateway(java.lang.String key, GatewayConfiguration gateway)
Gateway
using the details in GatewayConfiguration
bean.
This methods does a RESTful invoke to the Gateway create service and returns the Response
to the Caller.key
- String
Unique Identifier to the Gateway.gateway
- GatewayConfiguration
bean which has Gateway details.GatewayGetResponse getGateways()
GatewayGetResponse
to the caller.GatewayGetResponse
bean which has details of the Gateways.GatewayGetResponse getGateway(java.lang.String id)
GatewayGetResponse
to the caller.Id
- of the GatewayGatewayGetResponse
bean which has details of the Gateways.GatewayCreateUpdateResponse deleteGateway(java.lang.String key)
Gateway
with a specified Id from CentraSite.Id
- of the Gateway.GatewayCreateUpdateResponse
bean which has the result of the operation.java.util.Map<java.lang.String,java.lang.String> unpublishGateway(java.lang.String id, boolean isForceUnpublish) throws CLLException
CLLException