Package io.tesler.crudma.impl
Class BcPropertiesServiceImpl
- java.lang.Object
-
- io.tesler.core.crudma.impl.AbstractResponseService<T,E>
-
- io.tesler.core.crudma.impl.VersionAwareResponseService<BcPropertiesDTO,BcProperties>
-
- io.tesler.crudma.impl.BcPropertiesServiceImpl
-
- All Implemented Interfaces:
ResponseService<BcPropertiesDTO,BcProperties>
,BcPropertiesService
@Service public class BcPropertiesServiceImpl extends VersionAwareResponseService<BcPropertiesDTO,BcProperties> implements BcPropertiesService
-
-
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 Modifier Constructor Description protected
BcPropertiesServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CreateResult<BcPropertiesDTO>
doCreateEntity(BcProperties entity, BusinessComponent bc)
protected ActionResultDTO<BcPropertiesDTO>
doUpdateEntity(BcProperties bcProperties, BcPropertiesDTO data, BusinessComponent bc)
Actions<BcPropertiesDTO>
getActions()
Returns actions for entity with conditions of their availability invoked by method getAvailableActions-
Methods inherited from class io.tesler.core.crudma.impl.VersionAwareResponseService
create, createEntity, doPreview, getLockTimeout, loadEntity, preview, updateEntity
-
Methods inherited from class io.tesler.core.crudma.impl.AbstractResponseService
associate, cast, count, count, count, deleteEntity, doAssociate, doGetOne, dtoListToResultPage, entitiesToDtos, entityListToResultPage, entityToDto, getAssociatedSsNames, getAvailableActions, getBcSpecification, getFetchGraph, getFetchGraphName, getFieldMetaBuilder, getLinkSpecification, getList, getList, getList, getOne, getOneAsEntity, getPageEntities, getParentSpecification, getPreActionsForSave, getSecuritySpecification, getSpecification, hasPersister, invokeAction, isDeferredCreationSupported, isExist, onCancel, 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, getOneAsEntity, getTypeOfDTO, getTypeOfEntity, hasPersister, invokeAction, isDeferredCreationSupported, onCancel, preview, unwrap, updateEntity, validate
-
-
-
-
Method Detail
-
doCreateEntity
protected CreateResult<BcPropertiesDTO> doCreateEntity(BcProperties entity, BusinessComponent bc)
- Specified by:
doCreateEntity
in classVersionAwareResponseService<BcPropertiesDTO,BcProperties>
-
doUpdateEntity
protected ActionResultDTO<BcPropertiesDTO> doUpdateEntity(BcProperties bcProperties, BcPropertiesDTO data, BusinessComponent bc)
- Specified by:
doUpdateEntity
in classVersionAwareResponseService<BcPropertiesDTO,BcProperties>
-
getActions
public Actions<BcPropertiesDTO> getActions()
Description copied from interface:ResponseService
Returns actions for entity with conditions of their availability invoked by method getAvailableActions- Specified by:
getActions
in interfaceResponseService<BcPropertiesDTO,BcProperties>
- Overrides:
getActions
in classAbstractResponseService<BcPropertiesDTO,BcProperties>
- Returns:
AssociateResultDTO
class with DataResponseDTO and postactions
-
-