fr.paris.lutece.plugins.dbpage.business
Class DbPage

java.lang.Object
  extended by fr.paris.lutece.plugins.dbpage.business.DbPage
All Implemented Interfaces:
fr.paris.lutece.portal.service.resource.Resource

public class DbPage
extends java.lang.Object
implements fr.paris.lutece.portal.service.resource.Resource

This class represents business object Page


Constructor Summary
DbPage()
           
 
Method Summary
 java.lang.String getContent(java.util.List listValues, javax.servlet.http.HttpServletRequest request)
          Returns the DbPage Content
 java.util.List<DbPageSection> getListSection()
          Returns the sections of this dbpage.
 java.lang.String getName()
          Returns the name of this dbpage.
 int getNbSection()
          Returns the number of sections of this dbpage.
 java.lang.String getTitle()
          Returns the title of this dbpage.
 void setListSection(java.util.List<DbPageSection> listSections)
          Sets the sections of the dbpage to the specified list.
 void setName(java.lang.String strName)
          Sets the name of the dbpage to the specified string.
 void setNbSection(int nNbSection)
          Sets the number of section of the dbpage to the specified integer.
 void setTitle(java.lang.String strTitle)
          Sets the title of the dbpage to the specified string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbPage

public DbPage()
Method Detail

getNbSection

public int getNbSection()
Returns the number of sections of this dbpage.

Returns:
nNbSection the number of sections

setNbSection

public void setNbSection(int nNbSection)
Sets the number of section of the dbpage to the specified integer.

Parameters:
nNbSection - the new number of section

getName

public java.lang.String getName()
Returns the name of this dbpage.

Returns:
the dbpage name

setName

public void setName(java.lang.String strName)
Sets the name of the dbpage to the specified string.

Parameters:
strName - the new name

getTitle

public java.lang.String getTitle()
Returns the title of this dbpage.

Returns:
the dbpage title

setTitle

public void setTitle(java.lang.String strTitle)
Sets the title of the dbpage to the specified string.

Parameters:
strTitle - the new email

getListSection

public java.util.List<DbPageSection> getListSection()
Returns the sections of this dbpage.

Returns:
the dbpage sections

setListSection

public void setListSection(java.util.List<DbPageSection> listSections)
Sets the sections of the dbpage to the specified list.

Parameters:
listSections - Sets a list of sections

getContent

public java.lang.String getContent(java.util.List listValues,
                                   javax.servlet.http.HttpServletRequest request)
Returns the DbPage Content

Parameters:
request - The request
listValues - The list of Values of parameters
Returns:
The HTML code of the DbPage content


Copyright © 2007 Mairie de Paris. All Rights Reserved.