public abstract class EnableCacheAllEvictTreeSortService<E extends TreeSortSupportEntity<PK>,PK> extends AbstractTreeSortService<E,PK>
eventPublisherentityFactory, entityType, logger, logicPrimaryKeyValidator, primaryKeyType, validator| 构造器和说明 |
|---|
EnableCacheAllEvictTreeSortService() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
count() |
E |
deleteByPk(PK pk)
根据主键删除记录
|
PK |
insert(E entity) |
PK |
saveOrUpdate(E entity) |
List<E> |
select() |
List<E> |
selectAllChildNode(PK parentId) |
List<E> |
selectByPk(List<PK> id) |
E |
selectByPk(PK pk) |
List<E> |
selectChildNode(PK parentId) |
List<E> |
selectParentNode(PK parentId) |
int |
updateBatch(Collection<E> data) |
int |
updateByPk(List<E> data) |
int |
updateByPk(PK pk,
E entity) |
applyPath, createParentIdOnExists, insertBatch, saveOrUpdateForSingle, updateByPkdataExisted, getIDGenerator, init, physicalDeleteByPk, pushCreatedEvent, pushModifyEvent, 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@Cacheable(key="\'parent:\'+#parentId") public List<E> selectParentNode(PK parentId)
selectParentNode 在接口中 TreeService<E extends TreeSortSupportEntity<PK>,PK>selectParentNode 在类中 AbstractTreeSortService<E extends TreeSortSupportEntity<PK>,PK>@Cacheable(key="\'chidlren:\'+#parentId") public List<E> selectChildNode(PK parentId)
selectChildNode 在接口中 TreeService<E extends TreeSortSupportEntity<PK>,PK>selectChildNode 在类中 AbstractTreeSortService<E extends TreeSortSupportEntity<PK>,PK>@Cacheable(key="\'all-chidlren:\'+#parentId") public List<E> selectAllChildNode(PK parentId)
selectAllChildNode 在接口中 TreeService<E extends TreeSortSupportEntity<PK>,PK>selectAllChildNode 在类中 AbstractTreeSortService<E extends TreeSortSupportEntity<PK>,PK>@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(allEntries=true) public int updateByPk(PK pk, E entity)
updateByPk 在接口中 UpdateService<E extends TreeSortSupportEntity<PK>,PK>updateByPk 在类中 GenericEntityService<E extends TreeSortSupportEntity<PK>,PK>@CacheEvict(allEntries=true) public PK insert(E entity)
insert 在接口中 InsertService<E extends TreeSortSupportEntity<PK>,PK>insert 在类中 AbstractTreeSortService<E extends TreeSortSupportEntity<PK>,PK>@CacheEvict(allEntries=true) 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(allEntries=true) public PK saveOrUpdate(E entity)
saveOrUpdate 在接口中 UpdateService<E extends TreeSortSupportEntity<PK>,PK>saveOrUpdate 在类中 GenericEntityService<E extends TreeSortSupportEntity<PK>,PK>@Cacheable(key="\'id-in:\'+#id.hashCode()") public List<E> selectByPk(List<PK> id)
selectByPk 在接口中 QueryService<E extends TreeSortSupportEntity<PK>,PK>selectByPk 在类中 GenericEntityService<E extends TreeSortSupportEntity<PK>,PK>@Cacheable(key="\'count\'") public int count()
Copyright © 2016–2019. All rights reserved.