Package org.apache.ofbiz.content.content
Class ContentSearchSession.ContentSearchOptions
java.lang.Object
org.apache.ofbiz.content.content.ContentSearchSession.ContentSearchOptions
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ContentSearchSession
public static class ContentSearchSession.ContentSearchOptions
extends Object
implements Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionContentSearchOptions
(ContentSearchSession.ContentSearchOptions contentSearchOptions) Basic copy constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addConstraint
(ContentSearch.ContentSearchConstraint contentSearchConstraint, HttpSession session) static void
clearSearchOptions
(HttpSession session) void
Clear view info.Gets constraint list.getConstraintList
(HttpSession session) Gets result sort order.getResultSortOrder
(HttpServletRequest request) searchGetConstraintStrings
(boolean detailed, Delegator delegator, Locale locale) Search get constraint strings list.static void
setResultSortOrder
(ContentSearch.ResultSortOrder resultSortOrder, HttpSession session) void
setViewIndex
(Integer viewIndex) void
setViewSize
(Integer viewSize)
-
Constructor Details
-
ContentSearchOptions
public ContentSearchOptions() -
ContentSearchOptions
Basic copy constructor
-
-
Method Details
-
getConstraintList
Gets constraint list.- Returns:
- the constraint list
-
getConstraintList
-
addConstraint
public static void addConstraint(ContentSearch.ContentSearchConstraint contentSearchConstraint, HttpSession session) -
getResultSortOrder
Gets result sort order.- Returns:
- the result sort order
-
getResultSortOrder
-
setResultSortOrder
public static void setResultSortOrder(ContentSearch.ResultSortOrder resultSortOrder, HttpSession session) -
clearSearchOptions
-
clearViewInfo
public void clearViewInfo()Clear view info. -
getViewIndex
- Returns:
- Returns the viewIndex.
-
setViewIndex
- Parameters:
viewIndex
- The viewIndex to set.
-
getViewSize
- Returns:
- Returns the viewSize.
-
setViewSize
- Parameters:
viewSize
- The viewSize to set.
-
searchGetConstraintStrings
public List<String> searchGetConstraintStrings(boolean detailed, Delegator delegator, Locale locale) Search get constraint strings list.- Parameters:
detailed
- the detaileddelegator
- the delegatorlocale
- the locale- Returns:
- the list
-