public class ProfileContextValueSource extends ContextValueSourceImpl
Created: August 18 2016
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string from source code control system.
|
SERVICE_INFO_KEYDEFAULT_VALUEDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
ProfileContextValueSource() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getPropertyNameForSourceItem(atg.commerce.util.ContextValueRetrieverArguments pArguments)
Returns profilePropertyName from pArguments.
|
protected RepositoryItem |
getSourceItem(atg.commerce.util.ContextValueRetrieverArguments pArguments)
Get the source item.
|
RepositoryItem |
retrieveValue(atg.commerce.util.ContextValueRetrieverArguments pArguments)
Determine the appropriate value for one profile property based on information provided
in an arguments object.
|
adjustForCandidateId, getContextValueRetriever, setContextValueRetrieveraddLogListener, clearAbsoluteNameAndContext, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, isStartServiceComplete, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static final java.lang.String CLASS_VERSION
protected RepositoryItem getSourceItem(atg.commerce.util.ContextValueRetrieverArguments pArguments) throws RepositoryException
true for shouldUseProfile().
Return the source RepositoryItem item.
getSourceItem in class ContextValueSourceImplpArguments - the context value retriever arguments.RepositoryExceptionprotected java.lang.String getPropertyNameForSourceItem(atg.commerce.util.ContextValueRetrieverArguments pArguments)
Return the property name appropriate for the source RepositoryItem.
The default implementation returns sitePropertyName from pArguments.
getPropertyNameForSourceItem in class ContextValueSourceImplpArguments - the argumentspublic RepositoryItem retrieveValue(atg.commerce.util.ContextValueRetrieverArguments pArguments) throws RepositoryException
retrieveValue in interface ContextValueSourceretrieveValue in class ContextValueSourceImplpArguments - an object containing properties that define possible
sources for the value to be retrievedRepositoryException