|
|||||||||
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.assembler.navigation.DefaultActionPathProvider
public class DefaultActionPathProvider
An implementation of the
com.endeca.infront.navigaton.url.ActionPathProvider
interface.
Used to return information to the Assembler when constructing RecordAction
objects. The following sequence is used to calculate the action paths.
AssemblerTools.getContentPath()
, exists in navigationActionUriMap or
recordActionUriMap. If it exists, use the value from the map.AssemblerTools.getContentPath()
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 | |
---|---|
DefaultActionPathProvider()
|
Method Summary | |
---|---|
protected java.lang.String |
attemptMatch(java.lang.String pUri,
java.util.Map<java.lang.String,java.lang.String> pRegexps)
Iterates through the given map, treating each key/value pair as a regular expression and a replacement string, respectively. |
void |
doStartService()
Pre-calculate the navigation and record action paths. |
AssemblerTools |
getAssemblerTools()
|
ContentSource |
getContentSource()
|
DynamoHttpServletRequest |
getCurrentRequest()
|
java.lang.String |
getDefaultExperienceManagerNavigationActionPath()
|
java.lang.String |
getDefaultExperienceManagerRecordActionPath()
|
java.lang.String |
getDefaultGuidedSearchNavigationActionPath()
|
java.lang.String |
getDefaultGuidedSearchRecordActionPath()
|
java.lang.String |
getDefaultNavigationActionContentPath()
Implements com.endeca.infront.navigation.url.ActionPathProviders getDefaultNavigationActionContentPath to return the current content path. |
java.lang.String |
getDefaultNavigationActionSiteRootPath()
Implements com.endeca.infront.navigation.url.ActionPathProviders getDefaultNavigationActionSiteRootPath to return the current default root path. |
java.lang.String |
getDefaultRecordActionContentPath()
Implements com.endeca.infront.navigation.url.ActionPathProviders getDefaultRecordActionContentPath to return the current content path. |
java.lang.String |
getDefaultRecordActionSiteRootPath()
Implements com.endeca.infront.navigation.url.ActionPathProviders getDefaultRecordActionSiteRootPath to return the current site root path. |
protected java.lang.String |
getDefaultSiteRootPath()
Gets the default site root path depending on whether we are using Experience Manager or Guided Search. |
ContentLocator |
getNavigationActionLocator()
|
java.util.Map<java.lang.String,java.lang.String> |
getNavigationActionUriMap()
|
ContentLocator |
getRecordActionLocator()
|
java.util.Map<java.lang.String,java.lang.String> |
getRecordActionUriMap()
|
void |
setAssemblerTools(AssemblerTools pAssemblerTools)
|
void |
setContentSource(ContentSource pContentSource)
|
void |
setCurrentRequest(DynamoHttpServletRequest pCurrentRequest)
|
void |
setDefaultExperienceManagerNavigationActionPath(java.lang.String pDefaultExperienceManagerNavigationActionPath)
|
void |
setDefaultExperienceManagerRecordActionPath(java.lang.String pDefaultExperienceManagerRecordActionPath)
|
void |
setDefaultGuidedSearchNavigationActionPath(java.lang.String pDefaultGuidedSearchNavigationActionPath)
|
void |
setDefaultGuidedSearchRecordActionPath(java.lang.String pDefaultGuidedSearchRecordActionPath)
|
void |
setNavigationActionLocator(ContentLocator pNavigationActionLocator)
|
void |
setNavigationActionUriMap(java.util.Map<java.lang.String,java.lang.String> pNavigationActionUriMap)
|
void |
setRecordActionLocator(ContentLocator pRecordActionLocator)
|
void |
setRecordActionUriMap(java.util.Map<java.lang.String,java.lang.String> pRecordActionUriMap)
|
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 DefaultActionPathProvider()
Method Detail |
---|
public java.lang.String getDefaultExperienceManagerNavigationActionPath()
public void setDefaultExperienceManagerNavigationActionPath(java.lang.String pDefaultExperienceManagerNavigationActionPath)
pDefaultExperienceManagerNavigationActionPath
- Set a new
defaultExperienceManagerNavigationActionPath.public java.lang.String getDefaultExperienceManagerRecordActionPath()
public void setDefaultExperienceManagerRecordActionPath(java.lang.String pDefaultExperienceManagerRecordActionPath)
pDefaultExperienceManagerRecordActionPath
- Set a new
defaultExperienceManagerRecordActionPath.public java.lang.String getDefaultGuidedSearchNavigationActionPath()
public void setDefaultGuidedSearchNavigationActionPath(java.lang.String pDefaultGuidedSearchNavigationActionPath)
pDefaultGuidedSearchNavigationActionPath
- Set a new
defaultGuidedSearchNavigationActionPath.public java.lang.String getDefaultGuidedSearchRecordActionPath()
public void setDefaultGuidedSearchRecordActionPath(java.lang.String pDefaultGuidedSearchRecordActionPath)
pDefaultGuidedSearchRecordActionPath
- Set a new
defaultGuidedSearchRecordActionPath.public AssemblerTools getAssemblerTools()
public void setAssemblerTools(AssemblerTools pAssemblerTools)
mAssemblerTools
- Set a new AssemblerTools.public ContentLocator getNavigationActionLocator()
public void setNavigationActionLocator(ContentLocator pNavigationActionLocator)
pNavigationActionLocator
- the navigationActionLocator to setpublic ContentLocator getRecordActionLocator()
public void setRecordActionLocator(ContentLocator pRecordActionLocator)
pRecordActionLocator
- the recordActionLocator to setpublic java.util.Map<java.lang.String,java.lang.String> getNavigationActionUriMap()
public void setNavigationActionUriMap(java.util.Map<java.lang.String,java.lang.String> pNavigationActionUriMap)
pNavigationActionUriMap
- the navigationActionUriMap to setpublic java.util.Map<java.lang.String,java.lang.String> getRecordActionUriMap()
public void setRecordActionUriMap(java.util.Map<java.lang.String,java.lang.String> pRecordActionUriMap)
pRecordActionUriMap
- the recordActionUriMap to setpublic DynamoHttpServletRequest getCurrentRequest()
public void setCurrentRequest(DynamoHttpServletRequest pCurrentRequest)
pCurrentRequest
- the currentRequest to setpublic ContentSource getContentSource()
public void setContentSource(ContentSource pContentSource)
pContentSource
- the contentSource to setpublic void doStartService() throws ServiceException
doStartService
in class GenericService
ServiceException
GenericService.doStartService()
public java.lang.String getDefaultNavigationActionSiteRootPath()
public java.lang.String getDefaultNavigationActionContentPath()
public java.lang.String getDefaultRecordActionSiteRootPath()
public java.lang.String getDefaultRecordActionContentPath()
protected java.lang.String getDefaultSiteRootPath()
protected java.lang.String attemptMatch(java.lang.String pUri, java.util.Map<java.lang.String,java.lang.String> pRegexps)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |