Interface EntityClient
-
- All Superinterfaces:
FeignQuerySupport<Entity>
public interface EntityClient extends FeignQuerySupport<Entity>
Feign declarative service interface for consuming EntityService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<Entity>
createEntities(java.util.Set<CreateEntityRequest> requests)
Entity
createEntity(long systemId, cern.nxcals.common.domain.FindOrCreateEntityRequest request)
Entity
extendEntityFirstHistoryDataFor(long entityId, long from, java.lang.String schema)
java.util.Set<Entity>
findAll(java.lang.String condition)
Searching for multiple values.java.util.Set<Entity>
findAll(java.lang.String condition, long startTime, long endTime)
Entity
findOrCreateEntityFor(long systemId, long entityId, long partitionId, long recordTimestamp, java.lang.String schema)
Entity
findOrCreateEntityFor(long systemId, long recordTimestamp, cern.nxcals.common.domain.FindOrCreateEntityRequest findOrCreateEntityRequest)
java.util.Set<Entity>
updateEntities(java.util.Set<Entity> entityDataList)
-
-
-
Method Detail
-
findAll
java.util.Set<Entity> findAll(java.lang.String condition)
Description copied from interface:FeignQuerySupport
Searching for multiple values.- Specified by:
findAll
in interfaceFeignQuerySupport<Entity>
- Returns:
-
findAll
java.util.Set<Entity> findAll(java.lang.String condition, long startTime, long endTime)
-
findOrCreateEntityFor
Entity findOrCreateEntityFor(long systemId, long recordTimestamp, cern.nxcals.common.domain.FindOrCreateEntityRequest findOrCreateEntityRequest)
-
extendEntityFirstHistoryDataFor
Entity extendEntityFirstHistoryDataFor(long entityId, long from, java.lang.String schema)
-
findOrCreateEntityFor
Entity findOrCreateEntityFor(long systemId, long entityId, long partitionId, long recordTimestamp, java.lang.String schema)
-
createEntity
Entity createEntity(long systemId, cern.nxcals.common.domain.FindOrCreateEntityRequest request)
-
createEntities
java.util.Set<Entity> createEntities(java.util.Set<CreateEntityRequest> requests)
-
-