Class ProductSearchSession.ProductSearchOptions

java.lang.Object
org.apache.ofbiz.product.product.ProductSearchSession.ProductSearchOptions
All Implemented Interfaces:
Serializable
Enclosing class:
ProductSearchSession

public static class ProductSearchSession.ProductSearchOptions extends Object implements Serializable
See Also:
  • Constructor Details

  • Method Details

    • getConstraintList

      public List<ProductSearch.ProductSearchConstraint> getConstraintList()
      Gets constraint list.
      Returns:
      the constraint list
    • getConstraintList

      public static List<ProductSearch.ProductSearchConstraint> getConstraintList(HttpSession session)
    • addConstraint

      public static void addConstraint(ProductSearch.ProductSearchConstraint productSearchConstraint, HttpSession session)
    • getResultSortOrder

      public ProductSearch.ResultSortOrder getResultSortOrder()
      Gets result sort order.
      Returns:
      the result sort order
    • getResultSortOrder

      public static ProductSearch.ResultSortOrder getResultSortOrder(HttpServletRequest request)
    • setResultSortOrder

      public static void setResultSortOrder(ProductSearch.ResultSortOrder resultSortOrder, HttpSession session)
    • clearSearchOptions

      public static void clearSearchOptions(HttpSession session)
    • clearViewInfo

      public void clearViewInfo()
      Clear view info.
    • getViewIndex

      public Integer getViewIndex()
      Get the view size
      Returns:
      returns the viewIndex.
    • setViewIndex

      public void setViewIndex(Integer viewIndex)
      Set the view index
      Parameters:
      viewIndex - the viewIndex to set.
    • setViewIndex

      public void setViewIndex(String viewIndexStr)
      Set the view index
      Parameters:
      viewIndexStr - the viewIndex to set.
    • getViewSize

      public Integer getViewSize()
      Get the view size
      Returns:
      returns the view size.
    • setViewSize

      public void setViewSize(Integer viewSize)
      Set the view size
      Parameters:
      viewSize - the view size to set.
    • setViewSize

      public void setViewSize(String viewSizeStr)
      Set the view size
      Parameters:
      viewSizeStr - the view size to set.
    • getPaging

      public String getPaging()
      Get the paging
      Returns:
      Returns the paging
    • setPaging

      public void setPaging(String paging)
      Set the paging
      Parameters:
      paging - the paging to set
    • getPreviousViewSize

      public Integer getPreviousViewSize()
      Get the previous view size
      Returns:
      returns the previous view size
    • setPreviousViewSize

      public void setPreviousViewSize(Integer previousViewSize)
      Set the previous view size
      Parameters:
      previousViewSize - the previousViewSize to set.
    • getTopProductCategoryId

      public String getTopProductCategoryId()
      Gets top product category id.
      Returns:
      the top product category id
    • setTopProductCategoryId

      public static void setTopProductCategoryId(String topProductCategoryId, HttpSession session)
    • setTopProductCategoryId

      public void setTopProductCategoryId(String topProductCategoryId)
      Sets top product category id.
      Parameters:
      topProductCategoryId - the top product category id
    • searchGetConstraintStrings

      public List<String> searchGetConstraintStrings(boolean detailed, Delegator delegator, Locale locale)
      Search get constraint strings list.
      Parameters:
      detailed - the detailed
      delegator - the delegator
      locale - the locale
      Returns:
      the list
    • searchGetConstraintStrings

      public List<String> searchGetConstraintStrings(boolean detailed, LocalDispatcher dispatcher, Locale locale)
      Search get constraint strings list.
      Parameters:
      detailed - the detailed
      dispatcher - the dispatcher
      locale - the locale
      Returns:
      the list