Package step.core.export
Class ExportServices
- java.lang.Object
-
- step.framework.server.AbstractServices<User>
-
- step.core.deployment.AbstractStepServices
-
- step.core.export.ExportServices
-
@Singleton @Path("export") public class ExportServices extends AbstractStepServices
-
-
Field Summary
-
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
-
Constructor Summary
Constructors Constructor Description ExportServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncTaskStatus<Resource>exportEntities(String entity, boolean recursively, String filename, List<String> additionalEntities)AsyncTaskStatus<Resource>exportEntityById(String entity, String id, boolean recursively, String filename, List<String> additionalEntities)voidinit()-
Methods inherited from class step.core.deployment.AbstractStepServices
getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
-
-
-
-
Method Detail
-
init
@PostConstruct public void init() throws Exception- Overrides:
initin classAbstractStepServices- Throws:
Exception
-
exportEntityById
@GET @Path("/{entity}/{id}") @Consumes("application/json") @Produces("application/json") public AsyncTaskStatus<Resource> exportEntityById(@PathParam("entity") String entity, @PathParam("id") String id, @QueryParam("recursively") boolean recursively, @QueryParam("filename") String filename, @QueryParam("additionalEntities") List<String> additionalEntities)
-
exportEntities
@GET @Path("/{entity}") @Consumes("application/json") @Produces("application/json") public AsyncTaskStatus<Resource> exportEntities(@PathParam("entity") String entity, @QueryParam("recursively") boolean recursively, @QueryParam("filename") String filename, @QueryParam("additionalEntities") List<String> additionalEntities)
-
-