BEA Systems, Inc.

com.beasys.commerce.axiom.advisor.advislets
Class ContentQueryAdvisletImpl

java.lang.Object
  |
  +--com.beasys.commerce.axiom.advisor.advislets.ContentQueryAdvisletImpl

public final class ContentQueryAdvisletImpl
extends java.lang.Object
implements Advislet, java.io.Serializable

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

See Also:
Serialized Form

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

Constructor Detail

ContentQueryAdvisletImpl

public ContentQueryAdvisletImpl()
Method Detail

advise

public AdviceResults advise(AdviceRequest adviceRequest)
                     throws java.lang.IllegalArgumentException,
                            AdvisorException,
                            AdviceRequestValidationException
This method makes recommendations based the AdviceRequest passed in. For the ContentQueryAdvislet, the request class is: ContentQueryAdviceRequest For the ContentQueryAdvislet, the results class is: ContentQueryAdviceResults
Specified by:
advise in interface Advislet
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.
AdvisorException - thrown on an error when processing the request.
AdviceRequestValidationException - thrown on an error when validating the request.

getName

public java.lang.String getName()
Gets the name of the advislet.
Returns:
String The name of the advislet.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved