|
||||||||||
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.page.PageWebResource
public class PageWebResource
A page web resource is a concrete derivation of a PageConfig
,
that may be rendered or linked to. The portal web pages visible by
portal users are page web resources rendered.
Method Summary | |
---|---|
String |
getName()
Returns the name for this web resource. |
PageConfig |
getPage()
Returns the page this web resource is based on. |
PageWebResourceData |
getPageWebResourceData()
Returns the data generated in runtime for this page 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. |
PortletMode |
getPortletMode()
Returns the portlet mode for the target in this page 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. |
String |
getRunTimeServiceInstanceId()
Returns the service instance identifier of the runtime service instance for this page web resource. |
String |
getRunTimeServiceInterfaceId()
Returns the service interface identifier of the runtime service interface for this page web resource. |
String |
getTargetId()
Returns the target identifier for this page web resource. |
int |
getTargetScope()
Returns the target scope for this page web resource. |
String |
getTitle()
Returns the title for this web resource. |
WindowState |
getWindowState()
Returns the window state for the target in this page 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. |
boolean |
isPreviewModeEnabled()
Returns true if this page web resource is being processed in preview mode. |
protected void |
setDynamicPath(String dynamicPath)
Sets the dynamic path for this web resource. |
void |
setPreviewModeEnabled(boolean previewModeEnabled)
Sets the preview mode for processing this page web resource. |
Methods inherited from class lumis.portal.url.WebResource |
---|
clone, getCreatedDateTime, getDynamicPath, getFriendlyPath, getFriendlyURLPattern, getId, getLocale, getPageCache, getParameter, getParameterValues, getPath, getPath, getWebsite, isAvailableForGetRequest, isDynamicRequestValid, localize, mayBePersisted, setFriendlyPath, setId, setLocale, setPageCache, setWebsite, 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()
protected void setDynamicPath(String dynamicPath)
WebResource
setDynamicPath
in class WebResource
dynamicPath
- the dynamic path relative to the portal web
application root. It must start with '/'.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.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 Map<String,String[]> getParameterMap()
WebResource
getParameterMap
in class WebResource
public WebResource getParent()
WebResource
getParent
in class WebResource
null
if it
has no parent.public Map<String,List<String>> getProperties()
WebResource
getProperties
in class WebResource
public PageWebResourceData getPageWebResourceData()
public PageConfig getPage()
public String getTargetId()
public int getTargetScope()
IServiceInterfaceUrl
.public PortletMode getPortletMode()
public WindowState getWindowState()
public boolean isPreviewModeEnabled()
public void setPreviewModeEnabled(boolean previewModeEnabled)
previewModeEnabled
- true to enable, false to disable.public String getRunTimeServiceInstanceId()
null
if this
page web resource does not have a runtime service instance.ServiceInstanceConfig
public String getRunTimeServiceInterfaceId()
null
if this
page web resource does not have a runtime service interface.ServiceInterfaceConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |