com.beasys.commerce.axiom.advisor.advislets
Class AdvisletHelper
java.lang.Object
|
+--com.beasys.commerce.axiom.advisor.advislets.AdvisletHelper
- public class AdvisletHelper
- extends java.lang.Object
This class contains static methods for various
Advislet helper methods.
- Version:
- $Revision: 7$, $Date: 1/4/00 3:53:37 PM$
- Author:
- Steve Willcox
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdvisletHelper
public AdvisletHelper()
getContentManager
public static ContentManager getContentManager(java.lang.String contentHome)
throws AdvisorException
- 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:
AdvisorException - If an error is encountered.
getRulesService
public static RulesService getRulesService()
throws AdvisorException
- Returns a RulesService Bean.
- Returns:
- RulesService A RulesService bean
- Throws:
AdvisorException - If an error is encountered.
createSearch
public static Search createSearch(ContentQueryAdviceRequest request)
throws AdvisorException
- Creates a Search object from a ContentQueryAdviceRequest.
- Parameters:
request - A ContentQueryAdviceRequest object.- Returns:
- Search A Search Object.
- Throws:
AdvisorException - If an error is encountered.
createSearch
public static Search createSearch(ContentSelectorAdviceRequest request,
ContentQuery contentQuery)
throws AdvisorException
- Creates a Search object from a ContentSelectorAdviceRequest.
- Parameters:
request - A ContentSelectorAdviceRequest object.contentQuery - A ContentQuery object.- Returns:
- Search A Search Object.
- Throws:
AdvisorException - If an error is encountered.
searchForContent
public static ContentQueryAdviceResults searchForContent(ContentQueryAdviceRequest request)
throws AdvisorException
- 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:
AdvisorException - If an error is encountered.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved