Class DictionaryItemsServiceImpl
java.lang.Object
org.cxbox.core.crudma.impl.AbstractResponseService<T,E>
org.cxbox.core.crudma.impl.VersionAwareResponseService<DictionaryItemDTO,DictionaryItem>
org.cxbox.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 org.cxbox.core.crudma.impl.AbstractResponseService
applicationContext, baseDAO, parentSpec, preActionConditionHolderAssoc, preActionConditionHolderDataResponse, typeOfDTO, typeOfEntity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CreateResult<DictionaryItemDTO>doCreateEntity(DictionaryItem entity, BusinessComponent bc) protected ActionResultDTO<DictionaryItemDTO>doUpdateEntity(DictionaryItem item, DictionaryItemDTO data, BusinessComponent bc) protected org.springframework.data.jpa.domain.Specification<DictionaryItem>Methods inherited from class org.cxbox.core.crudma.impl.VersionAwareResponseService
create, createEntity, doPreview, getLockTimeout, loadEntity, preview, updateEntityMethods inherited from class org.cxbox.core.crudma.impl.AbstractResponseService
associate, cast, count, count, count, deleteEntity, doAssociate, doGetOne, dtoListToResultPage, entitiesToDtos, entityListToResultPage, entityToDto, getAvailableActions, getFetchGraph, getFetchGraphName, getFieldMetaBuilder, getList, getList, getList, getOne, getOneAsEntity, getPageEntities, getParentField, getPreActionsForSave, getSpecification, getTypeOfDTO, getTypeOfEntity, hasPersister, invokeAction, isDeferredCreationSupported, isExist, onCancel, setIfChanged, setIfChanged, setMappedIfChanged, setMappedIfChanged, unwrap, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cxbox.core.service.ResponseService
associate, count, createEntity, deleteEntity, getAvailableActions, getFieldMetaBuilder, getList, getOne, getOneAsEntity, getTypeOfDTO, getTypeOfEntity, hasPersister, invokeAction, isDeferredCreationSupported, onCancel, preview, unwrap, updateEntity, validate
-
Constructor Details
-
DictionaryItemsServiceImpl
public DictionaryItemsServiceImpl()
-
-
Method Details
-
getParentSpecification
protected org.springframework.data.jpa.domain.Specification<DictionaryItem> getParentSpecification(BusinessComponent bc) - Overrides:
getParentSpecificationin classAbstractResponseService<DictionaryItemDTO,DictionaryItem>
-
doUpdateEntity
protected ActionResultDTO<DictionaryItemDTO> doUpdateEntity(DictionaryItem item, DictionaryItemDTO data, BusinessComponent bc) - Specified by:
doUpdateEntityin classVersionAwareResponseService<DictionaryItemDTO,DictionaryItem>
-
doCreateEntity
protected CreateResult<DictionaryItemDTO> doCreateEntity(DictionaryItem entity, BusinessComponent bc) - Specified by:
doCreateEntityin classVersionAwareResponseService<DictionaryItemDTO,DictionaryItem>
-
getActions
- Specified by:
getActionsin interfaceResponseService<DictionaryItemDTO,DictionaryItem> - Overrides:
getActionsin classAbstractResponseService<DictionaryItemDTO,DictionaryItem>
-
reloadCache
- Specified by:
reloadCachein interfaceDictionaryItemService
-