@Service @Primary public class SystemEventService extends AbstractBaseDomainObjectService<SystemEvent,SystemEventEntity> implements ISystemEventService
domainObjectClass, entityClass
构造器和说明 |
---|
SystemEventService() |
限定符和类型 | 方法和说明 |
---|---|
List<SystemEvent> |
getActiveEventByConsumer(String consumer)
根据consumer查找状态为 Created,InProcess的Event对象
|
List<SystemEvent> |
getActiveEventByProducer(String producer)
根据producer查找状态为Created,InProcess的Event对象
|
List<SystemEvent> |
getByConsumer(String consumer) |
List<SystemEvent> |
getByProducer(String producer) |
List<SystemEvent> |
getByTypeAndConsumer(String type,
String consumer,
boolean active)
根据type和consumer查找Event对象
|
protected IBaseEntityHandler<SystemEventEntity> |
getEntityHandler() |
void |
saveEvent(SystemEvent systemEvent)
保存(创建)Event,根据路由表(TextBlob)来决定创建保存多少条数据。
|
countByFilter, createClientObject, createClientObject, createClientObjects, createClientObjects, createFilter, delete, deleteById, deleteByIds, getByFilter, getById, getByIdAndEvict, getInternalEntities, getInternalEntity, getObjectType, list, list, listByFilter, listSimpleData, pagingByFilter, save, saveAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countByFilter, createFilter, delete, deleteById, deleteByIds, getByFilter, getById, getByIdAndEvict, list, list, listByFilter, listSimpleData, pagingByFilter, save, saveAll
public void saveEvent(SystemEvent systemEvent)
ISystemEventService
saveEvent
在接口中 ISystemEventService
public List<SystemEvent> getByConsumer(String consumer)
getByConsumer
在接口中 ISystemEventService
public List<SystemEvent> getActiveEventByConsumer(String consumer)
ISystemEventService
getActiveEventByConsumer
在接口中 ISystemEventService
public List<SystemEvent> getByProducer(String producer)
getByProducer
在接口中 ISystemEventService
public List<SystemEvent> getActiveEventByProducer(String producer)
ISystemEventService
getActiveEventByProducer
在接口中 ISystemEventService
public List<SystemEvent> getByTypeAndConsumer(String type, String consumer, boolean active)
ISystemEventService
getByTypeAndConsumer
在接口中 ISystemEventService
active
- 指定查找有效/无效的Eventprotected IBaseEntityHandler<SystemEventEntity> getEntityHandler()
Copyright © 2019. All rights reserved.