BEA Systems, Inc.

com.beasys.commerce.axiom.p13n.agents
Class ContentQueryAgentImpl

java.lang.Object
  |
  +--com.beasys.commerce.axiom.p13n.agents.ContentQueryAgentImpl

Deprecated. As of WLPS 3.1, replaced by ContentQueryAdvisletImpl

public final class ContentQueryAgentImpl
extends java.lang.Object
implements Agent, java.io.Serializable

This class is the implementation class for a ContentQuery Agent that handles getting advise for a ContentQuery Request. A ContentQuery Request is an search for content based on content attribute matching. A ContentQueryAgentImpl expects a ContentQueryAdviceRequest as input and returns ContentQueryAdviceResults.

See Also:
Serialized Form

Constructor Summary
ContentQueryAgentImpl()
          Deprecated.  
 
Method Summary
 AdviceResults advise(AdviceRequest adviceRequest)
          Deprecated. This method makes recommendations based the AdviceRequest passed in.
 java.lang.String getName()
          Deprecated. Gets the name of the agent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentQueryAgentImpl

public ContentQueryAgentImpl()
Deprecated. 
Method Detail

advise

public AdviceResults advise(AdviceRequest adviceRequest)
                     throws java.lang.IllegalArgumentException,
                            PersonalizationAdvisorException,
                            AdviceRequestValidationException
Deprecated. 
This method makes recommendations based the AdviceRequest passed in. For the ContentQueryAgent, the request class is: ContentQueryAdviceRequest For the ContentQueryAgent, the results class is: ContentQueryAdviceResults
Specified by:
advise in interface Agent
Parameters:
adviceRequest - The ContentQueryAdviceRequest for which to make a recommendation.
Returns:
AdviceResults The ContentQueryAdviceResults results which contain the content recommendations for the request.
Throws:
java.lang.IllegalArgumentException - Thrown if the adviceRequest parameter is null or an unsupported type.
PersonalizationAdvisorException - thrown on an error when processing the request.
AdviceRequestValidationException - thrown on an error when validating the request.

getName

public java.lang.String getName()
Deprecated. 
Gets the name of the agent.
Specified by:
getName in interface Agent
Returns:
String The name of the agent.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved