|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.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 java.lang.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 java.lang.String |
queryString
The query string. |
protected java.lang.String |
queryType
String representation of the query type. |
protected int |
viewSize
The viewSize. |
Constructor Summary | |
CatalogQueryWrapper(java.lang.String queryType,
java.lang.String queryString,
int maxResults,
java.lang.String catalogManagerName,
int viewSize)
Constructor with arguments. |
Method Summary | |
java.lang.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. |
java.lang.String |
getQueryString()
Get the value of queryString. |
java.lang.String |
getQueryType()
Get the value of queryType. |
int |
getViewSize()
Get the value of viewSize. |
protected void |
setCatalogManagerName(java.lang.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(java.lang.String v)
Set the value of queryString. |
protected void |
setQueryType(java.lang.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 KeywordQuery keywordQuery
protected ProductItemQuery productItemQuery
protected java.lang.String queryType
protected java.lang.String queryString
protected int maxResults
protected java.lang.String catalogManagerName
protected int viewSize
Constructor Detail |
public CatalogQueryWrapper(java.lang.String queryType, java.lang.String queryString, int maxResults, java.lang.String catalogManagerName, int viewSize) throws InvalidArgumentException
queryType
- The type of the query.queryString
- String representation of the query.Method Detail |
public KeywordQuery getKeywordQuery()
protected void setKeywordQuery(KeywordQuery v)
v
- Value to assign to keywordQuery.public ProductItemQuery getProductItemQuery()
protected void setProductItemQuery(ProductItemQuery v)
v
- Value to assign to productItemQuery.public java.lang.String getQueryType()
protected void setQueryType(java.lang.String v)
v
- Value to assign to queryType.public java.lang.String getQueryString()
protected void setQueryString(java.lang.String v)
v
- Value to assign to queryString.public int getMaxResults()
protected void setMaxResults(int v)
v
- Value to assign to maxResults.public java.lang.String getCatalogManagerName()
protected void setCatalogManagerName(java.lang.String v)
v
- Value to assign to catalogManagerName.public int getViewSize()
public void setViewSize(int v)
v
- Value to assign to viewSize.public CatalogQuery getQuery()
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |