@Service @Primary public class DynamicDomainObjectService extends Object implements IDynamicDomainObjectService
| 构造器和说明 |
|---|
DynamicDomainObjectService() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
countByFilter(DynamicEntityFilter entityFilter) |
void |
delete(CustomizedObjectSupport obj) |
void |
deleteById(String entityName,
long objId) |
CustomizedObjectSupport |
getByFilter(DynamicEntityFilter entityFilter) |
CustomizedObjectSupport |
getById(String entityName,
long id) |
CustomizedObjectSupport |
getByIdAndEvict(String entityName,
long id)
获取最新的对象,并移出缓存,变为游离状态
|
CustomizedObjectSupport |
getByObjectIdAndType(long id,
String objectType) |
List<CustomizedObjectSupport> |
list(String entityName) |
List<CustomizedObjectSupport> |
listByFilter(DynamicEntityFilter entityFilter) |
CustomizedObjectSupport |
save(CustomizedObjectSupport obj) |
void |
saveAll(List<CustomizedObjectSupport> objs) |
public CustomizedObjectSupport save(CustomizedObjectSupport obj)
save 在接口中 IDynamicDomainObjectServicepublic void saveAll(List<CustomizedObjectSupport> objs)
saveAll 在接口中 IDynamicDomainObjectServicepublic void deleteById(String entityName, long objId)
deleteById 在接口中 IDynamicDomainObjectServicepublic void delete(CustomizedObjectSupport obj)
delete 在接口中 IDynamicDomainObjectServicepublic CustomizedObjectSupport getById(String entityName, long id)
getById 在接口中 IDynamicDomainObjectServicepublic CustomizedObjectSupport getByIdAndEvict(String entityName, long id)
IDynamicDomainObjectServicegetByIdAndEvict 在接口中 IDynamicDomainObjectServicepublic List<CustomizedObjectSupport> list(String entityName)
list 在接口中 IDynamicDomainObjectServicepublic List<CustomizedObjectSupport> listByFilter(DynamicEntityFilter entityFilter)
listByFilter 在接口中 IDynamicDomainObjectServicepublic CustomizedObjectSupport getByFilter(DynamicEntityFilter entityFilter)
getByFilter 在接口中 IDynamicDomainObjectServicepublic int countByFilter(DynamicEntityFilter entityFilter)
countByFilter 在接口中 IDynamicDomainObjectServicepublic CustomizedObjectSupport getByObjectIdAndType(long id, String objectType)
Copyright © 2019. All rights reserved.