Class NotificationSettingsServiceImpl
- java.lang.Object
-
- org.cxbox.core.crudma.impl.AbstractResponseService<T,E>
-
- org.cxbox.core.crudma.impl.VersionAwareResponseService<NotificationSettingsDTO,NotificationSettings>
-
- org.cxbox.notifications.crudma.impl.NotificationSettingsServiceImpl
-
- All Implemented Interfaces:
ResponseService<NotificationSettingsDTO,NotificationSettings>,NotificationSettingsService
@Service public class NotificationSettingsServiceImpl extends VersionAwareResponseService<NotificationSettingsDTO,NotificationSettings> implements NotificationSettingsService
-
-
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 NotificationSettingsServiceImpl()
-
Method Summary
-
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, doAssociate, doGetOne, dtoListToResultPage, entityListToResultPage, 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, getAvailableActions, getFieldMetaBuilder, getList, getOne, getOneAsEntity, getTypeOfDTO, getTypeOfEntity, hasPersister, invokeAction, isDeferredCreationSupported, onCancel, preview, unwrap, updateEntity, validate
-
-
-
-
Method Detail
-
entitiesToDtos
protected org.cxbox.api.data.ResultPage<NotificationSettingsDTO> entitiesToDtos(BusinessComponent bc, org.cxbox.api.data.ResultPage<NotificationSettings> entities)
- Overrides:
entitiesToDtosin classAbstractResponseService<NotificationSettingsDTO,NotificationSettings>
-
entityToDto
protected NotificationSettingsDTO entityToDto(BusinessComponent bc, NotificationSettings entity, NotificationSettings userSettings)
-
entityToDto
protected NotificationSettingsDTO entityToDto(BusinessComponent bc, NotificationSettings entity)
- Overrides:
entityToDtoin classAbstractResponseService<NotificationSettingsDTO,NotificationSettings>
-
getParentSpecification
protected org.springframework.data.jpa.domain.Specification<NotificationSettings> getParentSpecification(BusinessComponent bc)
- Overrides:
getParentSpecificationin classAbstractResponseService<NotificationSettingsDTO,NotificationSettings>
-
doCreateEntity
protected CreateResult<NotificationSettingsDTO> doCreateEntity(NotificationSettings entity, BusinessComponent bc)
- Specified by:
doCreateEntityin classVersionAwareResponseService<NotificationSettingsDTO,NotificationSettings>
-
doUpdateEntity
protected ActionResultDTO<NotificationSettingsDTO> doUpdateEntity(NotificationSettings entity, NotificationSettingsDTO dto, BusinessComponent bc)
- Specified by:
doUpdateEntityin classVersionAwareResponseService<NotificationSettingsDTO,NotificationSettings>
-
getActions
public Actions<NotificationSettingsDTO> getActions()
- Specified by:
getActionsin interfaceResponseService<NotificationSettingsDTO,NotificationSettings>- Overrides:
getActionsin classAbstractResponseService<NotificationSettingsDTO,NotificationSettings>
-
deleteEntity
public ActionResultDTO<NotificationSettingsDTO> deleteEntity(BusinessComponent bc)
- Specified by:
deleteEntityin interfaceResponseService<NotificationSettingsDTO,NotificationSettings>- Overrides:
deleteEntityin classAbstractResponseService<NotificationSettingsDTO,NotificationSettings>
-
evictCache
public void evictCache(NotificationSettings settings)
- Specified by:
evictCachein interfaceNotificationSettingsService
-
getOrCreateUserCopy
public NotificationSettings getOrCreateUserCopy(NotificationSettings entity)
- Specified by:
getOrCreateUserCopyin interfaceNotificationSettingsService
-
getGlobalSettings
public NotificationSettings getGlobalSettings(org.cxbox.api.data.dictionary.LOV event)
- Specified by:
getGlobalSettingsin interfaceNotificationSettingsService
-
getUserSettings
public NotificationSettings getUserSettings(org.cxbox.api.data.dictionary.LOV event)
- Specified by:
getUserSettingsin interfaceNotificationSettingsService
-
-