public final class TableHome extends Object
| Constructor and Description |
|---|
TableHome() |
| Modifier and Type | Method and Description |
|---|---|
static void |
create(String strPoolName,
Table table,
Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an intance of a field
|
static List<Table> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the tables list of a pool
|
static List<Table> |
findAllByPool(String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the tables list of a pool
|
static Table |
findByPrimaryKey(String strPoolName,
String strTableName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find table in tables list
|
static void |
remove(String strTableName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a table
|
static void |
update(String strTableNameToModify,
Table table)
Update a table on a database
|
public static List<Table> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin adminsqpublic static List<Table> findAllByPool(String strPoolName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPoolName - the name of the poolplugin - Plugin adminsqpublic static Table findByPrimaryKey(String strPoolName, String strTableName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPoolName - the name of the poolstrTableName - the name of the tableplugin - Plugin adminsqlpublic static void create(String strPoolName, Table table, Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPoolName - the name of the pooltable - Table objectfield - field objectplugin - Plugin adminsqlpublic static void remove(String strTableName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strTableName - the name of the tableplugin - Plugin adminsqlCopyright © 2018 City of Paris. All rights reserved.