|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.endeca.index.dimension.DimensionRootNodeSynchronization
public class DimensionRootNodeSynchronization
Outputs the root node for an Endeca dimension. For example, when indexing the product catalog dimension hierarchy (composed of catalog and category nodes), outputs the root node for the dimension that root categories can refer to. Optionally outputs a dummy node when its Id is specified. This dummy node may be used as a placeholder to represent a dimension value that has not been indexed yet.
Created: November 22 2011
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
DimensionRootNodeSynchronization()
|
Method Summary | |
---|---|
void |
afterSessionStart(atg.repository.search.indexing.Context pContext)
This method is invoked immediately after a DocumentSubmitter session is started. |
void |
beforeSessionEnd(atg.repository.search.indexing.Context pContext)
This method is invoked immediately before a DocumentSubmitter session is closed. |
java.lang.String |
getDimensionName()
Returns property dimensionName. |
java.lang.String |
getDummyNodeDisplayName()
Returns property dummyNodeDisplayName. |
java.lang.String |
getDummyNodeId()
Returns property dummyNodeId. |
java.lang.String |
getDummyNodeIdPropertyName()
Returns property dummyNodeIdPropertyName. |
java.util.Locale[] |
getLocales()
Returns property locales. |
protected void |
outputDummyNode(atg.repository.search.indexing.Context pContext,
java.util.Locale pLocale)
Output a dummy node in the specified locale. |
protected void |
outputRootNode(atg.repository.search.indexing.Context pContext,
java.util.Locale pLocale)
Output the root node in the specified locale. |
void |
setDimensionName(java.lang.String pDimensionName)
Sets property dimensionName. |
void |
setDummyNodeDisplayName(java.lang.String pDummyNodeDisplayName)
Sets property dummyNodeDisplayName. |
void |
setDummyNodeId(java.lang.String pDummyNodeId)
Sets property dummyNodeId. |
void |
setDummyNodeIdPropertyName(java.lang.String pDummyNodeIdPropertyName)
Sets property dummyNodeIdPropertyName. |
void |
setLocales(java.util.Locale[] pLocales)
Sets property locales. |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public DimensionRootNodeSynchronization()
Method Detail |
---|
public void setDimensionName(java.lang.String pDimensionName)
public java.lang.String getDimensionName()
public void setLocales(java.util.Locale[] pLocales)
public java.util.Locale[] getLocales()
public void setDummyNodeId(java.lang.String pDummyNodeId)
public java.lang.String getDummyNodeId()
public void setDummyNodeDisplayName(java.lang.String pDummyNodeDisplayName)
public java.lang.String getDummyNodeDisplayName()
public void setDummyNodeIdPropertyName(java.lang.String pDummyNodeIdPropertyName)
public java.lang.String getDummyNodeIdPropertyName()
public void afterSessionStart(atg.repository.search.indexing.Context pContext) throws atg.repository.search.indexing.IndexingException
afterSessionStart
in interface atg.repository.search.indexing.IndexingSynchronization
pContext
- the Context for the current indexing operation. The
DocumentSubmitterSession
is available as a property, as is
the IndexingOutputConfig
and other state information.
atg.repository.search.indexing.IndexingException
protected void outputRootNode(atg.repository.search.indexing.Context pContext, java.util.Locale pLocale) throws atg.repository.search.indexing.IndexingException
atg.repository.search.indexing.IndexingException
protected void outputDummyNode(atg.repository.search.indexing.Context pContext, java.util.Locale pLocale) throws atg.repository.search.indexing.IndexingException
atg.repository.search.indexing.IndexingException
public void beforeSessionEnd(atg.repository.search.indexing.Context pContext) throws atg.repository.search.indexing.IndexingException
beforeSessionEnd
in interface atg.repository.search.indexing.IndexingSynchronization
pContext
- the Context for the current indexing operation. The
DocumentSubmitterSession
is available as a property, as is
the IndexingOutputConfig
and other state information.
atg.repository.search.indexing.IndexingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |