Liferay 6.2-ce-ga5

com.liferay.portal.kernel.dao.search
Class SearchContainer<R>

java.lang.Object
  extended by com.liferay.portal.kernel.dao.search.SearchContainer<R>

public class SearchContainer<R>
extends Object


Field Summary
static int DEFAULT_CUR
           
static String DEFAULT_CUR_PARAM
           
static int DEFAULT_CUR_VALUE
          Deprecated. As of 6.2.0, replaced by DEFAULT_CUR.
static int DEFAULT_DELTA
           
static boolean DEFAULT_DELTA_CONFIGURABLE
           
static String DEFAULT_DELTA_PARAM
           
static String DEFAULT_DEPRECATED_TOTAL_VAR
           
static int DEFAULT_MAX_PAGES
          Deprecated. As of 6.2.0, see LPS-6312
static String DEFAULT_ORDER_BY_COL_PARAM
           
static String DEFAULT_ORDER_BY_TYPE_PARAM
           
static String DEFAULT_RESULTS_VAR
           
static String DEFAULT_TOTAL_VAR
           
static String DEFAULT_VAR
           
static int MAX_DELTA
           
 
Constructor Summary
SearchContainer()
           
SearchContainer(PortletRequest portletRequest, DisplayTerms displayTerms, DisplayTerms searchTerms, String curParam, int cur, int delta, PortletURL iteratorURL, List<String> headerNames, String emptyResultsMessage)
           
SearchContainer(PortletRequest portletRequest, DisplayTerms displayTerms, DisplayTerms searchTerms, String curParam, int delta, PortletURL iteratorURL, List<String> headerNames, String emptyResultsMessage)
           
SearchContainer(PortletRequest portletRequest, PortletURL iteratorURL, List<String> headerNames, String emptyResultsMessage)
           
 
Method Summary
 String getClassName()
           
 int getCur()
           
 String getCurParam()
           
 int getCurValue()
          Deprecated. As of 6.2.0, replaced by getCur()
 int getDelta()
           
 String getDeltaParam()
           
 DisplayTerms getDisplayTerms()
           
 String getEmptyResultsMessage()
           
 int getEnd()
           
 List<String> getHeaderNames()
           
 String getId(javax.servlet.http.HttpServletRequest request, String namespace)
           
 PortletURL getIteratorURL()
           
 int getMaxPages()
          Deprecated. As of 6.2.0, see LPS-6312
 List<String> getNormalizedHeaderNames()
           
 Map<String,String> getOrderableHeaders()
           
 String getOrderByCol()
           
 String getOrderByColParam()
           
 OrderByComparator getOrderByComparator()
           
 String getOrderByJS()
           
 String getOrderByType()
           
 String getOrderByTypeParam()
           
 PortletRequest getPortletRequest()
           
 int getResultEnd()
           
 List<ResultRow> getResultRows()
           
 List<R> getResults()
           
 RowChecker getRowChecker()
           
 DisplayTerms getSearchTerms()
           
 int getStart()
           
 int getTotal()
           
 String getTotalVar()
           
 boolean isDeltaConfigurable()
           
 boolean isHover()
           
 boolean isRecalculateCur()
           
 void setClassName(String className)
           
 void setDelta(int delta)
           
 void setDeltaConfigurable(boolean deltaConfigurable)
           
 void setDeltaParam(String deltaParam)
           
 void setEmptyResultsMessage(String emptyResultsMessage)
           
 void setHeaderNames(List<String> headerNames)
           
 void setHover(boolean hover)
           
 void setId(String id)
           
 void setIteratorURL(PortletURL iteratorURL)
           
 void setMaxPages(int maxPages)
          Deprecated. As of 6.2.0, see LPS-6312
 void setOrderableHeaders(Map<String,String> orderableHeaders)
           
 void setOrderByCol(String orderByCol)
           
 void setOrderByColParam(String orderByColParam)
           
 void setOrderByComparator(OrderByComparator orderByComparator)
           
 void setOrderByJS(String orderByJS)
           
 void setOrderByType(String orderByType)
           
 void setOrderByTypeParam(String orderByTypeParam)
           
 void setResults(List<R> results)
           
 void setRowChecker(RowChecker rowChecker)
           
 void setTotal(int total)
           
 void setTotalVar(String totalVar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CUR

public static final int DEFAULT_CUR
See Also:
Constant Field Values

DEFAULT_CUR_PARAM

public static final String DEFAULT_CUR_PARAM
See Also:
Constant Field Values

DEFAULT_CUR_VALUE

public static final int DEFAULT_CUR_VALUE
Deprecated. As of 6.2.0, replaced by DEFAULT_CUR.
See Also:
Constant Field Values

DEFAULT_DELTA

public static final int DEFAULT_DELTA

DEFAULT_DELTA_CONFIGURABLE

public static final boolean DEFAULT_DELTA_CONFIGURABLE
See Also:
Constant Field Values

DEFAULT_DELTA_PARAM

public static final String DEFAULT_DELTA_PARAM
See Also:
Constant Field Values

DEFAULT_DEPRECATED_TOTAL_VAR

public static final String DEFAULT_DEPRECATED_TOTAL_VAR
See Also:
Constant Field Values

DEFAULT_MAX_PAGES

public static final int DEFAULT_MAX_PAGES
Deprecated. As of 6.2.0, see LPS-6312
See Also:
Constant Field Values

DEFAULT_ORDER_BY_COL_PARAM

public static final String DEFAULT_ORDER_BY_COL_PARAM
See Also:
Constant Field Values

DEFAULT_ORDER_BY_TYPE_PARAM

public static final String DEFAULT_ORDER_BY_TYPE_PARAM
See Also:
Constant Field Values

DEFAULT_RESULTS_VAR

public static final String DEFAULT_RESULTS_VAR
See Also:
Constant Field Values

DEFAULT_TOTAL_VAR

public static final String DEFAULT_TOTAL_VAR
See Also:
Constant Field Values

DEFAULT_VAR

public static final String DEFAULT_VAR
See Also:
Constant Field Values

MAX_DELTA

public static final int MAX_DELTA
See Also:
Constant Field Values
Constructor Detail

SearchContainer

public SearchContainer()

SearchContainer

public SearchContainer(PortletRequest portletRequest,
                       DisplayTerms displayTerms,
                       DisplayTerms searchTerms,
                       String curParam,
                       int cur,
                       int delta,
                       PortletURL iteratorURL,
                       List<String> headerNames,
                       String emptyResultsMessage)

SearchContainer

public SearchContainer(PortletRequest portletRequest,
                       DisplayTerms displayTerms,
                       DisplayTerms searchTerms,
                       String curParam,
                       int delta,
                       PortletURL iteratorURL,
                       List<String> headerNames,
                       String emptyResultsMessage)

SearchContainer

public SearchContainer(PortletRequest portletRequest,
                       PortletURL iteratorURL,
                       List<String> headerNames,
                       String emptyResultsMessage)
Method Detail

getClassName

public String getClassName()

getCur

public int getCur()

getCurParam

public String getCurParam()

getCurValue

public int getCurValue()
Deprecated. As of 6.2.0, replaced by getCur()


getDelta

public int getDelta()

getDeltaParam

public String getDeltaParam()

getDisplayTerms

public DisplayTerms getDisplayTerms()

getEmptyResultsMessage

public String getEmptyResultsMessage()

getEnd

public int getEnd()

getHeaderNames

public List<String> getHeaderNames()

getId

public String getId(javax.servlet.http.HttpServletRequest request,
                    String namespace)

getIteratorURL

public PortletURL getIteratorURL()

getMaxPages

public int getMaxPages()
Deprecated. As of 6.2.0, see LPS-6312


getNormalizedHeaderNames

public List<String> getNormalizedHeaderNames()

getOrderableHeaders

public Map<String,String> getOrderableHeaders()

getOrderByCol

public String getOrderByCol()

getOrderByColParam

public String getOrderByColParam()

getOrderByComparator

public OrderByComparator getOrderByComparator()

getOrderByJS

public String getOrderByJS()

getOrderByType

public String getOrderByType()

getOrderByTypeParam

public String getOrderByTypeParam()

getPortletRequest

public PortletRequest getPortletRequest()

getResultEnd

public int getResultEnd()

getResultRows

public List<ResultRow> getResultRows()

getResults

public List<R> getResults()

getRowChecker

public RowChecker getRowChecker()

getSearchTerms

public DisplayTerms getSearchTerms()

getStart

public int getStart()

getTotal

public int getTotal()

getTotalVar

public String getTotalVar()

isDeltaConfigurable

public boolean isDeltaConfigurable()

isHover

public boolean isHover()

isRecalculateCur

public boolean isRecalculateCur()

setClassName

public void setClassName(String className)

setDelta

public void setDelta(int delta)

setDeltaConfigurable

public void setDeltaConfigurable(boolean deltaConfigurable)

setDeltaParam

public void setDeltaParam(String deltaParam)

setEmptyResultsMessage

public void setEmptyResultsMessage(String emptyResultsMessage)

setHeaderNames

public void setHeaderNames(List<String> headerNames)

setHover

public void setHover(boolean hover)

setId

public void setId(String id)

setIteratorURL

public void setIteratorURL(PortletURL iteratorURL)

setMaxPages

public void setMaxPages(int maxPages)
Deprecated. As of 6.2.0, see LPS-6312


setOrderableHeaders

public void setOrderableHeaders(Map<String,String> orderableHeaders)

setOrderByCol

public void setOrderByCol(String orderByCol)

setOrderByColParam

public void setOrderByColParam(String orderByColParam)

setOrderByComparator

public void setOrderByComparator(OrderByComparator orderByComparator)

setOrderByJS

public void setOrderByJS(String orderByJS)

setOrderByType

public void setOrderByType(String orderByType)

setOrderByTypeParam

public void setOrderByTypeParam(String orderByTypeParam)

setResults

public void setResults(List<R> results)

setRowChecker

public void setRowChecker(RowChecker rowChecker)

setTotal

public void setTotal(int total)

setTotalVar

public void setTotalVar(String totalVar)

Liferay 6.2-ce-ga5