com.payu.common.client.entity.AbstractSpecification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ms-common-client Show documentation
Show all versions of ms-common-client Show documentation
Librairie commune pour les modules MS Clients
package com.payu.common.client.entity;
import org.springframework.data.jpa.domain.Specification;
public abstract class AbstractSpecification {
private static final String WILDCARD = "%";
protected AbstractSpecification() {}
public abstract Specification getFiltersFromCriteria(U criteria);
protected String prepareSearchTerm(String searchTerm) {
return WILDCARD + searchTerm.toLowerCase() + WILDCARD;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy