|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.adminsql.business.TableDAO
public class TableDAO
Creates a new instance of TableDAO
| Constructor Summary | |
|---|---|
TableDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(java.lang.String strTableName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a table from a database |
int |
findFieldKeyIdbyLabel(java.lang.String strLabelKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
Find the field id key by label key from adminsql database |
java.lang.String |
findFieldKeyLabelbyId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
Find the field id key by label key from adminsql database |
int |
findFieldNullIdbyLabel(java.lang.String strLabelNull,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
Find the field id null by label null from adminsql database |
java.lang.String |
findFieldNullLabelbyId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
Find the field id null by label null from adminsql database |
int |
findFieldTypeIdbyLabel(java.lang.String strLabelType,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
Find the field id type by label type from adminsql database |
java.lang.String |
findFieldTypeLabelbyId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
Find the field label type by id type from adminsql database |
void |
insert(java.lang.String strPoolName,
Table table,
Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a table into a database |
Table |
load(java.lang.String strPoolName,
java.lang.String strTableName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a table from a database |
fr.paris.lutece.util.ReferenceList |
selectFieldKeyList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
lists the field list possiblilities to create or modify fields form |
fr.paris.lutece.util.ReferenceList |
selectFieldNullList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
lists the field list possiblilities to create or modify fields form |
fr.paris.lutece.util.ReferenceList |
selectFieldTypeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
lists the field list possiblilities to create or modify fields form |
java.util.List<Table> |
selectTableList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the list of the tables on a database |
java.util.List<Table> |
selectTableListByPool(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the list of the tables on a database |
void |
store(java.lang.String strTableNameToModify,
Table table)
Store a table into a database |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableDAO()
| Method Detail |
|---|
public Table load(java.lang.String strPoolName,
java.lang.String strTableName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITableDAOstrPoolName - the name of the poolstrTableName - the name of the tableplugin - Plugin adminsql
public void insert(java.lang.String strPoolName,
Table table,
Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ITableDAOstrPoolName - the name of the pooltable - the name of the tablefield - the name of the fieldplugin - Plugin adminsql
public void store(java.lang.String strTableNameToModify,
Table table)
store in interface ITableDAOstrTableNameToModify - the name of the table to modifytable - Table object
public void delete(java.lang.String strTableName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ITableDAOstrTableName - the name of the tableplugin - Plugin adminsqlpublic java.util.List<Table> selectTableList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTableList in interface ITableDAOplugin - Plugin adminsql
public java.util.List<Table> selectTableListByPool(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTableListByPool in interface ITableDAOstrPoolName - the name of the poolplugin - Plugin adminsql
public fr.paris.lutece.util.ReferenceList selectFieldTypeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - plugin adminsql
public fr.paris.lutece.util.ReferenceList selectFieldKeyList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin adminsql
public fr.paris.lutece.util.ReferenceList selectFieldNullList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin adminsql
public int findFieldTypeIdbyLabel(java.lang.String strLabelType,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
strLabelType - the name of the type that user chooseplugin - Plugin adminsqlstrPoolName - the name of the pool
public java.lang.String findFieldTypeLabelbyId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
nId - the id of type labelplugin - Plugin adminsqlstrPoolName - name of the pool
public int findFieldNullIdbyLabel(java.lang.String strLabelNull,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
strLabelNull - the label of the null valueplugin - Plugin adminsqlstrPoolName - the name of the pool
public java.lang.String findFieldNullLabelbyId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
nId - the id of the null valueplugin - Plugin adminsqlstrPoolName - the name of the pool
public int findFieldKeyIdbyLabel(java.lang.String strLabelKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
strLabelKey - the label key of the fieldplugin - Plugin adminsqlstrPoolName - the name of the pool
public java.lang.String findFieldKeyLabelbyId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.lang.String strPoolName)
nId - the id of the keyplugin - Plugin adminsqlstrPoolName - the name of the pool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||