BEA Systems, Inc.

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

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

Deprecated. As of WLPS 3.1, replaced by AdvisletHelper

public class AgentHelper
extends java.lang.Object

This class contains static methods for various Agent helper methods.


Constructor Summary
AgentHelper()
          Deprecated.  
 
Method Summary
static Search createSearch(ContentQueryAdviceRequest request)
          Deprecated. Creates a Search object from a ContentQueryAdviceRequest.
static Search createSearch(ContentSelectorAdviceRequest request, com.beasys.commerce.axiom.reasoning.rules.results.ContentQuery contentQuery)
          Deprecated. Creates a Search object from a ContentSelectorAdviceRequest.
static ContentManager getContentManager(java.lang.String contentHome)
          Deprecated. Returns a ContentManager for the JNDI content manager home name passed in.
static RulesService getRulesService()
          Deprecated. Returns a RulesService Bean.
static ContentQueryAdviceResults searchForContent(ContentQueryAdviceRequest request)
          Deprecated. Helper method to search of content using the information in a ContentQueryAdviceRequest object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentHelper

public AgentHelper()
Deprecated. 
Method Detail

getContentManager

public static ContentManager getContentManager(java.lang.String contentHome)
                                        throws PersonalizationAdvisorException
Deprecated. 
Returns a ContentManager for the JNDI content manager home name passed in.
Parameters:
contentHome - The JNDI content manager home name.
Returns:
ContentManager A ContentManger for the JNDI home name.
Throws:
PersonalizationAdvisorException - If an error is encountered.

getRulesService

public static RulesService getRulesService()
                                    throws PersonalizationAdvisorException
Deprecated. 
Returns a RulesService Bean.
Returns:
RulesService A RulesService bean
Throws:
PersonalizationAdvisorException - If an error is encountered.

createSearch

public static Search createSearch(ContentQueryAdviceRequest request)
                           throws PersonalizationAdvisorException
Deprecated. 
Creates a Search object from a ContentQueryAdviceRequest.
Parameters:
request - A ContentQueryAdviceRequest object.
Returns:
Search A Search Object.
Throws:
PersonalizationAdvisorException - If an error is encountered.

createSearch

public static Search createSearch(ContentSelectorAdviceRequest request,
                                  com.beasys.commerce.axiom.reasoning.rules.results.ContentQuery contentQuery)
                           throws PersonalizationAdvisorException
Deprecated. 
Creates a Search object from a ContentSelectorAdviceRequest.
Parameters:
request - A ContentSelectorAdviceRequest object.
contentQuery - A ContentQuery object.
Returns:
Search A Search Object.
Throws:
PersonalizationAdvisorException - If an error is encountered.

searchForContent

public static ContentQueryAdviceResults searchForContent(ContentQueryAdviceRequest request)
                                                  throws PersonalizationAdvisorException
Deprecated. 
Helper method to search of content using the information in a ContentQueryAdviceRequest object.
Parameters:
request - A ContentQueryAdviceRequest object.
Returns:
ContentQueryAdviceResults The results of the search.
Throws:
PersonalizationAdvisorException - If an error is encountered.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved