|
||||||||||
| 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.repository.search.indexing.PropertyAccessorImpl
atg.repository.search.indexing.accessor.LanguagePropertyAccessor
public class LanguagePropertyAccessor
this propertyAccessor is use to get and return the correct translation of the property of the item for the process of indexing
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
| 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 | |
|---|---|
LanguagePropertyAccessor()
|
|
| Method Summary | |
|---|---|
protected atg.repository.search.indexing.accessor.LanguagePropertyAccessor.IndexingTranslationDescriptor |
getCachedContextTranslationDescriptor(atg.repository.search.indexing.Context pContext,
atg.beans.DynamicPropertyDescriptor pPropertyDescriptor)
Get the cached ContextTranslationDescriptor, if any. |
java.lang.String |
getContextCacheKey()
Get the Context attribute key used to store of the cache fo ContextFirstWithLocale's for a given property descriptor. |
protected java.lang.Object |
getDefaultPropertyValue(atg.repository.RepositoryItem pItem,
java.lang.String pPropertyName)
This function passes the default value of the property passed to it. |
protected java.lang.Object |
getTextOrMetaPropertyValue(atg.repository.search.indexing.Context pContext,
atg.repository.RepositoryItem pItem,
java.lang.String pPropertyName,
atg.repository.search.indexing.specifier.PropertyTypeEnum pType)
This function sets the pContext in the ContextranslationRepositoryKeyService. |
boolean |
isLoggingDebug()
Get the logging debug. |
boolean |
isLoggingError()
Get the logging error Logs through the IndexingOutputConfig on the Context. |
boolean |
isLoggingWarning()
Get the logging warning Logs through the IndexingOutputConfig on the Context. |
protected void |
putCachedContextTranslationDescriptor(atg.repository.search.indexing.Context pContext,
atg.beans.DynamicPropertyDescriptor pPropertyDescriptor,
atg.repository.search.indexing.accessor.LanguagePropertyAccessor.IndexingTranslationDescriptor pIndexingTranslationDescriptor)
Cache the specified ContextTranslationDescriptor. |
void |
setLoggingDebug(boolean pLoggingDebug)
Set the logging debug. |
void |
setLoggingError(boolean pLoggingError)
Set the logging error Logs through the IndexingOutputConfig on the Context. |
void |
setLoggingWarning(boolean pLoggingWarning)
Set the logging warning Logs through the IndexingOutputConfig on the Context. |
| Methods inherited from class atg.repository.search.indexing.PropertyAccessorImpl |
|---|
getMetaPropertyValue, getMetaScheme, getMetaSecurityConstraint, getSubItemPropertyValue, getTextPropertyValue, getTextSecurityConstraint, onIndexingInitialization, onIndexingTermination, resolveDollarProperty |
| Methods inherited from class atg.nucleus.GenericService |
|---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingInfo, isLoggingTrace, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingInfo, setLoggingTrace, setNucleus, setServiceInfo, startService, stopService |
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, 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 final java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public LanguagePropertyAccessor()
| Method Detail |
|---|
public void setLoggingDebug(boolean pLoggingDebug)
Context.
setLoggingDebug in interface atg.nucleus.logging.ApplicationLoggingsetLoggingDebug in class atg.nucleus.GenericServicepLoggingDebug - A boolean value to enable/disable logging debug.public boolean isLoggingDebug()
Context.
isLoggingDebug in interface atg.nucleus.logging.ApplicationLoggingisLoggingDebug in class atg.nucleus.GenericServicepublic void setLoggingError(boolean pLoggingError)
Context.
setLoggingError in interface atg.nucleus.logging.ApplicationLoggingsetLoggingError in class atg.nucleus.GenericServicepLoggingError - A boolean value to enable/disable logging errors.public boolean isLoggingError()
Context.
isLoggingError in interface atg.nucleus.logging.ApplicationLoggingisLoggingError in class atg.nucleus.GenericServicepublic void setLoggingWarning(boolean pLoggingWarning)
Context.
setLoggingWarning in interface atg.nucleus.logging.ApplicationLoggingsetLoggingWarning in class atg.nucleus.GenericServicepLoggingWarning - A boolean value to enable/disable logging warnings.public boolean isLoggingWarning()
Context.
isLoggingWarning in interface atg.nucleus.logging.ApplicationLoggingisLoggingWarning in class atg.nucleus.GenericService
protected java.lang.Object getTextOrMetaPropertyValue(atg.repository.search.indexing.Context pContext,
atg.repository.RepositoryItem pItem,
java.lang.String pPropertyName,
atg.repository.search.indexing.specifier.PropertyTypeEnum pType)
getTextOrMetaPropertyValue in class atg.repository.search.indexing.PropertyAccessorImplpContext - Current locale of the property whose value is needed.pItem - A RepositoryItem object to get the value of the property passed.pPropertyName - Name of the property whose value is needed.pType - Type of the property whose value is needed.
protected atg.repository.search.indexing.accessor.LanguagePropertyAccessor.IndexingTranslationDescriptor getCachedContextTranslationDescriptor(atg.repository.search.indexing.Context pContext,
atg.beans.DynamicPropertyDescriptor pPropertyDescriptor)
pContext - context in which to store the map of
property descriptors to ContextTranslationDescriptors.pPropertyDescriptor - the property descriptor
protected void putCachedContextTranslationDescriptor(atg.repository.search.indexing.Context pContext,
atg.beans.DynamicPropertyDescriptor pPropertyDescriptor,
atg.repository.search.indexing.accessor.LanguagePropertyAccessor.IndexingTranslationDescriptor pIndexingTranslationDescriptor)
pContext - context in which to store the map of
property descriptors to ContextTranslationDescriptors.pPropertyDescriptor - the property descriptorpIndexingTranslationDescriptor - the IndexingTranslationDescriptor to cache.public java.lang.String getContextCacheKey()
protected java.lang.Object getDefaultPropertyValue(atg.repository.RepositoryItem pItem,
java.lang.String pPropertyName)
pItem - A RepositoryItem object to get the value of the property passed.pPropertyName - Name of the property whose default value is needed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||