Class XPage
- java.lang.Object
-
- fr.paris.lutece.portal.web.xpages.XPage
-
public class XPage extends Object
This class represents XPage object
-
-
Constructor Summary
Constructors Constructor Description XPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()StringgetKeyword()StringgetPathLabel()StringgetTitle()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(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 footersvoidsetTitle(String strTitle)voidsetXmlExtendedPathLabel(String strXmlExtendedPathLabel)Set the Extended Path Label from a xml string
-
-
-
Method Detail
-
getContent
public String getContent()
- Returns:
- The content of the page
-
getKeyword
public String getKeyword()
- Returns:
- The keyword of the page
-
getTitle
public String getTitle()
- Returns:
- The title of the page
-
getPathLabel
public String getPathLabel()
- Returns:
- The path label of the page
-
setContent
public void setContent(String strContent)
- Parameters:
strContent- The content of the page
-
setKeyword
public void setKeyword(String strKeyword)
- Parameters:
strKeyword- The keyword of the page
-
setTitle
public void setTitle(String strTitle)
- Parameters:
strTitle- The title of the page
-
setPathLabel
public void setPathLabel(String strPathLabel)
- Parameters:
strPathLabel- The path label of the page
-
getXmlExtendedPathLabel
public String getXmlExtendedPathLabel()
Get the extended path label, which is given as a Xml code- Returns:
- Returns the Extended Path Label
-
setXmlExtendedPathLabel
public void setXmlExtendedPathLabel(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
-
-