fr.paris.lutece.plugins.adminsql.business
Interface ITableDAO

All Known Implementing Classes:
TableDAO

public interface ITableDAO

Lists all methods which are in DataDAO


Method Summary
 void delete(java.lang.String strTableName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a table from a database
 void insert(java.lang.String strPoolName, Table table, Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a table in 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
 java.util.List<Table> selectTableList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          List of tables of database
 java.util.List<Table> selectTableListByPool(java.lang.String strPool, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          List of tables of database
 void store(java.lang.String strTableNameToModify, Table table)
          Store a table from a database
 

Method Detail

selectTableList

java.util.List<Table> selectTableList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
List of tables of database

Parameters:
plugin - Plugin adminsql
Returns:
List of all tables

selectTableListByPool

java.util.List<Table> selectTableListByPool(java.lang.String strPool,
                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
List of tables of database

Parameters:
strPool - the name of the pool
plugin - Plugin adminsql
Returns:
the list of tables of database

load

Table load(java.lang.String strPoolName,
           java.lang.String strTableName,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a table from a database

Parameters:
strPoolName - the name of the pool
strTableName - the name of the table
plugin - Plugin adminsql
Returns:
the a table from a database

insert

void insert(java.lang.String strPoolName,
            Table table,
            Field field,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a table in a database

Parameters:
strPoolName - the name of the pool
table - the name of the table
field - Field object
plugin - Plugin adminsql

delete

void delete(java.lang.String strTableName,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a table from a database

Parameters:
strTableName - the name of the table
plugin - Plugin adminsql

store

void store(java.lang.String strTableNameToModify,
           Table table)
Store a table from a database

Parameters:
strTableNameToModify - the name of the table to modify
table - Table object


Copyright © 2010 Mairie de Paris. All Rights Reserved.