Package step.core.imports
Class ImportServices
- java.lang.Object
-
- step.framework.server.AbstractServices<User>
-
- step.core.deployment.AbstractStepServices
-
- step.core.imports.ImportServices
-
@Singleton @Path("import") public class ImportServices extends AbstractStepServices
-
-
Field Summary
-
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
-
Constructor Summary
Constructors Constructor Description ImportServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
importEntity(String entity, String path, boolean importAll, boolean overwrite)
void
init()
-
Methods inherited from class step.core.deployment.AbstractStepServices
getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
-
-
-
-
Method Detail
-
init
@PostConstruct public void init() throws Exception
- Overrides:
init
in classAbstractStepServices
- Throws:
Exception
-
importEntity
@POST @Path("/{entity}") @Consumes("application/json") @Produces("application/json") public Set<String> importEntity(@PathParam("entity") String entity, @QueryParam("path") String path, @QueryParam("importAll") boolean importAll, @QueryParam("overwrite") boolean overwrite) throws Exception
- Throws:
Exception
-
-