Tabnine Logo
Pageable.getSearchValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getSearchValue
method
in
com.haoxuer.discover.data.page.Pageable

Best Java code snippets using com.haoxuer.discover.data.page.Pageable.getSearchValue (Showing top 4 results out of 315)

origin: com.haoxuer.discover/discover-common-hibernate

/**
 * 获取搜索值
 *
 * @return 搜索值
 */
public String getSearchValue() {
 return pageable.getSearchValue();
}
origin: com.haoxuer.discover/discover-common-hibernate

@Override
public int hashCode() {
 return new HashCodeBuilder(17, 37).append(getPageNumber()).append(getPageSize()).append(getSearchProperty()).append(getSearchValue()).append(getOrderProperty()).append(getOrderDirection()).append(getFilters()).append(getOrders()).toHashCode();
}
origin: com.haoxuer.discover/discover-common-hibernate

@Override
public boolean equals(Object obj) {
 if (obj == null) {
  return false;
 }
 if (getClass() != obj.getClass()) {
  return false;
 }
 if (this == obj) {
  return true;
 }
 Pageable other = (Pageable) obj;
 return new EqualsBuilder().append(getPageNumber(), other.getPageNumber()).append(getPageSize(), other.getPageSize()).append(getSearchProperty(), other.getSearchProperty()).append(getSearchValue(), other.getSearchValue()).append(getOrderProperty(), other.getOrderProperty()).append(getOrderDirection(), other.getOrderDirection()).append(getFilters(), other.getFilters())
   .append(getOrders(), other.getOrders()).isEquals();
}
origin: com.haoxuer.discover/discover-common-hibernate

if (StringUtils.isNotEmpty(pageable.getSearchProperty()) && StringUtils.isNotEmpty(pageable.getSearchValue())) {
 countQuery.add(Restrictions.like(pageable.getSearchProperty(), "%" + pageable.getSearchValue() + "%"));
if (StringUtils.isNotEmpty(pageable.getSearchProperty()) && StringUtils.isNotEmpty(pageable.getSearchValue())) {
 criteriaQuery.add(Restrictions.like(pageable.getSearchProperty(), "%" + pageable.getSearchValue() + "%"));
com.haoxuer.discover.data.pagePageablegetSearchValue

Javadoc

获取搜索值

Popular methods of Pageable

  • getFilters
    获取筛选
  • getOrders
    获取排序
  • getPageNumber
    获取页码
  • <init>
    初始化一个新创建的Pageable对象
  • setPageNumber
    设置页码
  • setPageSize
    设置每页记录数
  • getOrderDirection
    获取排序方向
  • getOrderProperty
    获取排序属性
  • getPageNo
    获取页码
  • getPageSize
    获取每页记录数
  • getSearchAliasProperty
    获取别名属性
  • getSearchAliasValue
    获取别名值 搜索别名值
  • getSearchAliasProperty,
  • getSearchAliasValue,
  • getSearchProperty,
  • setPageNo

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now