Class IdManager<T,ID>
java.lang.Object
software.xdev.spring.data.eclipse.store.repository.support.id.IdManager<T,ID>
- All Implemented Interfaces:
EntityGetterById<T,,ID> IdGetter<T,ID>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<S extends T>
voidcheckIds(Collection<S> entities) voidThis method makes sure, that an id is set for the given object.findAllById(Iterable<ID> idsToFind) boolean
-
Constructor Details
-
IdManager
-
-
Method Details
-
ensureIdField
-
findById
- Specified by:
findByIdin interfaceEntityGetterById<T,ID>
-
findAllById
-
getIdSetter
-
getId
-
hasIdField
public boolean hasIdField() -
ensureId
This method makes sure, that an id is set for the given object. If it is already set (not null), then nothing is done. If it is not set, a new one will be generated and set. -
checkIds
-