Class XPage
- java.lang.Object
-
- fr.paris.lutece.portal.web.xpages.XPage
-
public class XPage extends java.lang.ObjectThis class represents XPage object
-
-
Constructor Summary
Constructors Constructor Description XPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContent()java.lang.StringgetKeyword()java.lang.StringgetPathLabel()java.lang.StringgetTitle()java.lang.StringgetXmlExtendedPathLabel()Get the extended path label, which is given as a Xml codebooleanisSendRedirect()Indicate if a response send Redirect have bean call during treatmentbooleanisStandalone()Indicates if the content is standalone and should not be encapsulated in other content, such as portal headers and footersvoidsetContent(java.lang.String strContent)voidsetExtendedPathLabel(ReferenceList listPathItem)Build a path from a referencelist.voidsetKeyword(java.lang.String strKeyword)voidsetPathLabel(java.lang.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 footersvoidsetTitle(java.lang.String strTitle)voidsetXmlExtendedPathLabel(java.lang.String strXmlExtendedPathLabel)Set the Extended Path Label from a xml string
-
-
-
Method Detail
-
getContent
public java.lang.String getContent()
- Returns:
- The content of the page
-
getKeyword
public java.lang.String getKeyword()
- Returns:
- The keyword of the page
-
getTitle
public java.lang.String getTitle()
- Returns:
- The title of the page
-
getPathLabel
public java.lang.String getPathLabel()
- Returns:
- The path label of the page
-
setContent
public void setContent(java.lang.String strContent)
- Parameters:
strContent- The content of the page
-
setKeyword
public void setKeyword(java.lang.String strKeyword)
- Parameters:
strKeyword- The keyword of the page
-
setTitle
public void setTitle(java.lang.String strTitle)
- Parameters:
strTitle- The title of the page
-
setPathLabel
public void setPathLabel(java.lang.String strPathLabel)
- Parameters:
strPathLabel- The path label of the page
-
getXmlExtendedPathLabel
public java.lang.String getXmlExtendedPathLabel()
Get the extended path label, which is given as a Xml code- Returns:
- Returns the Extended Path Label
-
setXmlExtendedPathLabel
public void setXmlExtendedPathLabel(java.lang.String strXmlExtendedPathLabel)
Set the Extended Path Label from a xml string- Parameters:
strXmlExtendedPathLabel- the Extended Path Label to set
-
setExtendedPathLabel
public void setExtendedPathLabel(ReferenceList listPathItem)
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
-
-