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 |
---|---|
ActorExecutor |
getActorExecutor() |
atg.service.actor.Actor |
getActorToInvoke() |
atg.nucleus.ResolvingMap |
getContentItemAdditionsMap() |
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(ActorExecutor pActorExecutor) |
void |
setActorToInvoke(atg.service.actor.Actor pActorToInvoke) |
void |
setContentItemAdditionsMap(atg.nucleus.ResolvingMap pContentItemAdditionsMap) |
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, initialize, populateNavigationPathDefaults, preprocess, setActionPathProvider, setContentItemInitializer, setMdexRequestBroker, setNavigationState
public static final java.lang.String CLASS_VERSION
public ActorExecutor getActorExecutor()
public void setActorExecutor(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 mapprotected 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