@Service(value="districtService") @CacheConfig(cacheNames="district") public class SimpleDistrictService extends EnableCacheAllEvictTreeSortService<DistrictEntity,String> implements DistrictService
entityFactory, entityType, logger, logicPrimaryKeyValidator, primaryKeyType, validator| 构造器和说明 |
|---|
SimpleDistrictService() |
| 限定符和类型 | 方法和说明 |
|---|---|
DistrictEntity |
deleteByPk(String id) |
void |
disable(String id) |
void |
enable(String id) |
DistrictDao |
getDao() |
protected org.hswebframework.web.id.IDGenerator<String> |
getIDGenerator() |
String |
insert(DistrictEntity entity) |
List<DistrictEntity> |
select() |
DistrictEntity |
selectByCode(String code) |
List<DistrictEntity> |
selectByPk(List<String> id) |
DistrictEntity |
selectByPk(String id) |
int |
updateBatch(Collection<DistrictEntity> data) |
int |
updateByPk(List<DistrictEntity> data) |
int |
updateByPk(String id,
DistrictEntity entity) |
count, saveOrUpdate, selectAllChildNode, selectChildNode, selectParentNodeapplyPath, createParentIdOnExists, insertBatch, saveOrUpdateForSingle, updateByPkdataExisted, initassertNotNull, assertNotNull, createEntity, entityFactoryIsEnabled, getEntityInstanceType, getEntityType, getPrimaryKeyType, setEntityFactory, setLogicPrimaryKeyValidator, setValidator, tryValidate, tryValidate, tryValidate, tryValidateProperty, tryValidateProperty, tryValidatePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinsertBatch, selectAllChildNode, selectChildNode, selectParentNodecount, select, selectPager, selectSinglesaveOrUpdatecreateEntity, getEntityInstanceTypecountcreateQuery, createQuerycount, select, selectPager, selectSinglecreateUpdate, createUpdate, createUpdate, createUpdatecreateDelete, createDelete, createDeleteprotected org.hswebframework.web.id.IDGenerator<String> getIDGenerator()
public DistrictDao getDao()
getDao 在接口中 DefaultDSLDeleteService<DistrictEntity,String>getDao 在接口中 DefaultDSLUpdateService<DistrictEntity,String>getDao 在接口中 DefaultQueryByEntityService<DistrictEntity>getDao 在接口中 GenericService<DistrictEntity,String>@CacheEvict(allEntries=true) public String insert(DistrictEntity entity)
insert 在接口中 InsertService<DistrictEntity,String>insert 在类中 EnableCacheAllEvictTreeSortService<DistrictEntity,String>@CacheEvict(allEntries=true) public int updateByPk(String id, DistrictEntity entity)
updateByPk 在接口中 UpdateService<DistrictEntity,String>updateByPk 在类中 EnableCacheAllEvictTreeSortService<DistrictEntity,String>@Cacheable(key="\'ids:\'+(#id==null?0:#id.hashCode())") public List<DistrictEntity> selectByPk(List<String> id)
selectByPk 在接口中 QueryService<DistrictEntity,String>selectByPk 在类中 EnableCacheAllEvictTreeSortService<DistrictEntity,String>@Cacheable(key="\'id:\'+#id") public DistrictEntity selectByPk(String id)
selectByPk 在接口中 QueryService<DistrictEntity,String>selectByPk 在类中 EnableCacheAllEvictTreeSortService<DistrictEntity,String>@CacheEvict(allEntries=true) public DistrictEntity deleteByPk(String id)
deleteByPk 在接口中 DefaultDeleteService<DistrictEntity,String>deleteByPk 在接口中 DeleteService<DistrictEntity,String>deleteByPk 在类中 EnableCacheAllEvictTreeSortService<DistrictEntity,String>@Cacheable(key="\'code:\'+#code") public DistrictEntity selectByCode(String code)
selectByCode 在接口中 DistrictService@CacheEvict(allEntries=true) public int updateBatch(Collection<DistrictEntity> data)
updateBatch 在接口中 TreeService<DistrictEntity,String>updateBatch 在类中 EnableCacheAllEvictTreeSortService<DistrictEntity,String>@Cacheable(key="\'all\'") public List<DistrictEntity> select()
select 在接口中 DefaultDSLQueryService<DistrictEntity,String>select 在接口中 QueryService<DistrictEntity,String>select 在类中 EnableCacheAllEvictTreeSortService<DistrictEntity,String>@CacheEvict(allEntries=true) public int updateByPk(List<DistrictEntity> data)
updateByPk 在接口中 UpdateService<DistrictEntity,String>updateByPk 在类中 EnableCacheAllEvictTreeSortService<DistrictEntity,String>@CacheEvict(allEntries=true) public void disable(String id)
disable 在接口中 DistrictService@CacheEvict(allEntries=true) public void enable(String id)
enable 在接口中 DistrictServiceCopyright © 2016–2019. All rights reserved.