Package step.plugins.remote
Class RemoteCollectionServices<T>
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.plugins.remote.RemoteCollectionServices<T>
-
Field Summary
Modifier and TypeFieldDescriptionprotected step.core.collections.CollectionFactory
protected EntityManager
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
count
(String collectionId, CountRequest countRequest) jakarta.ws.rs.core.Response
countEstimated
(String collectionId) void
void
destroy()
distinctPost
(String collectionId, String columnName, step.core.collections.Filter filter) jakarta.ws.rs.core.Response
find
(String collectionId, FindRequest findRequest) void
init()
jakarta.ws.rs.core.Response
void
Methods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
Methods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Field Details
-
collectionFactory
protected step.core.collections.CollectionFactory collectionFactory -
entityManager
-
-
Constructor Details
-
RemoteCollectionServices
public RemoteCollectionServices()
-
-
Method Details
-
init
- Overrides:
init
in classAbstractStepServices
- 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
-
delete
@POST @Path("/{id}/remove") @Consumes("application/json") public void delete(@PathParam("id") String collectionId, step.core.collections.Filter filter) -
save
-
saveBulk
-