|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.repository.seo.UrlTemplateMapperImpl
public class UrlTemplateMapperImpl
Class to hold a list of UrlTemplate
components.
This list contains all the UrlTemplate
components for a specific item descriptor name.
A request will get the first template in the list that matches the browser type.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
UrlTemplate |
mDefaultTemplate
Default UrlTemplate component to be used when no match is found in the UrlTemplate array property. |
UrlTemplate[] |
mTemplates
Array of UrlTemplate components |
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 | |
---|---|
UrlTemplateMapperImpl()
|
Method Summary | |
---|---|
UrlTemplate |
getDefaultTemplate()
Getter method for the default template. |
UrlTemplate[] |
getTemplates()
Getter method of array of UrlTemplate components |
UrlTemplate |
getUrlTemplate(DynamoHttpServletRequest pRequest)
Method to get the UrlTemplate object for the request browser type. |
void |
setDefaultTemplate(UrlTemplate pDefaultTemplate)
Setter method for the default template |
void |
setTemplates(UrlTemplate[] pTemplates)
Setter method of array of UrlTemplate components |
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 java.lang.String CLASS_VERSION
public UrlTemplate[] mTemplates
UrlTemplate
components
public UrlTemplate mDefaultTemplate
UrlTemplate
component to be used when no match is found in the UrlTemplate
array property.
Constructor Detail |
---|
public UrlTemplateMapperImpl()
Method Detail |
---|
public UrlTemplate[] getTemplates()
UrlTemplate
components
UrlTemplate
componentspublic void setTemplates(UrlTemplate[] pTemplates)
UrlTemplate
components
pTemplates
- Array of UrlTemplate
components.public UrlTemplate getDefaultTemplate()
UrlTemplate
component to usepublic void setDefaultTemplate(UrlTemplate pDefaultTemplate)
pDefaultTemplate
- UrlTemplate
to use as the defaultpublic UrlTemplate getUrlTemplate(DynamoHttpServletRequest pRequest)
UrlTemplate
object for the request browser type.
If it can't find a match it will try to use the default template. This can be either an indirect or a direct Url template.
getUrlTemplate
in interface UrlTemplateMapper
pRequest
- DynamoHttpServletRequest
object
UrlTemplate
object mapped to the browser type of the request or null if no match.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |