Class NonLazyEntityData<T,ID>
java.lang.Object
software.xdev.spring.data.eclipse.store.repository.root.v2_4.NonLazyEntityData<T,ID>
- Type Parameters:
T- type of entity to storeID- type of id of the entity to store. Can beVoidif no ID is used.
- All Implemented Interfaces:
EntityData<T,ID>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsEntity(T entity) ensureEntityAndReturnObjectsToStore(T entityToStore) getEntityById(ID id) longremoveEntityAndReturnObjectsToStore(T entityToRemove) voidsetIdGetter(IdGetter<T, ID> idGetter) Acceptsnullif no id field is definedvoid
-
Constructor Details
-
NonLazyEntityData
public NonLazyEntityData()
-
-
Method Details
-
setIdGetter
Acceptsnullif no id field is defined- Specified by:
setIdGetterin interfaceEntityData<T,ID>
-
getEntitiesAsStream
- Specified by:
getEntitiesAsStreamin interfaceEntityData<T,ID>
-
containsEntity
- Specified by:
containsEntityin interfaceEntityData<T,ID>
-
getLastId
- Specified by:
getLastIdin interfaceEntityData<T,ID>
-
getEntityCount
public long getEntityCount()- Specified by:
getEntityCountin interfaceEntityData<T,ID>
-
setLastId
- Specified by:
setLastIdin interfaceEntityData<T,ID>
-
ensureEntityAndReturnObjectsToStore
- Specified by:
ensureEntityAndReturnObjectsToStorein interfaceEntityData<T,ID>
-
getObjectsToStore
- Specified by:
getObjectsToStorein interfaceEntityData<T,ID>
-
getEntityById
- Specified by:
getEntityByIdin interfaceEntityData<T,ID>
-
removeEntityAndReturnObjectsToStore
- Specified by:
removeEntityAndReturnObjectsToStorein interfaceEntityData<T,ID>
-
removeAllEntitiesAndReturnObjectsToStore
- Specified by:
removeAllEntitiesAndReturnObjectsToStorein interfaceEntityData<T,ID>
-