Uses of Class
com.thanlinardos.spring_enterprise_library.model.entity.base.BasicIdJpa
Packages that use BasicIdJpa
Package
Description
-
Uses of BasicIdJpa in com.thanlinardos.spring_enterprise_library.model.mapped.base
Constructors in com.thanlinardos.spring_enterprise_library.model.mapped.base with parameters of type BasicIdJpaModifierConstructorDescriptionprotectedBasicIdModel(BasicIdJpa entity) Constructs a BasicIdModel from a BasicIdJpa entity. -
Uses of BasicIdJpa in com.thanlinardos.spring_enterprise_library.objects.utils
Methods in com.thanlinardos.spring_enterprise_library.objects.utils with type parameters of type BasicIdJpaModifier and TypeMethodDescriptionstatic <T extends BasicIdJpa>
StringObjectUtils.getCommaSeparatedListOfIds(Collection<T> entities) Returns a concatenated comma separated list of ids from the entities.static <T extends BasicIdJpa>
Set<Long> ObjectUtils.getIds(Collection<T> entities) Returns a set of ids of the entitiesstatic <T extends BasicIdJpa>
Predicate<T> PredicateUtils.isEqualByIdTo(T compareTo) Returns a predicate that checks if entity is equal to the compare to entity by id.static <T extends BasicIdJpa>
Predicate<T> PredicateUtils.isNotEqualByIdTo(T compareTo) Returns a predicate that checks if the entity is not equal to the compare to entity by id.static <U extends BasicIdJpa,R>
RFunctionUtils.rethrowWithEntityId(U entity, Function<U, R> function) Helper method to provide ids of entity input parameters in the resulting exception if the given function throws an exceptionMethods in com.thanlinardos.spring_enterprise_library.objects.utils with parameters of type BasicIdJpaModifier and TypeMethodDescriptionstatic LongObjectUtils.getIdOrNull(BasicIdJpa entity) Returns the id of the entity, otherwise null.