public class ActorInvokingCartridgeHandler
extends com.endeca.infront.cartridge.NavigationCartridgeHandler<com.endeca.infront.assembler.ContentItem,com.endeca.infront.assembler.ContentItem>
ActorInvokingCartridgeHandler - this cartridge invokes a user specified Actor in the process() method and passes the Actor parameters defined in the contentItemAdditionsMap property
Properties:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Constructor and Description |
---|
ActorInvokingCartridgeHandler() |
Modifier and Type | Method and Description |
---|---|
atg.service.actor.ActorExecutor |
getActorExecutor() |
atg.service.actor.Actor |
getActorToInvoke() |
atg.nucleus.ResolvingMap |
getContentItemAdditionsMap() |
java.lang.String |
getOutputModelPropertyName()
The property name in ContentItem of the actor output
|
com.endeca.infront.assembler.ContentItem |
process(com.endeca.infront.assembler.ContentItem pCartridgeConfig)
This method invokes the actor "actorToInvoke." The properties set in "contentItemsAdditionsMap" will be passed
to the actor in "currentContentItem."
|
void |
setActorExecutor(atg.service.actor.ActorExecutor pActorExecutor) |
void |
setActorToInvoke(atg.service.actor.Actor pActorToInvoke) |
void |
setContentItemAdditionsMap(atg.nucleus.ResolvingMap pContentItemAdditionsMap) |
void |
setOutputModelPropertyName(java.lang.String pOutputModelPropertyName)
Sets the property name in ContentItem of the actor output
|
protected com.endeca.infront.assembler.ContentItem |
wrapConfig(com.endeca.infront.assembler.ContentItem pContentItem)
Create a new BasicContentItem using the passed in ContentItem.
|
createMdexRequest, dispatchNavigationEventInformation, executeMdexRequest, executeMdexRequest, getActionPathProvider, getContentItemInitializer, getMdexRequestBroker, getNavigationState, getSiteState, getUserState, initialize, populateNavigationPathDefaults, preprocess, setActionPathProvider, setContentItemInitializer, setMdexRequestBroker, setNavigationState, setSiteState, setUserState
public static final java.lang.String CLASS_VERSION
public atg.service.actor.ActorExecutor getActorExecutor()
public void setActorExecutor(atg.service.actor.ActorExecutor pActorExecutor)
pActorExecutor
- the actorExecutor to setpublic atg.service.actor.Actor getActorToInvoke()
public void setActorToInvoke(atg.service.actor.Actor pActorToInvoke)
pActorToInvoke
- the actor that will be invoked in the process methodpublic atg.nucleus.ResolvingMap getContentItemAdditionsMap()
public void setContentItemAdditionsMap(atg.nucleus.ResolvingMap pContentItemAdditionsMap)
pContentItemAdditionsMap
- Set a new ContentItemAdditionsMap mappublic java.lang.String getOutputModelPropertyName()
public void setOutputModelPropertyName(java.lang.String pOutputModelPropertyName)
pOutputModelPropertyName
- the outputModelPropertyName to setprotected com.endeca.infront.assembler.ContentItem wrapConfig(com.endeca.infront.assembler.ContentItem pContentItem)
wrapConfig
in class com.endeca.infront.cartridge.NavigationCartridgeHandler<com.endeca.infront.assembler.ContentItem,com.endeca.infront.assembler.ContentItem>
pContentItem
- The cartridge content item to be wrapped.public com.endeca.infront.assembler.ContentItem process(com.endeca.infront.assembler.ContentItem pCartridgeConfig)
This method invokes the actor "actorToInvoke." The properties set in "contentItemsAdditionsMap" will be passed to the actor in "currentContentItem."
process
in interface com.endeca.infront.assembler.CartridgeHandler<com.endeca.infront.assembler.ContentItem>
process
in class com.endeca.infront.cartridge.NavigationCartridgeHandler<com.endeca.infront.assembler.ContentItem,com.endeca.infront.assembler.ContentItem>
pCartridgeConfig
- ContentItem to pass to the actor