public class DynamicPropertySchemaSynchronization extendsimplements atg.repository.search.indexing.IndexingSynchronization, atg.repository.search.indexing.ProcessingPropertiesCallback
Created: January 25 2012
Modifier and Type | Class and Description |
---|---|
static class |
DynamicPropertySchemaSynchronization.DynamicOutputPropertyInfo
A class that to track dynamic output property info.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_DYNAMIC_PROPERTIES
The context attribute used to store dynamic properties.
|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
DynamicPropertySchemaSynchronization() |
Modifier and Type | Method and Description |
---|---|
void |
afterSessionStart(Context pContext)
This method is invoked immediately after a DocumentSubmitter session
is started.
|
protected Records |
createAdditionalRecordsForCurrentApplication(EndecaContext pContext) |
void |
doStartService() |
java.util.Map<java.lang.String,java.lang.String> |
getEveryDynamicSchemaRecordProperties()
Returns property everyDynamicSchemaRecordProperties.
|
protected java.util.List<atg.repository.search.indexing.specifier.OutputProperty> |
getOutputPropertiesForApplication(java.util.Collection<DynamicPropertySchemaSynchronization.DynamicOutputPropertyInfo> pInfos,
java.lang.String pApplicationName)
Return the list of output properties associated with the specified
locale.
|
SchemaExporter |
getSchemaExporter()
Returns property schemaExporter.
|
java.lang.String |
getSchemaExporterPath()
Returns property schemaExporterPath.
|
protected void |
modifyRecords(java.util.List<atg.repository.search.indexing.specifier.OutputProperty> pSourceProperties,
Records pRecords,
java.util.Locale pLocale)
Make any modify the records generated by the specified locale.
|
void |
processingProperties(Context pContext,
RepositoryItem pItem,
atg.repository.search.indexing.specifier.OutputItemSpecifier pSpecifier,
atg.repository.search.indexing.specifier.OutputProperty[] pProperties,
boolean pIsMeta,
java.util.Map<atg.repository.search.indexing.specifier.OutputProperty,java.lang.Object> pGeneratorMap) |
void |
setEveryDynamicSchemaRecordProperties(java.util.Map<java.lang.String,java.lang.String> pEveryDynamicSchemaRecordProperties)
Sets property everyDynamicSchemaRecordProperties.
|
void |
setSchemaExporter(SchemaExporter pSchemaExporter)
Sets property schemaExporter.
|
void |
setSchemaExporterPath(java.lang.String pSchemaExporterPath)
Sets property schemaExporterPath.
|
protected boolean |
shouldSubmitAdditionalRecords(EndecaContext pEndecaContext) |
public static java.lang.String CLASS_VERSION
public static final java.lang.String ATTR_DYNAMIC_PROPERTIES
public DynamicPropertySchemaSynchronization()
public void setEveryDynamicSchemaRecordProperties(java.util.Map<java.lang.String,java.lang.String> pEveryDynamicSchemaRecordProperties)
public java.util.Map<java.lang.String,java.lang.String> getEveryDynamicSchemaRecordProperties()
public void setSchemaExporter(SchemaExporter pSchemaExporter)
public SchemaExporter getSchemaExporter()
public void setSchemaExporterPath(java.lang.String pSchemaExporterPath)
public java.lang.String getSchemaExporterPath()
public void afterSessionStart(Context pContext) throws 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.IndexingException
protected boolean shouldSubmitAdditionalRecords(EndecaContext pEndecaContext)
protected Records createAdditionalRecordsForCurrentApplication(EndecaContext pContext)
protected void modifyRecords(java.util.List<atg.repository.search.indexing.specifier.OutputProperty> pSourceProperties, Records pRecords, java.util.Locale pLocale)
protected java.util.List<atg.repository.search.indexing.specifier.OutputProperty> getOutputPropertiesForApplication(java.util.Collection<DynamicPropertySchemaSynchronization.DynamicOutputPropertyInfo> pInfos, java.lang.String pApplicationName)
pTryWithoutVariantAndCountry.
- If set to true tries to match the locale
firstly with the language_country_variant. If this is not successful try to
match without the variant and countrypublic void processingProperties(Context pContext, RepositoryItem pItem, atg.repository.search.indexing.specifier.OutputItemSpecifier pSpecifier, atg.repository.search.indexing.specifier.OutputProperty[] pProperties, boolean pIsMeta, java.util.Map<atg.repository.search.indexing.specifier.OutputProperty,java.lang.Object> pGeneratorMap)
processingProperties
in interface atg.repository.search.indexing.ProcessingPropertiesCallback
public void doStartService() throws ServiceException
ServiceException