public abstract class EnableCacheTreeSortService<E extends TreeSortSupportEntity<PK>,PK> extends AbstractTreeSortService<E,PK>
eventPublisherentityFactory, entityType, logger, logicPrimaryKeyValidator, primaryKeyType, validator| 构造器和说明 |
|---|
EnableCacheTreeSortService() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
count() |
E |
deleteByPk(PK pk)
根据主键删除记录
|
PK |
insert(E entity) |
PK |
saveOrUpdate(E entity) |
List<E> |
select() |
E |
selectByPk(PK pk) |
int |
updateBatch(Collection<E> data) |
int |
updateByPk(List<E> data) |
int |
updateByPk(PK pk,
E entity) |
applyPath, createParentIdOnExists, insertBatch, saveOrUpdateForSingle, selectAllChildNode, selectChildNode, selectParentNode, updateByPkdataExisted, getIDGenerator, init, physicalDeleteByPk, pushCreatedEvent, pushModifyEvent, selectByPk, setEventPublisherassertNotNull, assertNotNull, createEntity, entityFactoryIsEnabled, getEntityInstanceType, getEntityType, getPrimaryKeyType, setEntityFactory, setLogicPrimaryKeyValidator, setValidator, tryValidate, tryValidate, tryValidate, tryValidateProperty, tryValidateProperty, tryValidatePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDaocreateQuery, createQuerycount, select, selectPager, selectSinglecreateUpdate, createUpdate, createUpdate, createUpdatecreateDelete, createDelete, createDeletecreateEntity, getEntityInstanceType@CacheEvict(allEntries=true) public int updateBatch(Collection<E> data)
updateBatch 在接口中 TreeService<E extends TreeSortSupportEntity<PK>,PK>updateBatch 在类中 AbstractTreeSortService<E extends TreeSortSupportEntity<PK>,PK>@Cacheable(key="\'id:\'+#pk") public E selectByPk(PK pk)
selectByPk 在接口中 QueryService<E extends TreeSortSupportEntity<PK>,PK>selectByPk 在类中 GenericEntityService<E extends TreeSortSupportEntity<PK>,PK>@CacheEvict(allEntries=true) public int updateByPk(List<E> data)
updateByPk 在接口中 UpdateService<E extends TreeSortSupportEntity<PK>,PK>updateByPk 在类中 GenericEntityService<E extends TreeSortSupportEntity<PK>,PK>@CacheEvict(key="\'id:\'+#pk") @CacheEvict(key="\'all\'") @CacheEvict(key="\'count\'") public int updateByPk(PK pk, E entity)
updateByPk 在接口中 UpdateService<E extends TreeSortSupportEntity<PK>,PK>updateByPk 在类中 GenericEntityService<E extends TreeSortSupportEntity<PK>,PK>@CacheEvict(key="\'id:\'+#result") @CacheEvict(key="\'all\'") @CacheEvict(key="\'count\'") public PK insert(E entity)
insert 在接口中 InsertService<E extends TreeSortSupportEntity<PK>,PK>insert 在类中 AbstractTreeSortService<E extends TreeSortSupportEntity<PK>,PK>@CacheEvict(key="\'id:\'+#pk") @CacheEvict(key="\'all\'") @CacheEvict(key="\'count\'") public E deleteByPk(PK pk)
DefaultDeleteServicedeleteByPk 在接口中 DefaultDeleteService<E extends TreeSortSupportEntity<PK>,PK>deleteByPk 在接口中 DeleteService<E extends TreeSortSupportEntity<PK>,PK>deleteByPk 在类中 AbstractTreeSortService<E extends TreeSortSupportEntity<PK>,PK>pk - 主键@CacheEvict(key="\'id:\'+#result") @CacheEvict(key="\'all\'") @CacheEvict(key="\'count\'") public PK saveOrUpdate(E entity)
saveOrUpdate 在接口中 UpdateService<E extends TreeSortSupportEntity<PK>,PK>saveOrUpdate 在类中 GenericEntityService<E extends TreeSortSupportEntity<PK>,PK>@Cacheable(key="\'count\'") public int count()
Copyright © 2016–2019. All rights reserved.