public abstract class BaseWorkflowPostFunctionServiceImpl<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction> extends VersionAwareResponseService<D,E>
applicationContext, baseDAO, bcSpecificationHolder, linkSpecificationHolder, parentSpec, preActionConditionHolderAssoc, preActionConditionHolderDataResponse, securitySpecificationHolder, typeOfDTO, typeOfEntity| Constructor and Description |
|---|
BaseWorkflowPostFunctionServiceImpl(Class<D> typeOfDTO,
Class<E> typeOfEntity,
javax.persistence.metamodel.SingularAttribute<? super E,? extends io.tesler.model.core.entity.BaseEntity> parentSpec,
Class<? extends FieldMetaBuilder<D>> metaBuilder) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract E |
create(BusinessComponent bc) |
ActionResultDTO<D> |
deleteEntity(BusinessComponent bc) |
protected CreateResult<D> |
doCreateEntity(E entity,
BusinessComponent bc) |
protected ActionResultDTO<D> |
doUpdateEntity(E entity,
D dto,
BusinessComponent bc) |
Actions<D> |
getActions() |
protected boolean |
isCreateAvailable(BusinessComponent bc) |
protected void |
update(E entity,
D dto,
BusinessComponent bc) |
createEntity, doPreview, getCreationState, getLockTimeout, loadEntity, preview, updateEntityassociate, cast, count, count, count, doAssociate, doGetOne, dtoListToResultPage, entitiesToDtos, entityListToResultPage, entityToDto, getAssociatedSsNames, getAvailableActions, getBcSpecification, getFetchGraph, getFetchGraphName, getFieldMetaBuilder, getLinkSpecification, getList, getList, getList, getOne, getOneAsEntity, getPageEntities, getParentSpecification, getPreActionsForSave, getSecuritySpecification, getSpecification, getTypeOfDTO, getTypeOfEntity, hasPersister, invokeAction, isDeferredCreationSupported, isExist, onCancel, unwrap, validateprotected final ActionResultDTO<D> doUpdateEntity(E entity, D dto, BusinessComponent bc)
doUpdateEntity in class VersionAwareResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>protected void update(E entity, D dto, BusinessComponent bc)
protected final CreateResult<D> doCreateEntity(E entity, BusinessComponent bc)
doCreateEntity in class VersionAwareResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>protected abstract E create(BusinessComponent bc)
create in class VersionAwareResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>public ActionResultDTO<D> deleteEntity(BusinessComponent bc)
deleteEntity in interface ResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>deleteEntity in class AbstractResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>public Actions<D> getActions()
getActions in class AbstractResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>protected boolean isCreateAvailable(BusinessComponent bc)
Copyright © 2018–2020 Tesler. All rights reserved.