Class BaseWorkflowPostFunctionServiceImpl<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>
- java.lang.Object
-
- org.cxbox.core.crudma.impl.AbstractResponseService<T,E>
-
- org.cxbox.core.crudma.impl.VersionAwareResponseService<D,E>
-
- org.cxbox.source.services.data.impl.BaseWorkflowPostFunctionServiceImpl<D,E>
-
- All Implemented Interfaces:
ResponseService<D,E>
- Direct Known Subclasses:
WorkflowPostFunctionServiceImpl
public abstract class BaseWorkflowPostFunctionServiceImpl<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction> extends VersionAwareResponseService<D,E>
-
-
Field Summary
-
Fields inherited from class org.cxbox.core.crudma.impl.AbstractResponseService
applicationContext, baseDAO, bcSpecificationHolder, linkSpecificationHolder, parentSpec, preActionConditionHolderAssoc, preActionConditionHolderDataResponse, securitySpecificationHolder, typeOfDTO, typeOfEntity
-
-
Constructor Summary
Constructors Constructor Description BaseWorkflowPostFunctionServiceImpl(Class<D> typeOfDTO, Class<E> typeOfEntity, javax.persistence.metamodel.SingularAttribute<? super E,? extends org.cxbox.model.core.entity.BaseEntity> parentSpec, Class<? extends FieldMetaBuilder<D>> metaBuilder)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Ecreate(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 booleanisCreateAvailable(BusinessComponent bc)protected voidupdate(E entity, D dto, BusinessComponent bc)-
Methods inherited from class org.cxbox.core.crudma.impl.VersionAwareResponseService
createEntity, doPreview, getLockTimeout, loadEntity, preview, updateEntity
-
Methods inherited from class org.cxbox.core.crudma.impl.AbstractResponseService
associate, 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, setIfChanged, setIfChanged, setMappedIfChanged, setMappedIfChanged, unwrap, validate
-
-
-
-
Method Detail
-
doUpdateEntity
protected final ActionResultDTO<D> doUpdateEntity(E entity, D dto, BusinessComponent bc)
- Specified by:
doUpdateEntityin classVersionAwareResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>
-
update
protected void update(E entity, D dto, BusinessComponent bc)
-
doCreateEntity
protected final CreateResult<D> doCreateEntity(E entity, BusinessComponent bc)
- Specified by:
doCreateEntityin classVersionAwareResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>
-
create
protected abstract E create(BusinessComponent bc)
- Overrides:
createin classVersionAwareResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>
-
deleteEntity
public ActionResultDTO<D> deleteEntity(BusinessComponent bc)
- Specified by:
deleteEntityin interfaceResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>- Overrides:
deleteEntityin classAbstractResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>
-
getActions
public Actions<D> getActions()
- Specified by:
getActionsin interfaceResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>- Overrides:
getActionsin classAbstractResponseService<D extends WorkflowPostFunctionDto,E extends WorkflowPostFunction>
-
isCreateAvailable
protected boolean isCreateAvailable(BusinessComponent bc)
-
-