Class XPage

java.lang.Object
fr.paris.lutece.portal.web.xpages.XPage

public class XPage extends Object
This class represents XPage object
  • Constructor Details

    • XPage

      public XPage()
  • Method Details

    • 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:
      true is 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 - true is 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