Class RemoteCollectionServices<T>

java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.plugins.remote.RemoteCollectionServices<T>

@Singleton @Path("remote") public class RemoteCollectionServices<T> extends AbstractStepServices
  • Field Details

    • collectionFactory

      protected step.core.collections.CollectionFactory collectionFactory
    • entityManager

      protected EntityManager entityManager
  • Constructor Details

    • RemoteCollectionServices

      public RemoteCollectionServices()
  • Method Details

    • init

      @PostConstruct public void init() throws Exception
      Overrides:
      init in class AbstractStepServices
      Throws:
      Exception
    • destroy

      @PreDestroy public void destroy()
    • count

      @POST @Path("/{id}/count") @Produces("application/json") @Consumes("application/json") public jakarta.ws.rs.core.Response count(@PathParam("id") String collectionId, CountRequest countRequest)
    • countEstimated

      @GET @Path("/{id}/count/estimated") @Produces("application/json") public jakarta.ws.rs.core.Response countEstimated(@PathParam("id") String collectionId)
    • find

      @POST @Path("/{id}/find") @Produces("application/json") @Consumes("application/json") public jakarta.ws.rs.core.Response find(@PathParam("id") String collectionId, FindRequest findRequest)
    • distinctPost

      @POST @Path("/{id}/distinct/{columnName}") @Produces("application/json") @Consumes("application/json") public List<String> distinctPost(@PathParam("id") String collectionId, @PathParam("columnName") String columnName, step.core.collections.Filter filter)
    • delete

      @POST @Path("/{id}/remove") @Consumes("application/json") public void delete(@PathParam("id") String collectionId, step.core.collections.Filter filter)
    • save

      @POST @Path("/{id}/save") @Produces("application/json") @Consumes("application/json") public jakarta.ws.rs.core.Response save(@PathParam("id") String collectionId, T entity)
    • saveBulk

      @POST @Path("/{id}/saveMany") @Consumes("application/json") public void saveBulk(@PathParam("id") String collectionId, List<T> entities)