|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.url.WebResource lumis.portal.channel.ChannelWebResource
public class ChannelWebResource
A web resource that corresponds to a link that is directly to a channel.
Method Summary | |
---|---|
String |
getChannelId()
Returns the identifier of the channel this web resource represents. |
String |
getFriendlyURLPattern()
Returns the pattern to be used to resolve friendly URL for this web resource. |
String |
getName()
Returns the name for this web resource. |
Map<String,String[]> |
getParameterMap()
Returns a map containing all parameters for this web resource. |
WebResource |
getParent()
Returns the web resource of the parent element of this web resource. |
protected String |
getPath(boolean considerGuestOnlyCache)
Returns the path to access this web resource. |
Map<String,List<String>> |
getProperties()
Returns the properties for this web resource. |
String |
getTitle()
Returns the title for this web resource. |
boolean |
isCacheEnabled(boolean considerGuestOnlyCache)
Returns if the cache is enabled for this web resource for the current user. |
protected boolean |
isFriendlyURLEnabled()
Indicates if friendly URL is enabled for this web resource. |
Methods inherited from class lumis.portal.url.WebResource |
---|
clone, getCreatedDateTime, getDynamicPath, getFriendlyPath, getId, getLocale, getPageCache, getParameter, getParameterValues, getPath, localize, setDynamicPath, setFriendlyPath, setId, setLocale, setPageCache, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getName()
WebResource
getName
in class WebResource
WebResource.getLocale()
public String getTitle()
WebResource
getTitle
in class WebResource
WebResource.getLocale()
public WebResource getParent()
WebResource
getParent
in class WebResource
null
if it
has no parent.public Map<String,String[]> getParameterMap()
WebResource
getParameterMap
in class WebResource
public Map<String,List<String>> getProperties()
WebResource
getProperties
in class WebResource
protected String getPath(boolean considerGuestOnlyCache)
WebResource
WebResource.getFriendlyPath()
or WebResource.getDynamicPath()
.
getPath
in class WebResource
considerGuestOnlyCache
- indicates if the path for the cached file
should be used even if the cache is only for guest.
public boolean isCacheEnabled(boolean considerGuestOnlyCache)
WebResource
isCacheEnabled
in class WebResource
considerGuestOnlyCache
- indicates if the result should be
true
even if the cache is only for guest.
true
if the cache is enabled, false
otherwise.protected boolean isFriendlyURLEnabled()
WebResource
isFriendlyURLEnabled
in class WebResource
true
if it is enabled, false
otherwise.public String getFriendlyURLPattern()
WebResource
The specific syntax or usage of the pattern is up to the
IURLResolver
configured for this web resource.
getFriendlyURLPattern
in class WebResource
public String getChannelId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |