BEA Systems, Inc.

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

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

Deprecated. As of WLPS 3.1, replaced by ContentSelectorAdvisletImpl

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

This class is the implementation class for a ContentSelector Agent that handles getting advise for a ContentSelector Request. A ContentSelector Request is request to the rules service to determine if a user is classified according to the classifier rule in the content selector rule. If the classifier rule evaluated to true, then a search for content based on the content selector's attribute query expression is performed and the matching content documents are returned. A ContentSelectorAgentImpl expects a ContentSelectorAdviceRequest as input and returns ContentQueryAdviceResults.

See Also:
Serialized Form

Constructor Summary
ContentSelectorAgentImpl()
          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

ContentSelectorAgentImpl

public ContentSelectorAgentImpl()
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 ContentSelectorAgent, the request class is: ContentQueryAdviceRequest For the ContentSelectorAgent, the results class is: ContentQueryAdviceResults
Specified by:
advise in interface Agent
Parameters:
adviceRequest - The ContentSelectorAdviceRequest 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