nl.gx.webmanager.cms.layout
Interface PagePart

All Superinterfaces:
Presentable, Wrapper

public interface PagePart
extends Presentable

Representation of Page part.


Method Summary
 java.lang.String getBannerServiceUrl()
          Return url for the banner service, which contains the bannermodel id.
 BlockLabel[] getBlockLabels()
          Return block labels of this page part.
 Page[] getBlocks()
          Return blocks.
 java.lang.Integer getCacheTimeout()
          Return cache timeout for this PagePart.
 java.lang.String getIdentifier()
          Return name of the page part used internally.
 int getPreSpacing()
          Return amount of pixels of space that should be displayed.
 java.lang.String getPreSpacingOrientation()
          Return "horizontal" or "vertical".
 Region getTargetRegion()
          Return target frame for links in the pagepart.
 Website getWebsite()
          Return website the pagepart is on.
 boolean isSearchable()
          Return true if the page part should be indexed by the searchengine.
 boolean isValid(Page page)
          Check if the pagepart should be displayed.
 
Methods inherited from interface nl.gx.webmanager.cms.core.Presentable
getPresentation, render, render, setPresentation
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 

Method Detail

isValid

boolean isValid(Page page)
Check if the pagepart should be displayed.

Parameters:
page - the page the pagepart is displayed on.
Returns:
true if the pagepart may be displayed according to the (qs) preconditions

isSearchable

boolean isSearchable()
Return true if the page part should be indexed by the searchengine.

Returns:
true if the page part should be indexed by the searchengine.

getPreSpacing

int getPreSpacing()
Return amount of pixels of space that should be displayed.

Returns:
amount of pixels of space that should be displayed before the pagepart.
See Also:
getPreSpacingOrientation()

getPreSpacingOrientation

java.lang.String getPreSpacingOrientation()
Return "horizontal" or "vertical".

Returns:
"horizontal" or "vertical".
See Also:
getPreSpacing()

getBlockLabels

BlockLabel[] getBlockLabels()
Return block labels of this page part.

Returns:
block labels of this page part.

getIdentifier

java.lang.String getIdentifier()
Return name of the page part used internally.

Returns:
name of the page part used internally.

getCacheTimeout

java.lang.Integer getCacheTimeout()
Return cache timeout for this PagePart.

Returns:
cache timeout for this PagePart

getBlocks

Page[] getBlocks()
Return blocks.

Returns:
blocks

getTargetRegion

Region getTargetRegion()
Return target frame for links in the pagepart.

Returns:
target frame for links in the pagepart.

getWebsite

Website getWebsite()
Return website the pagepart is on.

Returns:
website the pagepart is on.

getBannerServiceUrl

java.lang.String getBannerServiceUrl()
Return url for the banner service, which contains the bannermodel id. The bannermodel is connected to the page and the pagepart.

Returns:
url for the banner service.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.