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, 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()protected org.springframework.data.jpa.domain.Specification<DictionaryItem>getParentSpecification(BusinessComponent bc)List<DictionaryItemDTO>reloadCache()-
Methods inherited from class org.cxbox.core.crudma.impl.VersionAwareResponseService
create, createEntity, doPreview, getLockTimeout, loadEntity, preview, updateEntity
-
Methods inherited from class org.cxbox.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, getTypeOfDTO, getTypeOfEntity, hasPersister, invokeAction, isDeferredCreationSupported, isExist, onCancel, setIfChanged, setIfChanged, setMappedIfChanged, setMappedIfChanged, unwrap, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods 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
-
-
-
-
Method Detail
-
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
public Actions<DictionaryItemDTO> getActions()
- Specified by:
getActionsin interfaceResponseService<DictionaryItemDTO,DictionaryItem>- Overrides:
getActionsin classAbstractResponseService<DictionaryItemDTO,DictionaryItem>
-
reloadCache
public List<DictionaryItemDTO> reloadCache()
- Specified by:
reloadCachein interfaceDictionaryItemService
-
-