Class AbstractEntityServices<T extends step.core.accessors.AbstractIdentifiableObject>
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.core.deployment.AbstractStepAsyncServices
step.controller.services.entities.AbstractEntityServices<T>
- Direct Known Subclasses:
AbtractFunctionServices
,DockerRegistryServices
,ParameterServices
,PlanServices
,SchedulerServices
public abstract class AbstractEntityServices<T extends step.core.accessors.AbstractIdentifiableObject>
extends AbstractStepAsyncServices
-
Nested Class Summary
-
Field Summary
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected T
beforeSave
(T entity) AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport>
bulkDelete
(step.framework.server.tables.service.bulk.TableBulkOperationRequest request) AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport>
cloneEntities
(step.framework.server.tables.service.bulk.TableBulkOperationRequest request) protected T
cloneEntity
(T entity) void
findManyByAttributes
(Map<String, String> attributes) getVersions
(String id) void
init()
step.framework.server.tables.service.TableResponse<T>
request
(step.framework.server.tables.service.TableRequest request) restoreVersion
(String id, String versionId) 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
Methods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Constructor Details
-
AbstractEntityServices
-
-
Method Details
-
init
- Overrides:
init
in classAbstractStepAsyncServices
- Throws:
Exception
-
get
-
findManyByAttributes
-
delete
-
cloneEntities
@POST @Path("/bulk/clone") @Consumes("application/json") public AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport> cloneEntities(step.framework.server.tables.service.bulk.TableBulkOperationRequest request) -
save
-
clone
-
cloneEntity
-
beforeSave
-
bulkDelete
@POST @Path("/bulk/delete") @Consumes("application/json") public AsyncTaskStatus<step.framework.server.tables.service.bulk.TableBulkOperationReport> bulkDelete(step.framework.server.tables.service.bulk.TableBulkOperationRequest request) -
request
@POST @Path("/table") @Consumes("application/json") @Produces("application/json") public step.framework.server.tables.service.TableResponse<T> request(step.framework.server.tables.service.TableRequest request) throws step.framework.server.tables.service.TableServiceException - Throws:
step.framework.server.tables.service.TableServiceException
-
getVersions
@GET @Path("/{id}/versions") @Produces("application/json") public List<AbstractEntityServices.History> getVersions(@PathParam("id") String id) -
restoreVersion
-