public abstract class AbstractTreeSortService<E extends TreeSortSupportEntity<PK>,PK> extends GenericEntityService<E,PK> implements TreeService<E,PK>
TreeSortSupportEntityeventPublisherentityFactory, entityType, logger, logicPrimaryKeyValidator, primaryKeyType, validator| 构造器和说明 |
|---|
AbstractTreeSortService() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
applyPath(E entity) |
protected PK |
createParentIdOnExists() |
E |
deleteByPk(PK id)
根据主键删除记录
|
PK |
insert(E entity) |
List<PK> |
insertBatch(Collection<E> data) |
protected PK |
saveOrUpdateForSingle(E entity) |
List<E> |
selectAllChildNode(PK parentId) |
List<E> |
selectChildNode(PK parentId) |
List<E> |
selectParentNode(PK childId) |
int |
updateBatch(Collection<E> data) |
int |
updateByPk(E entity) |
dataExisted, getIDGenerator, init, physicalDeleteByPk, pushCreatedEvent, pushModifyEvent, saveOrUpdate, selectByPk, selectByPk, setEventPublisher, updateByPk, updateByPkassertNotNull, assertNotNull, createEntity, entityFactoryIsEnabled, getEntityInstanceType, getEntityType, getPrimaryKeyType, setEntityFactory, setLogicPrimaryKeyValidator, setValidator, tryValidate, tryValidate, tryValidate, tryValidateProperty, tryValidateProperty, tryValidatePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDaocount, createQuery, createQuery, selectcount, select, selectPager, selectSinglecreateUpdate, createUpdate, createUpdate, createUpdatecreateDelete, createDelete, createDeletecreateEntity, getEntityInstanceType@Transactional(readOnly=true) public List<E> selectParentNode(PK childId)
selectParentNode 在接口中 TreeService<E extends TreeSortSupportEntity<PK>,PK>@Transactional(readOnly=true) public List<E> selectAllChildNode(PK parentId)
selectAllChildNode 在接口中 TreeService<E extends TreeSortSupportEntity<PK>,PK>@Transactional(readOnly=true) public List<E> selectChildNode(PK parentId)
selectChildNode 在接口中 TreeService<E extends TreeSortSupportEntity<PK>,PK>protected PK createParentIdOnExists()
protected void applyPath(E entity)
public PK insert(E entity)
insert 在接口中 InsertService<E extends TreeSortSupportEntity<PK>,PK>insert 在类中 GenericEntityService<E extends TreeSortSupportEntity<PK>,PK>public List<PK> insertBatch(Collection<E> data)
insertBatch 在接口中 TreeService<E extends TreeSortSupportEntity<PK>,PK>public int updateBatch(Collection<E> data)
updateBatch 在接口中 TreeService<E extends TreeSortSupportEntity<PK>,PK>public int updateByPk(E entity)
updateByPk 在类中 GenericEntityService<E extends TreeSortSupportEntity<PK>,PK>public E deleteByPk(PK id)
DefaultDeleteServicedeleteByPk 在接口中 DefaultDeleteService<E extends TreeSortSupportEntity<PK>,PK>deleteByPk 在接口中 DeleteService<E extends TreeSortSupportEntity<PK>,PK>deleteByPk 在类中 GenericEntityService<E extends TreeSortSupportEntity<PK>,PK>id - 主键Copyright © 2016–2019. All rights reserved.