@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
在接口中 IDynamicDomainObjectService
public void saveAll(List<CustomizedObjectSupport> objs)
saveAll
在接口中 IDynamicDomainObjectService
public void deleteById(String entityName, long objId)
deleteById
在接口中 IDynamicDomainObjectService
public void delete(CustomizedObjectSupport obj)
delete
在接口中 IDynamicDomainObjectService
public CustomizedObjectSupport getById(String entityName, long id)
getById
在接口中 IDynamicDomainObjectService
public CustomizedObjectSupport getByIdAndEvict(String entityName, long id)
IDynamicDomainObjectService
getByIdAndEvict
在接口中 IDynamicDomainObjectService
public List<CustomizedObjectSupport> list(String entityName)
list
在接口中 IDynamicDomainObjectService
public List<CustomizedObjectSupport> listByFilter(DynamicEntityFilter entityFilter)
listByFilter
在接口中 IDynamicDomainObjectService
public CustomizedObjectSupport getByFilter(DynamicEntityFilter entityFilter)
getByFilter
在接口中 IDynamicDomainObjectService
public int countByFilter(DynamicEntityFilter entityFilter)
countByFilter
在接口中 IDynamicDomainObjectService
public CustomizedObjectSupport getByObjectIdAndType(long id, String objectType)
Copyright © 2019. All rights reserved.