Class NotificationRecipientServiceImpl
- java.lang.Object
-
- io.tesler.core.crudma.impl.AbstractResponseService<T,E>
-
- io.tesler.core.crudma.impl.VersionAwareResponseService<NotificationRecipientDTO,NotificationRecipient>
-
- io.tesler.notifications.crudma.impl.NotificationRecipientServiceImpl
-
- All Implemented Interfaces:
ResponseService<NotificationRecipientDTO,NotificationRecipient>
,NotificationRecipientService
@Service public class NotificationRecipientServiceImpl extends VersionAwareResponseService<NotificationRecipientDTO,NotificationRecipient> implements NotificationRecipientService
-
-
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 NotificationRecipientServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionResultDTO<NotificationRecipientDTO>
deleteEntity(BusinessComponent bc)
Deletes an entity based on a business componentprotected CreateResult<NotificationRecipientDTO>
doCreateEntity(NotificationRecipient entity, BusinessComponent bc)
protected ActionResultDTO<NotificationRecipientDTO>
doUpdateEntity(NotificationRecipient recipient, NotificationRecipientDTO data, BusinessComponent bc)
protected ResultPage<NotificationRecipientDTO>
entitiesToDtos(BusinessComponent bc, ResultPage<NotificationRecipient> entities)
protected NotificationRecipientDTO
entityToDto(BusinessComponent bc, NotificationRecipient entity)
Actions<NotificationRecipientDTO>
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, doAssociate, doGetOne, dtoListToResultPage, entityListToResultPage, 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, getAvailableActions, getFieldMetaBuilder, getList, getOne, getOneAsEntity, getTypeOfDTO, getTypeOfEntity, hasPersister, invokeAction, isDeferredCreationSupported, onCancel, preview, unwrap, updateEntity, validate
-
-
-
-
Method Detail
-
entitiesToDtos
protected ResultPage<NotificationRecipientDTO> entitiesToDtos(BusinessComponent bc, ResultPage<NotificationRecipient> entities)
- Overrides:
entitiesToDtos
in classAbstractResponseService<NotificationRecipientDTO,NotificationRecipient>
-
entityToDto
protected NotificationRecipientDTO entityToDto(BusinessComponent bc, NotificationRecipient entity)
- Overrides:
entityToDto
in classAbstractResponseService<NotificationRecipientDTO,NotificationRecipient>
-
getActions
public Actions<NotificationRecipientDTO> getActions()
Description copied from interface:ResponseService
Returns actions for entity with conditions of their availability invoked by method getAvailableActions- Specified by:
getActions
in interfaceResponseService<NotificationRecipientDTO,NotificationRecipient>
- Overrides:
getActions
in classAbstractResponseService<NotificationRecipientDTO,NotificationRecipient>
- Returns:
AssociateResultDTO
class with DataResponseDTO and postactions
-
doCreateEntity
protected CreateResult<NotificationRecipientDTO> doCreateEntity(NotificationRecipient entity, BusinessComponent bc)
- Specified by:
doCreateEntity
in classVersionAwareResponseService<NotificationRecipientDTO,NotificationRecipient>
-
deleteEntity
public ActionResultDTO<NotificationRecipientDTO> deleteEntity(BusinessComponent bc)
Description copied from interface:ResponseService
Deletes an entity based on a business component- Specified by:
deleteEntity
in interfaceResponseService<NotificationRecipientDTO,NotificationRecipient>
- Overrides:
deleteEntity
in classAbstractResponseService<NotificationRecipientDTO,NotificationRecipient>
- Parameters:
bc
- businessComponent- Returns:
ActionResultDTO
class with DataResponseDTO and postactions
-
doUpdateEntity
protected ActionResultDTO<NotificationRecipientDTO> doUpdateEntity(NotificationRecipient recipient, NotificationRecipientDTO data, BusinessComponent bc)
- Specified by:
doUpdateEntity
in classVersionAwareResponseService<NotificationRecipientDTO,NotificationRecipient>
-
-