Package step.plugins.housekeeping
Class HousekeepingServices
- java.lang.Object
-
- step.framework.server.AbstractServices<step.core.access.User>
-
- step.core.deployment.AbstractStepServices
-
- step.core.deployment.AbstractStepAsyncServices
-
- step.plugins.housekeeping.HousekeepingServices
-
@Singleton @Path("housekeeping") public class HousekeepingServices extends step.core.deployment.AbstractStepAsyncServices
-
-
Field Summary
Fields Modifier and Type Field Description protected step.core.execution.model.ExecutionAccessorexecutionAccessorprotected HousekeepingManagerhousekeepingManager
-
Constructor Summary
Constructors Constructor Description HousekeepingServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteExecution(java.lang.String id)step.controller.services.async.AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport>deleteExecutions(step.framework.server.tables.service.bulk.TableBulkOperationRequest request)voidinit()step.controller.services.async.AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport>protectExecutions(step.framework.server.tables.service.bulk.TableBulkOperationRequest request)voidsetExecutionDescription(java.lang.String id, java.lang.String description)voidsetExecutionProtection(java.lang.String id, boolean protection)step.controller.services.async.AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport>unprotectExecutions(step.framework.server.tables.service.bulk.TableBulkOperationRequest request)-
Methods inherited from class step.core.deployment.AbstractStepAsyncServices
getSession, scheduleAsyncTaskWithinSessionContext, setCurrentSession
-
Methods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
-
-
-
-
Field Detail
-
housekeepingManager
protected HousekeepingManager housekeepingManager
-
executionAccessor
protected step.core.execution.model.ExecutionAccessor executionAccessor
-
-
Method Detail
-
init
@PostConstruct public void init() throws java.lang.Exception- Overrides:
initin classstep.core.deployment.AbstractStepAsyncServices- Throws:
java.lang.Exception
-
setExecutionProtection
@POST @Consumes("application/json") @Path("/execution/{id}/protection") public void setExecutionProtection(@PathParam("id") java.lang.String id, boolean protection)
-
setExecutionDescription
@POST @Consumes("application/json") @Path("/execution/{id}/description") public void setExecutionDescription(@PathParam("id") java.lang.String id, java.lang.String description)
-
deleteExecution
@DELETE @Consumes("application/json") @Path("/execution/{id}") public void deleteExecution(@PathParam("id") java.lang.String id) throws ProtectedDataException- Throws:
ProtectedDataException
-
deleteExecutions
@DELETE @Consumes("application/json") @Path("/executions/bulk") public step.controller.services.async.AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport> deleteExecutions(step.framework.server.tables.service.bulk.TableBulkOperationRequest request)
-
protectExecutions
@POST @Consumes("application/json") @Path("/executions/bulk/protect") public step.controller.services.async.AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport> protectExecutions(step.framework.server.tables.service.bulk.TableBulkOperationRequest request)
-
unprotectExecutions
@POST @Consumes("application/json") @Path("/executions/bulk/unprotect") public step.controller.services.async.AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport> unprotectExecutions(step.framework.server.tables.service.bulk.TableBulkOperationRequest request)
-
-