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
FieldsModifier and TypeFieldDescriptionprotected step.core.collections.CollectionFactoryprotected EntityManagerFields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsecount(String collectionId, CountRequest countRequest) jakarta.ws.rs.core.ResponsecountEstimated(String collectionId) voidvoiddestroy()distinctPost(String collectionId, String columnName, step.core.collections.Filter filter) jakarta.ws.rs.core.Responsefind(String collectionId, FindRequest findRequest) voidinit()jakarta.ws.rs.core.ResponsevoidMethods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getSchedulerMethods 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:
initin 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
-