public class ChannelWebResource extends WebResource
Modifier and Type | Method and Description |
---|---|
protected String |
calculatePath()
Returns the path to access this web resource.
|
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.
|
Map<String,List<String>> |
getProperties()
Returns the properties for this web resource.
|
protected String |
getRecommendedFileExtension()
Returns the file extension recommended for this web resource, according
to its configurations.
|
protected String |
getSeoRuleUrlPattern()
Get the Url Path from the SeoRule linked to this WebResource.
|
String |
getTitle()
Returns the title for this web resource.
|
String |
getUrlTitle()
Returns the title value meant to be used for friendly URL generation of this web resource.
|
protected boolean |
hasSSI()
Returns whether this web resource has Server Side Include
(requires SSI pos-processing).
|
boolean |
isCacheEnabled()
Returns if the cache is enabled for this web resource.
|
protected boolean |
isFriendlyURLEnabled()
Indicates if friendly URL is enabled for this web resource.
|
clone, getCreatedDateTime, getDynamicPath, getFriendlyPath, getId, getLocale, getPageCache, getParameter, getParameterValues, getPath, getWebsite, isAvailableForGetRequest, isCacheEnabled, isDynamicRequestValid, localize, mayBePersisted, setDynamicPath, setFriendlyPath, setId, setLocale, setPageCache, setWebsite, toString
public String getName()
WebResource
getName
in class WebResource
WebResource.getLocale()
public String getTitle()
WebResource
getTitle
in class WebResource
WebResource.getLocale()
public String getUrlTitle()
WebResource
getUrlTitle
in class WebResource
IURLResolver
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 calculatePath()
WebResource
WebResource.getFriendlyPath()
or WebResource.getDynamicPath()
.calculatePath
in class WebResource
public boolean isCacheEnabled()
WebResource
isCacheEnabled
in class WebResource
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
protected boolean hasSSI()
WebResource
hasSSI
in class WebResource
true
if this web resource has SSI, false
otherwise.protected String getRecommendedFileExtension()
WebResource
getRecommendedFileExtension
in class WebResource
public String getChannelId()
protected String getSeoRuleUrlPattern() throws PortalException
WebResource
getSeoRuleUrlPattern
in class WebResource
null
if not specified.PortalException
LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.