Class EntityRemoteIteratorRest
- java.lang.Object
-
- de.aristaflow.ilm.ws.rest.base.service.AbstractSubResource<AddDataTransformatorRemoteIteratorWebService<?,WI,?,?,NI>>
-
- de.aristaflow.ilm.ws.rest.model.common.collection.RemoteIteratorRest<Entity,EntityRemoteIteratorData>
-
- de.aristaflow.ilm.ws.rest.model.orgmodel.EntityRemoteIteratorRest
-
@Produces("application/json") @Consumes("application/json") public class EntityRemoteIteratorRest extends RemoteIteratorRest<Entity,EntityRemoteIteratorData>
- See Also:
RemoteIteratorRest
-
-
Constructor Summary
Constructors Constructor Description EntityRemoteIteratorRest(EntityRemoteIteratorWebService service, de.aristaflow.adept2.base.communication.rest.RequestHandler reqHandler, de.aristaflow.adept2.base.communication.rest.ResponseHandler respHandler, de.aristaflow.adept2.base.communication.rest.ExceptionHandler excpHandler, de.aristaflow.adept2.base.communication.rest.ServiceResourceConfig srConf, Supplier<com.fasterxml.jackson.databind.ObjectMapper> objectMapper, UnaryOperator<Exception> headerDataExcpAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close(UUID iteratorId)
This method is public to allow for inheriting theOperationResponse
annotations.EntityRemoteIteratorData
getNext(UUID iteratorId, Integer count, Integer start)
This method is public to allow for inheriting theOperationResponse
annotations.EntityRemoteIteratorData
getPrevious(UUID iteratorId, Integer count)
This method is public to allow for inheriting theOperationResponse
annotations.Long
keepAlive(UUID iteratorId, Long aliveTime)
This method is public to allow for inheriting theOperationResponse
annotations.-
Methods inherited from class de.aristaflow.ilm.ws.rest.model.common.collection.RemoteIteratorRest
initIteratorAndRespStatus
-
Methods inherited from class de.aristaflow.ilm.ws.rest.base.service.AbstractSubResource
adaptHeaderData, ensureReqMaxVersion, ensureReqMinVersion, getExceptionHandler, getLogger, getObjectMapper, getRequestHandler, getResponseHandler, getServiceResourceConfig, getWebService
-
-
-
-
Constructor Detail
-
EntityRemoteIteratorRest
public EntityRemoteIteratorRest(EntityRemoteIteratorWebService service, de.aristaflow.adept2.base.communication.rest.RequestHandler reqHandler, de.aristaflow.adept2.base.communication.rest.ResponseHandler respHandler, de.aristaflow.adept2.base.communication.rest.ExceptionHandler excpHandler, de.aristaflow.adept2.base.communication.rest.ServiceResourceConfig srConf, Supplier<com.fasterxml.jackson.databind.ObjectMapper> objectMapper, UnaryOperator<Exception> headerDataExcpAdapter)
-
-
Method Detail
-
getNext
@GET @Path("/{iteratorId}/next") public EntityRemoteIteratorData getNext(@PathParam("iteratorId") UUID iteratorId, @QueryParam("count") Integer count, @QueryParam("start") Integer start)
Description copied from class:RemoteIteratorRest
This method is public to allow for inheriting theOperationResponse
annotations.- Overrides:
getNext
in classRemoteIteratorRest<Entity,EntityRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.getNext(UUID, Integer, Integer)
-
getPrevious
@GET @Path("/{iteratorId}/previous") public EntityRemoteIteratorData getPrevious(@PathParam("iteratorId") UUID iteratorId, @QueryParam("count") Integer count)
Description copied from class:RemoteIteratorRest
This method is public to allow for inheriting theOperationResponse
annotations.- Overrides:
getPrevious
in classRemoteIteratorRest<Entity,EntityRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.getPrevious(UUID, Integer)
-
keepAlive
@GET @Path("/{iteratorId}/remaining-alive-time") public Long keepAlive(@PathParam("iteratorId") UUID iteratorId, @QueryParam("aliveTime") Long aliveTime)
Description copied from class:RemoteIteratorRest
This method is public to allow for inheriting theOperationResponse
annotations.- Overrides:
keepAlive
in classRemoteIteratorRest<Entity,EntityRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.keepAlive(UUID, Long)
-
close
@DELETE @Path("/{iteratorId}") public void close(@PathParam("iteratorId") UUID iteratorId)
Description copied from class:RemoteIteratorRest
This method is public to allow for inheriting theOperationResponse
annotations.- Overrides:
close
in classRemoteIteratorRest<Entity,EntityRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.close(UUID)
-
-