BEA Systems, Inc.

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

java.lang.Object
  |
  +--com.beasys.commerce.axiom.p13n.advisor.AbstractAdviceRequestImpl
        |
        +--com.beasys.commerce.axiom.p13n.agents.ClassificationAdviceRequestImpl

Deprecated. As of WLPS 3.1, replaced by ClassificationAdviceRequestImpl

public class ClassificationAdviceRequestImpl
extends AbstractAdviceRequestImpl
implements ClassificationAdviceRequest, java.io.Serializable

This is a concrete class implementation for a Classification 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  java.sql.Timestamp now
          Deprecated.  
protected  Request request
          Deprecated.  
protected  java.lang.String rule
          Deprecated.  
protected  java.lang.String ruleSheet
          Deprecated.  
protected  Session session
          Deprecated.  
protected  ConfigurableEntity successor
          Deprecated.  
protected  ConfigurableEntity user
          Deprecated.  
 
Fields inherited from class com.beasys.commerce.axiom.p13n.advisor.AbstractAdviceRequestImpl
agent
 
Constructor Summary
ClassificationAdviceRequestImpl(Agent agent)
          Deprecated. Creates a new instance of a ClassificationAdviceRequest object.
 
Method Summary
 Request getHttpRequest()
          Deprecated. Returns the com.beasys.commerce.axiom.p13n.http.Request object for this request.
 Session getHttpSession()
          Deprecated. Returns the com.beasys.commerce.axiom.p13n.http.Session object for this request.
 java.sql.Timestamp getNow()
          Deprecated. Returns the Now object for this request.
 java.lang.String getRule()
          Deprecated. Returns the name of the rule associated with the requset.
 java.lang.String getRuleSheet()
          Deprecated. Returns the name of the rule sheet associated with the request.
 ConfigurableEntity getSuccessor()
          Deprecated. Returns the Successor object for this user for this request.
 ConfigurableEntity getUser()
          Deprecated. Returns the user ConfigurableEntity object.
 void setHttpRequest(Request request)
          Deprecated. Sets the com.beasys.commerce.axiom.p13n.http.Request object for this request.
 void setHttpSession(Session session)
          Deprecated. Sets the com.beasys.commerce.axiom.p13n.http.Session object for this request.
 void setNow(java.sql.Timestamp now)
          Deprecated. Sets the Now object for this request.
 void setRule(java.lang.String rule)
          Deprecated. Sets the name of the rule associated with the request.
 void setRuleSheet(java.lang.String ruleSheet)
          Deprecated. Sets the name of the rule sheet associated with the request.
 void setSuccessor(ConfigurableEntity successor)
          Deprecated. Sets the Successor object for this user for this request.
 void setUser(ConfigurableEntity user)
          Deprecated. Sets the user ConfigurableEntity object for this 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
 

Field Detail

ruleSheet

protected java.lang.String ruleSheet
Deprecated. 

rule

protected java.lang.String rule
Deprecated. 

user

protected ConfigurableEntity user
Deprecated. 

successor

protected ConfigurableEntity successor
Deprecated. 

now

protected java.sql.Timestamp now
Deprecated. 

request

protected Request request
Deprecated. 

session

protected Session session
Deprecated. 
Constructor Detail

ClassificationAdviceRequestImpl

public ClassificationAdviceRequestImpl(Agent agent)
Deprecated. 
Creates a new instance of a ClassificationAdviceRequest 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

getRuleSheet

public java.lang.String getRuleSheet()
Deprecated. 
Returns the name of the rule sheet associated with the request.
Returns:
String The rule sheet associated with this request.

setRuleSheet

public void setRuleSheet(java.lang.String ruleSheet)
Deprecated. 
Sets the name of the rule sheet associated with the request.
Parameters:
String - The rule sheet associated with this request.

getRule

public java.lang.String getRule()
Deprecated. 
Returns the name of the rule associated with the requset.
Returns:
String The rule associated with this request.

setRule

public void setRule(java.lang.String rule)
Deprecated. 
Sets the name of the rule associated with the request.
Parameters:
String - The rule associated with this request.

getUser

public ConfigurableEntity getUser()
Deprecated. 
Returns the user ConfigurableEntity object.
Specified by:
getUser in interface ClassificationAdviceRequest
Returns:
User The ConfigurablEntity object.

setUser

public void setUser(ConfigurableEntity user)
Deprecated. 
Sets the user ConfigurableEntity object for this request.
Specified by:
setUser in interface ClassificationAdviceRequest
Parameters:
user - The ConfigurablEntity object for this request.

getSuccessor

public ConfigurableEntity getSuccessor()
Deprecated. 
Returns the Successor object for this user for this request.
Specified by:
getSuccessor in interface ClassificationAdviceRequest
Returns:
ConfigurableEntity The successor object.

setSuccessor

public void setSuccessor(ConfigurableEntity successor)
Deprecated. 
Sets the Successor object for this user for this request.
Specified by:
setSuccessor in interface ClassificationAdviceRequest
Parameters:
successor - The successor object for this user for this request.

getNow

public java.sql.Timestamp getNow()
Deprecated. 
Returns the Now object for this request.
Specified by:
getNow in interface ClassificationAdviceRequest
Returns:
java.sql.Timestamp The Now object.

setNow

public void setNow(java.sql.Timestamp now)
Deprecated. 
Sets the Now object for this request.
Specified by:
setNow in interface ClassificationAdviceRequest
Parameters:
now - The java.sql.Timestamp object for this request.

getHttpRequest

public Request getHttpRequest()
Deprecated. 
Returns the com.beasys.commerce.axiom.p13n.http.Request object for this request.
Specified by:
getHttpRequest in interface ClassificationAdviceRequest
Returns:
com.beasys.commerce.axiom.p13n.http.Request The request object.

setHttpRequest

public void setHttpRequest(Request request)
Deprecated. 
Sets the com.beasys.commerce.axiom.p13n.http.Request object for this request.
Specified by:
setHttpRequest in interface ClassificationAdviceRequest
Parameters:
now - The com.beasys.commerce.axiom.p13n.http.Request object for this request.

getHttpSession

public Session getHttpSession()
Deprecated. 
Returns the com.beasys.commerce.axiom.p13n.http.Session object for this request.
Specified by:
getHttpSession in interface ClassificationAdviceRequest
Returns:
com.beasys.commerce.axiom.p13n.http.Session The request object.

setHttpSession

public void setHttpSession(Session session)
Deprecated. 
Sets the com.beasys.commerce.axiom.p13n.http.Session object for this request.
Specified by:
setHttpSession in interface ClassificationAdviceRequest
Parameters:
now - The com.beasys.commerce.axiom.p13n.http.Session object for this request.

validate

public void validate()
              throws AdviceRequestValidationException
Deprecated. 
Validates the request. A ClassificationAdviceRequest must have the following data in the request: ruleSheet - the URI string name of the rulesheet rule name - a string name of a rule input objects which include: - java.sql.Timestamp object for NOW - com.beasys.commerce.axiom.contact.User - com.beasys.commerce.axiom.p13n.agents.Successor (optional) - com.beasys.commerce.axiom.p13n.http.Request - com.beasys.commerce.axiom.p13n.http.Session
Overrides:
validate in class AbstractAdviceRequestImpl
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