Cartridge can be defined as the components, that serve
specific purpose in the pages or it may be defined as the dynamic content that
was loaded in to the Content item.
Cartridges can be defined by both custom and reuse the
OOTB one. Oracle commerce guided search provides the easiest way , so that we can extend the OOTB
one and customize based upon our project
need.
What are the Default Methods of the Cartridge handlers?
There may be some default methods available in the handlers
, that should be taken in to account while extending it.
public void
preprocess
This method is the First method to be called when the
scope comes to the Handler from the nucleus assembler factory. It can also be
defined as the method where we set the query to be returned from the endeca, pCartridgeConfig is the handler
config which is used for this purpose.Setting up the Rollup key, adding the
dynamic filters will also be done in this method.
public <HandlerType>
process
This is the Method used for the processing of the
results, creating mdex query and firing it and getting the ENEResults, from the
results we can able to fetch the Required . We can also manipulate the Results
based on the specific condition. This method where the returntype will be
return type of the Handler.
Hence the above two method are considered to be
the default method to be considered when extending the handlers.
What are the Default Cartridges avalaible in
Endeca OOTB
RefinementMenu
HorizontalRecordSpotlight
ResultsList
SearchBox
Other Existing Endeca Cartridges
The
DAF.Endeca.Assembler
module includes configuration, in the /atg/endeca/assembler/cartridge/handler/
Nucleus folder, for additional existing Oracle Endeca cartridge
handlers from the com.endeca.infront.cartridge
package. The table below provides a list of these cartridge
handlers (note that some of these cartridges handlers are used by Commerce
Reference Store and some are not):
Nucleus
Component
|
Cartridge Handler
Class
|
BreadcrumbsHandler |
|
ContentIncludeHandler |
|
ContentSlotHandler |
|
DimensionSearchResultsHandler |
|
NavigationCartridgeHandler |
|
NavigationContainerHandler |
|
RecordBasedNavigationCartridgeHandler |
|
RecordDetailsHandler |
|
RecordSpotlightHandler |
|
RefinementMenuHandler |
|
SearchAdjustmentsHandler |
We can also see about the individual handlers in the
upcoming tutorials.
No comments:
Write comments