atg.repository.search.indexing.service
Class ContextTranslationRepositoryKeyService

java.lang.Object
  extended by atg.repository.search.indexing.service.ContextTranslationRepositoryKeyService
All Implemented Interfaces:
atg.repository.dp.RepositoryKeyService

public class ContextTranslationRepositoryKeyService
extends java.lang.Object
implements atg.repository.dp.RepositoryKeyService

this class is use to get the correct locale from the context object


Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
ContextTranslationRepositoryKeyService()
           
 
Method Summary
 java.lang.Object getRepositoryKey()
          Returns the current locale from the context object
 void setContext(atg.repository.search.indexing.Context pContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Constructor Detail

ContextTranslationRepositoryKeyService

public ContextTranslationRepositoryKeyService()
Method Detail

getRepositoryKey

public java.lang.Object getRepositoryKey()
Returns the current locale from the context object

Specified by:
getRepositoryKey in interface atg.repository.dp.RepositoryKeyService
Returns:
Object

setContext

public void setContext(atg.repository.search.indexing.Context pContext)
Parameters:
pContext - Context object to set the current locale