|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.site.request.ResolvedSiteMapItemImpl
public class ResolvedSiteMapItemImpl
ResolvedSiteMapItemImpl
Constructor Summary | |
---|---|
ResolvedSiteMapItemImpl(HstSiteMapItem hstSiteMapItem,
Properties params,
String pathInfo,
ResolvedMount resolvedMount)
|
Method Summary | |
---|---|
int |
getErrorCode()
|
HstComponentConfiguration |
getHstComponentConfiguration()
|
HstSiteMapItem |
getHstSiteMapItem()
|
String |
getLocalParameter(String name)
See ResolvedSiteMapItem.getParameter(String) only without inheritance of ancestor items |
Properties |
getLocalParameters()
See ResolvedSiteMapItem.getParameters() only without inheritance of ancestor items |
String |
getNamedPipeline()
Returns the namedPipeline to be used for the Hst Request Processing. |
String |
getParameter(String name)
Returns a property from the HstSiteMapItem configuration but should have replaced possible property placeholders. |
Properties |
getParameters()
Return the parameter map from the HstSiteMapItem configuration, but all values containing property placeholders should be resolved. |
String |
getPathInfo()
Returns a relative path from hst request path to the SiteMapItem that was matched. |
HstComponentConfiguration |
getPortletHstComponentConfiguration()
|
String |
getRelativeContentPath()
This method returns a content path, relative to the Mount.getContentPath() . |
ResolvedMount |
getResolvedMount()
|
Set<String> |
getRoles()
|
int |
getStatusCode()
|
Set<String> |
getUsers()
|
boolean |
isAuthenticated()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResolvedSiteMapItemImpl(HstSiteMapItem hstSiteMapItem, Properties params, String pathInfo, ResolvedMount resolvedMount)
Method Detail |
---|
public int getStatusCode()
getStatusCode
in interface ResolvedSiteMapItem
HstSiteMapItem.getStatusCode()
public int getErrorCode()
getErrorCode
in interface ResolvedSiteMapItem
HstSiteMapItem.getErrorCode()
public HstSiteMapItem getHstSiteMapItem()
getHstSiteMapItem
in interface ResolvedSiteMapItem
HstSiteMapItem
that is matched for this requestpublic HstComponentConfiguration getHstComponentConfiguration()
getHstComponentConfiguration
in interface ResolvedSiteMapItem
HstComponentConfiguration
that is configured on the backing ResolvedSiteMapItem.getHstSiteMapItem()
of this ResolvedSiteMapItempublic HstComponentConfiguration getPortletHstComponentConfiguration()
getPortletHstComponentConfiguration
in interface ResolvedSiteMapItem
HstComponentConfiguration
for portlet that is found through ResolvedSiteMapItem.getHstSiteMapItem()
public String getParameter(String name)
ResolvedSiteMapItem
null
. Parameters are inherited from ancestor items,
but in case of the same name, ancestor items have a lower precedence
getParameter
in interface ResolvedSiteMapItem
name
- the name of the parameter
null
if the parameter is not there or a property placeholder cannot be resolvedpublic Properties getParameters()
ResolvedSiteMapItem
getParameters
in interface ResolvedSiteMapItem
public String getLocalParameter(String name)
ResolvedSiteMapItem
ResolvedSiteMapItem.getParameter(String)
only without inheritance of ancestor items
getLocalParameter
in interface ResolvedSiteMapItem
name
- the name of the parameter
null
if the parameter is not there or a property placeholder cannot be resolvedpublic Properties getLocalParameters()
ResolvedSiteMapItem
ResolvedSiteMapItem.getParameters()
only without inheritance of ancestor items
getLocalParameters
in interface ResolvedSiteMapItem
public String getRelativeContentPath()
ResolvedSiteMapItem
Mount.getContentPath()
. This value should
have resolved property placeholders, like ${1}/${2}. If a property placeholder cannot be resolved, the implementation may return null
getRelativeContentPath
in interface ResolvedSiteMapItem
Mount.getContentPath()
or null
if not present or has unresolvable property placeholderspublic String getPathInfo()
ResolvedSiteMapItem
getPathInfo
in interface ResolvedSiteMapItem
ResolvedSiteMapItem
, relative to the mount pathpublic ResolvedMount getResolvedMount()
getResolvedMount
in interface ResolvedSiteMapItem
ResolvedMount
for this resolvedSiteMapItem instancepublic String getNamedPipeline()
ResolvedSiteMapItem
namedPipeline
to be used for the Hst Request Processing. When the backing HstSiteMapItem
does not contain one,
possibly, when present, it is inherited from its backing Mount
. If this one does not have it either, null
is returned
implying the default pipeline will be called
getNamedPipeline
in interface ResolvedSiteMapItem
namedPipeline
for this ResolvedSiteMapItem or null
implying the default should be usedpublic boolean isAuthenticated()
isAuthenticated
in interface ResolvedSiteMapItem
true
if ResolvedSiteMapItem.getRoles()
should be applied to this ResolvedSiteMap itempublic Set<String> getRoles()
getRoles
in interface ResolvedSiteMapItem
public Set<String> getUsers()
getUsers
in interface ResolvedSiteMapItem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |