|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.dbpage.business.section.DbPageSection
public abstract class DbPageSection
This class represents business object DbPageSection
| Constructor Summary | |
|---|---|
DbPageSection()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getColumnNames()
Returns the ColumnNames |
fr.paris.lutece.portal.service.database.PluginConnectionService |
getConnectionService(java.lang.String strPoolName)
Get a connection service corresponding to the given poolname. |
java.lang.String |
getDbPool()
Returns the DbPool of the section |
abstract java.lang.String |
getHtmlSection(java.util.List listValues,
javax.servlet.http.HttpServletRequest request)
Returns the html section's code |
java.lang.String |
getSql()
Returns the sql request of the section |
java.lang.String |
getTemplatePath()
Returns the template path |
java.lang.String |
getTitle()
Returns the title of the section |
java.lang.String |
getType()
Returns the type of this DbPageSection. |
protected java.lang.String |
getValuatedQuery(java.util.List listValues)
Returns the SQL query associated to the section filled by extra values |
void |
setColumnNames(java.util.List listColumnNames)
Sets the listColumnNames |
void |
setDbPool(java.lang.String strDbPool)
Sets the DbPool |
void |
setSql(java.lang.String strSql)
Sets the SQL request |
void |
setTemplatePath(java.lang.String strTemplatePath)
Sets the template path of the DbPageSection to the specified string. |
void |
setTitle(java.lang.String strTitle)
Sets the title of the section |
void |
setType(java.lang.String strType)
Sets the type of the DbPageSection to the specified string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbPageSection()
| Method Detail |
|---|
public abstract java.lang.String getHtmlSection(java.util.List listValues,
javax.servlet.http.HttpServletRequest request)
request - The requestlistValues - The list of values which can be substitute in the SQL request
public java.lang.String getType()
public void setType(java.lang.String strType)
strType - the new typepublic java.lang.String getTemplatePath()
public void setTemplatePath(java.lang.String strTemplatePath)
strTemplatePath - The new template pathpublic java.util.List<java.lang.String> getColumnNames()
public void setColumnNames(java.util.List listColumnNames)
listColumnNames - the list of columns namespublic java.lang.String getTitle()
public void setTitle(java.lang.String strTitle)
strTitle - The new titlepublic java.lang.String getSql()
public void setSql(java.lang.String strSql)
strSql - The SQL requestpublic java.lang.String getDbPool()
public void setDbPool(java.lang.String strDbPool)
strDbPool - The DbPoolpublic fr.paris.lutece.portal.service.database.PluginConnectionService getConnectionService(java.lang.String strPoolName)
strPoolName - The Poolname
protected java.lang.String getValuatedQuery(java.util.List listValues)
listValues - A list of extra values to substitute in the query
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||