| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.infront.content.MdexContentRequestBroker
public class MdexContentRequestBroker
Internal class used by Endeca cartridge handlers used to retrieve content using the MDEX-based rules engine -- Should not be used directly outside of Endeca content cartridge handlers.
| Field Summary | |
|---|---|
| protected static String | EVENT_EXECUTE | 
| protected  boolean | mAuditEnabled | 
| protected  MdexResource | mMdexResource | 
| protected  NavigationState | mNavigationState | 
| protected  UserState | mUserState | 
| static String | ZONE_KEYName of zone property in supplemental property map. | 
| Constructor Summary | |
|---|---|
| MdexContentRequestBroker(MdexResource pMdexResource,
                         NavigationState pNavigationState,
                         UserState pUserState,
                         boolean pAuditEnabled)Builds an MDEX Content Request Broker | |
| Method Summary | |
|---|---|
|  List<com.endeca.infront.content.support.AuditContentItem> | getAuditContents(String pContentCollection)This method is for internal Oracle use only and should never be called. If audit is enabled, returns the audit contents. | 
|  List<ContentItem> | getContents(String pContentCollection,
            int pRuleLimit)This method is for internal Oracle use only and should never be called. Query for rule-triggered content from a specified content collection. | 
|  boolean | isAuditEnabled()This method is for internal Oracle use only and should never be called. Returns a value indicating whether audit is enabled. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static final String EVENT_EXECUTE
public static final String ZONE_KEY
protected final MdexResource mMdexResource
protected final NavigationState mNavigationState
protected final UserState mUserState
protected final boolean mAuditEnabled
| Constructor Detail | 
|---|
public MdexContentRequestBroker(MdexResource pMdexResource,
                                NavigationState pNavigationState,
                                UserState pUserState,
                                boolean pAuditEnabled)
pMdexResource - Identifies the MDEX to querypNavigationState - The navigation statepUserState - The user segment and date state to use for content queriespAuditEnabled - True if audit should be enabled| Method Detail | 
|---|
public boolean isAuditEnabled()
public List<ContentItem> getContents(String pContentCollection,
                                     int pRuleLimit)
                              throws ContentException
pContentCollection - the ID of the content collectionpRuleLimit - an upper bound on the length of the content list
                           returned by this method.  If this value is
                           less than one, there is no limit.
ContentException - if an error in the system prevents access to the content
public List<com.endeca.infront.content.support.AuditContentItem> getAuditContents(String pContentCollection)
                                                                           throws ContentException
pContentCollection - the ID of the desired content collection
null.
ContentException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||