Class WorkflowTaskMigrationServiceImpl
- java.lang.Object
-
- io.tesler.core.crudma.impl.AbstractResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
-
- io.tesler.source.services.data.impl.WorkflowTaskMigrationServiceImpl
-
- All Implemented Interfaces:
ResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
,WorkflowTaskMigrationService
@Service public class WorkflowTaskMigrationServiceImpl extends AbstractResponseService<WorkflowTaskMigrationDto,WorkflowableTask> implements WorkflowTaskMigrationService
-
-
Field Summary
-
Fields inherited from class io.tesler.core.crudma.impl.AbstractResponseService
applicationContext, baseDAO, bcSpecificationHolder, linkSpecificationHolder, parentSpec, preActionConditionHolderAssoc, preActionConditionHolderDataResponse, securitySpecificationHolder, typeOfDTO, typeOfEntity
-
-
Constructor Summary
Constructors Constructor Description WorkflowTaskMigrationServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
count(BaseDAO dao, BusinessComponent bc)
Actions<WorkflowTaskMigrationDto>
getActions()
Returns actions for entity with conditions of their availability invoked by method getAvailableActionsprotected String
getFetchGraphName(BusinessComponent bc)
ResultPage<WorkflowTaskMigrationDto>
getList(BaseDAO dao, BusinessComponent bc)
WorkflowableTask
getOneAsEntity(BusinessComponent bc)
Returns an entity based on a business componentprotected org.springframework.data.jpa.domain.Specification<WorkflowableTask>
getParentSpecification(BusinessComponent bc)
ActionResultDTO<WorkflowTaskMigrationDto>
updateEntity(BusinessComponent bc, DataResponseDTO data)
Updates an entity based on a business component by DTO-
Methods inherited from class io.tesler.core.crudma.impl.AbstractResponseService
associate, cast, count, count, createEntity, deleteEntity, doAssociate, doGetOne, dtoListToResultPage, entitiesToDtos, entityListToResultPage, entityToDto, getAssociatedSsNames, getAvailableActions, getBcSpecification, getFetchGraph, getFieldMetaBuilder, getLinkSpecification, getList, getList, getOne, getPageEntities, getPreActionsForSave, getSecuritySpecification, getSpecification, hasPersister, invokeAction, isDeferredCreationSupported, isExist, loadEntity, onCancel, preview, unwrap, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.tesler.core.service.ResponseService
associate, count, createEntity, deleteEntity, getAvailableActions, getFieldMetaBuilder, getList, getOne, getTypeOfDTO, getTypeOfEntity, hasPersister, invokeAction, isDeferredCreationSupported, onCancel, preview, unwrap, validate
-
-
-
-
Method Detail
-
getFetchGraphName
protected String getFetchGraphName(BusinessComponent bc)
- Overrides:
getFetchGraphName
in classAbstractResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
-
getOneAsEntity
public WorkflowableTask getOneAsEntity(BusinessComponent bc)
Description copied from interface:ResponseService
Returns an entity based on a business component- Specified by:
getOneAsEntity
in interfaceResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
- Overrides:
getOneAsEntity
in classAbstractResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
- Parameters:
bc
- businessComponent- Returns:
BaseEntity
entity
-
getList
public ResultPage<WorkflowTaskMigrationDto> getList(BaseDAO dao, BusinessComponent bc)
- Overrides:
getList
in classAbstractResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
-
count
public long count(BaseDAO dao, BusinessComponent bc)
- Overrides:
count
in classAbstractResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
-
getParentSpecification
protected org.springframework.data.jpa.domain.Specification<WorkflowableTask> getParentSpecification(BusinessComponent bc)
- Overrides:
getParentSpecification
in classAbstractResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
-
updateEntity
public ActionResultDTO<WorkflowTaskMigrationDto> updateEntity(BusinessComponent bc, DataResponseDTO data)
Description copied from interface:ResponseService
Updates an entity based on a business component by DTO- Specified by:
updateEntity
in interfaceResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
- Overrides:
updateEntity
in classAbstractResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
- Parameters:
bc
- businessComponentdata
- information about entity, it's changed fields, errors- Returns:
ActionResultDTO
class with DataResponseDTO and postactions
-
getActions
public Actions<WorkflowTaskMigrationDto> getActions()
Description copied from interface:ResponseService
Returns actions for entity with conditions of their availability invoked by method getAvailableActions- Specified by:
getActions
in interfaceResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
- Overrides:
getActions
in classAbstractResponseService<WorkflowTaskMigrationDto,WorkflowableTask>
- Returns:
AssociateResultDTO
class with DataResponseDTO and postactions
-
-