Class BaseDictionaryLnkRuleCondServiceImpl<D extends DictionaryLnkRuleCondDto,E extends DictionaryLnkRuleCond>
- java.lang.Object
-
- io.tesler.core.crudma.impl.AbstractResponseService<T,E>
-
- io.tesler.core.crudma.impl.VersionAwareResponseService<D,E>
-
- io.tesler.source.service.data.impl.BaseDictionaryLnkRuleCondServiceImpl<D,E>
-
- All Implemented Interfaces:
ResponseService<D,E>
- Direct Known Subclasses:
DictionaryLnkRuleCondServiceImpl
@Service public abstract class BaseDictionaryLnkRuleCondServiceImpl<D extends DictionaryLnkRuleCondDto,E extends DictionaryLnkRuleCond> extends VersionAwareResponseService<D,E>
-
-
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 BaseDictionaryLnkRuleCondServiceImpl(Class<D> typeOfDTO, Class<E> typeOfEntity, javax.persistence.metamodel.SingularAttribute<? super E,? extends BaseEntity> parentSpec, Class<? extends FieldMetaBuilder<D>> metaBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CreateResult<D>
doCreateEntity(E entity, BusinessComponent bc)
protected ActionResultDTO<D>
doUpdateEntity(E entity, D data, boolean isSqlService, BusinessComponent bc)
protected ActionResultDTO<D>
doUpdateEntity(E entity, D data, BusinessComponent bc)
Actions<D>
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, deleteEntity, doAssociate, doGetOne, dtoListToResultPage, entitiesToDtos, entityListToResultPage, entityToDto, 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
getTypeOfDTO, getTypeOfEntity
-
-
-
-
Constructor Detail
-
BaseDictionaryLnkRuleCondServiceImpl
public BaseDictionaryLnkRuleCondServiceImpl(Class<D> typeOfDTO, Class<E> typeOfEntity, javax.persistence.metamodel.SingularAttribute<? super E,? extends BaseEntity> parentSpec, Class<? extends FieldMetaBuilder<D>> metaBuilder)
-
-
Method Detail
-
doCreateEntity
protected CreateResult<D> doCreateEntity(E entity, BusinessComponent bc)
- Specified by:
doCreateEntity
in classVersionAwareResponseService<D extends DictionaryLnkRuleCondDto,E extends DictionaryLnkRuleCond>
-
doUpdateEntity
protected final ActionResultDTO<D> doUpdateEntity(E entity, D data, BusinessComponent bc)
- Specified by:
doUpdateEntity
in classVersionAwareResponseService<D extends DictionaryLnkRuleCondDto,E extends DictionaryLnkRuleCond>
-
doUpdateEntity
protected ActionResultDTO<D> doUpdateEntity(E entity, D data, boolean isSqlService, BusinessComponent bc)
-
getActions
public Actions<D> getActions()
Description copied from interface:ResponseService
Returns actions for entity with conditions of their availability invoked by method getAvailableActions- Specified by:
getActions
in interfaceResponseService<D extends DictionaryLnkRuleCondDto,E extends DictionaryLnkRuleCond>
- Overrides:
getActions
in classAbstractResponseService<D extends DictionaryLnkRuleCondDto,E extends DictionaryLnkRuleCond>
- Returns:
AssociateResultDTO
class with DataResponseDTO and postactions
-
-