Class XPage
java.lang.Object
fr.paris.lutece.portal.web.xpages.XPage
This class represents XPage object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()Get the extended path label, which is given as a Xml codebooleanIndicate if a response send Redirect have bean call during treatmentbooleanIndicates if the content is standalone and should not be encapsulated in other content, such as portal headers and footersvoidsetContent(String strContent) voidsetExtendedPathLabel(ReferenceList listPathItem) Build a path from a referencelist.voidsetKeyword(String strKeyword) voidsetPathLabel(String strPathLabel) voidsetSendRedirect(boolean bSendRedirect) Indicate if a response send Redirect have bean call during treatmentvoidsetStandalone(boolean standalone) Indicates if the content is standalone and should not be encapsulated in other content, such as portal headers and footersvoidvoidsetXmlExtendedPathLabel(String strXmlExtendedPathLabel) Set the Extended Path Label from a xml string
-
Constructor Details
-
XPage
public XPage()
-
-
Method Details
-
getContent
- Returns:
- The content of the page
-
getKeyword
- Returns:
- The keyword of the page
-
getTitle
- Returns:
- The title of the page
-
getPathLabel
- Returns:
- The path label of the page
-
setContent
- Parameters:
strContent- The content of the page
-
setKeyword
- Parameters:
strKeyword- The keyword of the page
-
setTitle
- Parameters:
strTitle- The title of the page
-
setPathLabel
- Parameters:
strPathLabel- The path label of the page
-
getXmlExtendedPathLabel
Get the extended path label, which is given as a Xml code- Returns:
- Returns the Extended Path Label
-
setXmlExtendedPathLabel
Set the Extended Path Label from a xml string- Parameters:
strXmlExtendedPathLabel- the Extended Path Label to set
-
setExtendedPathLabel
Build a path from a referencelist. Each item of the list is an element of the path The item's code is the label, the item's name is used for the URL of the link.- Parameters:
listPathItem- The items of the path.
-
isStandalone
public boolean isStandalone()Indicates if the content is standalone and should not be encapsulated in other content, such as portal headers and footers- Returns:
trueis the content is standalone- Since:
- 5.1.0
-
setStandalone
public void setStandalone(boolean standalone) Indicates if the content is standalone and should not be encapsulated in other content, such as portal headers and footers- Parameters:
standalone-trueis the content is standalone- Since:
- 5.1.0
-
isSendRedirect
public boolean isSendRedirect()Indicate if a response send Redirect have bean call during treatment- Returns:
- true if a response send Redirect have bean call during treatment
-
setSendRedirect
public void setSendRedirect(boolean bSendRedirect) Indicate if a response send Redirect have bean call during treatment- Parameters:
bSendRedirect- true if a response send Redirect have bean call during treatment
-