public class DefaultActionPathProvider extends GenericService implements com.endeca.infront.navigation.url.ActionPathProvider
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()| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
ALWAYS_USE_DEFAULT_NAVIGATION_CONTENT_PATH
The request parameter key to enforce that the default navigation action
 content path is used. 
 | 
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
protected java.lang.String | 
mDefaultSiteRootPath  | 
protected com.endeca.infront.site.model.SiteState | 
mSiteState  | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
DefaultActionPathProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
AssemblerTools | 
getAssemblerTools()  | 
com.endeca.infront.content.source.ContentSource | 
getContentSource()  | 
DynamoHttpServletRequest | 
getCurrentRequest()  | 
protected com.endeca.infront.content.source.ContentLocator | 
getDefaultContentLocator()
Try and resolve the default ContentLocator. 
 | 
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. 
 | 
com.endeca.infront.content.source.ContentLocator | 
getNavigationActionLocator()  | 
java.util.Map<java.lang.String,java.lang.String> | 
getNavigationActionUriMap()  | 
com.endeca.infront.content.source.ContentLocator | 
getRecordActionLocator()  | 
java.util.Map<java.lang.String,java.lang.String> | 
getRecordActionUriMap()  | 
com.endeca.infront.site.model.SiteState | 
getSiteState()  | 
com.endeca.infront.content.UserState | 
getUserState()
Get the userState property 
 | 
java.lang.Boolean | 
isExperienceManager()  | 
void | 
setAssemblerTools(AssemblerTools pAssemblerTools)  | 
void | 
setContentSource(com.endeca.infront.content.source.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(com.endeca.infront.content.source.ContentLocator pNavigationActionLocator)  | 
void | 
setNavigationActionUriMap(java.util.Map<java.lang.String,java.lang.String> pNavigationActionUriMap)  | 
void | 
setRecordActionLocator(com.endeca.infront.content.source.ContentLocator pRecordActionLocator)  | 
void | 
setRecordActionUriMap(java.util.Map<java.lang.String,java.lang.String> pRecordActionUriMap)  | 
void | 
setSiteState(com.endeca.infront.site.model.SiteState pSiteState)  | 
void | 
setUserState(com.endeca.infront.content.UserState pUserState)
Set the userState property 
 | 
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, 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 ALWAYS_USE_DEFAULT_NAVIGATION_CONTENT_PATH
public static java.lang.String CLASS_VERSION
protected com.endeca.infront.site.model.SiteState mSiteState
protected java.lang.String mDefaultSiteRootPath
public com.endeca.infront.site.model.SiteState getSiteState()
public void setSiteState(com.endeca.infront.site.model.SiteState pSiteState)
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 com.endeca.infront.content.UserState getUserState()
public void setUserState(com.endeca.infront.content.UserState pUserState)
pUserState - the userStatepublic com.endeca.infront.content.source.ContentLocator getNavigationActionLocator()
public void setNavigationActionLocator(com.endeca.infront.content.source.ContentLocator pNavigationActionLocator)
pNavigationActionLocator - the navigationActionLocator to setpublic com.endeca.infront.content.source.ContentLocator getRecordActionLocator()
public void setRecordActionLocator(com.endeca.infront.content.source.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 com.endeca.infront.content.source.ContentSource getContentSource()
public void setContentSource(com.endeca.infront.content.source.ContentSource pContentSource)
pContentSource - the contentSource to setpublic java.lang.Boolean isExperienceManager()
public java.lang.String getDefaultNavigationActionSiteRootPath()
getDefaultNavigationActionSiteRootPath in interface com.endeca.infront.navigation.url.ActionPathProviderpublic java.lang.String getDefaultNavigationActionContentPath()
getDefaultNavigationActionContentPath in interface com.endeca.infront.navigation.url.ActionPathProviderpublic java.lang.String getDefaultRecordActionSiteRootPath()
getDefaultRecordActionSiteRootPath in interface com.endeca.infront.navigation.url.ActionPathProviderpublic java.lang.String getDefaultRecordActionContentPath()
getDefaultRecordActionContentPath in interface com.endeca.infront.navigation.url.ActionPathProviderprotected java.lang.String getDefaultSiteRootPath()
protected java.lang.String attemptMatch(java.lang.String pUri,
                                        java.util.Map<java.lang.String,java.lang.String> pRegexps)
protected com.endeca.infront.content.source.ContentLocator getDefaultContentLocator()