|
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.axiom.p13n.advisor.AbstractAdviceRequestImpl | +--com.beasys.commerce.axiom.p13n.agents.ContentQueryAdviceRequestImpl
ContentQueryAdviceRequestImpl
This is a concrete class implementation for a ContentQuery advice request. Note, all Advice Request classes must be Serializable. Make sure that all data in this object are Serializable.
Field Summary | |
protected java.lang.String |
contentHome
Deprecated. |
protected long |
max
Deprecated. |
protected java.lang.String |
query
Deprecated. |
protected java.lang.String |
sortBy
Deprecated. |
Fields inherited from class com.beasys.commerce.axiom.p13n.advisor.AbstractAdviceRequestImpl |
agent |
Constructor Summary | |
ContentQueryAdviceRequestImpl(Agent agent)
Deprecated. Creates a new instance of a ContentQueryAdviceRequest object. |
Method Summary | |
java.lang.String |
getContentHome()
Deprecated. Gets the content ejb home JNDI name for the content manager to use for the content query request. |
long |
getMax()
Deprecated. Gets the maximum number of content items to return from a content query request. |
java.lang.String |
getQuery()
Deprecated. Gets the content query string used to search for content. |
java.lang.String |
getSortBy()
Deprecated. Gets the sort string used that is used to sort the content items returned from the content query request. |
void |
setContentHome(java.lang.String contentHome)
Deprecated. Sets the content ejb home JNDI name for the content manager to use for the content query request. |
void |
setMax(long max)
Deprecated. Sets the maximum number of content items to return from a content query request. |
void |
setQuery(java.lang.String query)
Deprecated. Sets the content query string used to search for content. |
void |
setSortBy(java.lang.String sortBy)
Deprecated. Sets the sort string used that is used to sort the content items returned from the content query request. |
void |
validate()
Deprecated. Validates the request. |
Methods inherited from class com.beasys.commerce.axiom.p13n.advisor.AbstractAdviceRequestImpl |
getAgent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.beasys.commerce.axiom.p13n.advisor.AdviceRequest |
getAgent |
Field Detail |
protected long max
protected java.lang.String sortBy
protected java.lang.String contentHome
protected java.lang.String query
Constructor Detail |
public ContentQueryAdviceRequestImpl(Agent agent)
agent
- The default personalization agent to use for making
recommendations.Method Detail |
public long getMax()
getMax
in interface ContentQueryAdviceRequest
public void setMax(long max)
setMax
in interface ContentQueryAdviceRequest
max
- The maximum number of content items to return.public java.lang.String getSortBy()
getSortBy
in interface ContentQueryAdviceRequest
public void setSortBy(java.lang.String sortBy)
setSortBy
in interface ContentQueryAdviceRequest
sortBy
- The sortBy string.public java.lang.String getContentHome()
getContentHome
in interface ContentQueryAdviceRequest
public void setContentHome(java.lang.String contentHome)
setContentHome
in interface ContentQueryAdviceRequest
String
- The content ejb home JNDI name.public java.lang.String getQuery()
getQuery
in interface ContentQueryAdviceRequest
public void setQuery(java.lang.String query)
setQuery
in interface ContentQueryAdviceRequest
public void validate() throws AdviceRequestValidationException
validate
in interface AdviceRequest
validate
in class AbstractAdviceRequestImpl
AdviceRequestValidationException
- thrown when not valid. The
message in the exception indicates the validation error.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |