|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.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 | |
---|---|
java.lang.String |
getChannelId()
Returns the identifier of the channel this web resource represents. |
java.lang.String |
getFriendlyURLPattern()
Returns the pattern to be used to resolve friendly URL for this web resource. |
java.lang.String |
getName()
Returns the name for this web resource. |
java.util.Map<java.lang.String,java.lang.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 java.lang.String |
getPath(boolean considerGuestOnlyCache)
Returns the path to access this web resource. |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getProperties()
Returns the properties for this web resource. |
protected java.lang.String |
getRecommendedFileExtension()
Returns the file extension recommended for this web resource, according to its configurations. |
java.lang.String |
getTitle()
Returns the title for this web resource. |
protected boolean |
hasSSI()
Returns whether this web resource has Server Side Include (requires SSI pos-processing). |
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, isAvailableForGetRequest, isDynamicRequestValid, localize, mayBePersisted, 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 java.lang.String getName()
WebResource
getName
in class WebResource
WebResource.getLocale()
public java.lang.String getTitle()
WebResource
getTitle
in class WebResource
WebResource.getLocale()
public WebResource getParent()
WebResource
getParent
in class WebResource
null
if it
has no parent.public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
WebResource
getParameterMap
in class WebResource
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getProperties()
WebResource
getProperties
in class WebResource
protected java.lang.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 java.lang.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
protected boolean hasSSI()
WebResource
hasSSI
in class WebResource
true
if this web resource has SSI, false
otherwise.protected java.lang.String getRecommendedFileExtension()
WebResource
getRecommendedFileExtension
in class WebResource
public java.lang.String getChannelId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |