|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beasys.commerce.ebusiness.catalog.rules.CatalogQueryWrapper
A wrapper/helper class that wraps a
com.beasys.commerce.ebusiness.catalog.service.query.CatalogQuery
and helps create an instance of the latter. The rules service creates this object
by passing as arguments the type of the CatalogQuery and the query string.
Field Summary | |
protected String |
catalogManagerName
The CatalogManagerName. |
protected KeywordQuery |
keywordQuery
The wrapped KeywordQuery. |
protected int |
maxResults
The max query results returned. |
protected ProductItemQuery |
productItemQuery
The wrapped ProductItemQuery. |
protected String |
queryString
The query string. |
protected String |
queryType
String representation of the query type. |
protected int |
viewSize
The viewSize. |
Fields inherited from interface com.beasys.commerce.ebusiness.catalog.rules.CatalogRuleConstants |
KEYWORD_QUERY, PRODUCT_ITEM_QUERY |
Constructor Summary | |
CatalogQueryWrapper(String queryType,
String queryString,
int maxResults,
String catalogManagerName,
int viewSize)
Constructor with arguments. |
Method Summary | |
String |
getCatalogManagerName()
Get the value of catalogManagerName. |
KeywordQuery |
getKeywordQuery()
Get the value of keywordQuery. |
int |
getMaxResults()
Get the value of maxResults. |
ProductItemQuery |
getProductItemQuery()
Get the value of productItemQuery. |
CatalogQuery |
getQuery()
Hands out the one query object that this class wraps. |
String |
getQueryString()
Get the value of queryString. |
String |
getQueryType()
Get the value of queryType. |
int |
getViewSize()
Get the value of viewSize. |
protected void |
setCatalogManagerName(String v)
Set the value of catalogManagerName. |
protected void |
setKeywordQuery(KeywordQuery v)
Set the value of keywordQuery. |
protected void |
setMaxResults(int v)
Set the value of maxResults. |
protected void |
setProductItemQuery(ProductItemQuery v)
Set the value of productItemQuery. |
protected void |
setQueryString(String v)
Set the value of queryString. |
protected void |
setQueryType(String v)
Set the value of queryType. |
void |
setViewSize(int v)
Set the value of viewSize. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String catalogManagerName
protected KeywordQuery keywordQuery
protected int maxResults
protected ProductItemQuery productItemQuery
protected String queryString
protected String queryType
protected int viewSize
Constructor Detail |
public CatalogQueryWrapper(String queryType, String queryString, int maxResults, String catalogManagerName, int viewSize) throws InvalidArgumentException
InvalidArgumentException
- If there are null arguments.Method Detail |
public String getCatalogManagerName()
public KeywordQuery getKeywordQuery()
public int getMaxResults()
public ProductItemQuery getProductItemQuery()
public CatalogQuery getQuery()
public String getQueryString()
public String getQueryType()
public int getViewSize()
protected void setCatalogManagerName(String v)
v
- Value to assign to catalogManagerName.protected void setKeywordQuery(KeywordQuery v)
v
- Value to assign to keywordQuery.protected void setMaxResults(int v)
v
- Value to assign to maxResults.protected void setProductItemQuery(ProductItemQuery v)
v
- Value to assign to productItemQuery.protected void setQueryString(String v)
v
- Value to assign to queryString.protected void setQueryType(String v)
v
- Value to assign to queryType.public void setViewSize(int v)
v
- Value to assign to viewSize.
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |