Class DictionaryItemsServiceImpl
- java.lang.Object
-
- io.tesler.core.crudma.impl.AbstractResponseService<T,E>
-
- io.tesler.core.crudma.impl.VersionAwareResponseService<DictionaryItemDTO,DictionaryItem>
-
- io.tesler.source.services.data.impl.DictionaryItemsServiceImpl
-
- All Implemented Interfaces:
ResponseService<DictionaryItemDTO,DictionaryItem>
,DictionaryItemService
@Service public class DictionaryItemsServiceImpl extends VersionAwareResponseService<DictionaryItemDTO,DictionaryItem> implements DictionaryItemService
-
-
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 DictionaryItemsServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CreateResult<DictionaryItemDTO>
doCreateEntity(DictionaryItem entity, BusinessComponent bc)
protected ActionResultDTO<DictionaryItemDTO>
doUpdateEntity(DictionaryItem item, DictionaryItemDTO data, BusinessComponent bc)
Actions<DictionaryItemDTO>
getActions()
Returns actions for entity with conditions of their availability invoked by method getAvailableActionsprotected org.springframework.data.jpa.domain.Specification<DictionaryItem>
getParentSpecification(BusinessComponent bc)
List<DictionaryItemDTO>
reloadCache()
-
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, 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
-
getParentSpecification
protected org.springframework.data.jpa.domain.Specification<DictionaryItem> getParentSpecification(BusinessComponent bc)
- Overrides:
getParentSpecification
in classAbstractResponseService<DictionaryItemDTO,DictionaryItem>
-
doUpdateEntity
protected ActionResultDTO<DictionaryItemDTO> doUpdateEntity(DictionaryItem item, DictionaryItemDTO data, BusinessComponent bc)
- Specified by:
doUpdateEntity
in classVersionAwareResponseService<DictionaryItemDTO,DictionaryItem>
-
doCreateEntity
protected CreateResult<DictionaryItemDTO> doCreateEntity(DictionaryItem entity, BusinessComponent bc)
- Specified by:
doCreateEntity
in classVersionAwareResponseService<DictionaryItemDTO,DictionaryItem>
-
getActions
public Actions<DictionaryItemDTO> getActions()
Description copied from interface:ResponseService
Returns actions for entity with conditions of their availability invoked by method getAvailableActions- Specified by:
getActions
in interfaceResponseService<DictionaryItemDTO,DictionaryItem>
- Overrides:
getActions
in classAbstractResponseService<DictionaryItemDTO,DictionaryItem>
- Returns:
AssociateResultDTO
class with DataResponseDTO and postactions
-
reloadCache
public List<DictionaryItemDTO> reloadCache()
- Specified by:
reloadCache
in interfaceDictionaryItemService
-
-