BEA Systems, Inc.

com.beasys.commerce.axiom.p13n.advisor
Class AbstractAdviceRequestImpl

java.lang.Object
  |
  +--com.beasys.commerce.axiom.p13n.advisor.AbstractAdviceRequestImpl
Direct Known Subclasses:
ClassificationAdviceRequestImpl, ContentQueryAdviceRequestImpl, ContentSelectorAdviceRequestImpl

Deprecated. As of WLPS 3.1, replaced by AbstractAdviceRequestImpl

public abstract class AbstractAdviceRequestImpl
extends java.lang.Object
implements AdviceRequest, java.io.Serializable

This is a concrete class implementation for an advice request. Note, all Advice Request classes must be Serializable. Make sure that all data in this object are Serializable.

See Also:
Serialized Form

Field Summary
protected  Agent agent
          Deprecated.  
 
Constructor Summary
AbstractAdviceRequestImpl(Agent agent)
          Deprecated. Creates a new instance of an AdviceRequest object.
 
Method Summary
 Agent getAgent()
          Deprecated. Returns the personalization agent for this type of request.
abstract  void validate()
          Deprecated. Validates the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

agent

protected Agent agent
Deprecated. 
Constructor Detail

AbstractAdviceRequestImpl

public AbstractAdviceRequestImpl(Agent agent)
Deprecated. 
Creates a new instance of an AdviceRequest object. This method is meant to be called by the Personalization Advisor which acts as a factory for all AdviceRequest objects.
Parameters:
agent - The default personalization agent to use for making recommendations.
Method Detail

getAgent

public Agent getAgent()
Deprecated. 
Returns the personalization agent for this type of request.
Specified by:
getAgent in interface AdviceRequest
Returns:
Agent The personalization agent that gives advise for this kind of AdviceRequest.

validate

public abstract void validate()
                       throws AdviceRequestValidationException
Deprecated. 
Validates the request.
Specified by:
validate in interface AdviceRequest
Throws:
AdviceRequestValidationException - thrown when not valid. The message in the exception indicates the validation error.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved