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

All Known Implementing Classes:
FieldDAO

public interface IFieldDAO

Lists all methods which are in FieldDAO


Method Summary
 void delete(java.lang.String strTableName, java.lang.String strFieldName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete field from a table
 void insert(java.lang.String strPoolName, java.lang.String strTableName, Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a field into a table
 Field load(java.lang.String strPoolName, java.lang.String strTableName, java.lang.String strFieldName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load a field from the table
 fr.paris.lutece.util.ReferenceList selectFieldKeyList(java.lang.String strPoolName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          lists the field list possiblilities to create or modify fields form
 java.util.List<Field> selectFieldList(java.lang.String strPoolName, java.lang.String strTableName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find the field list
 fr.paris.lutece.util.ReferenceList selectFieldNullList(java.lang.String strPoolName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find the reference list of null list
 fr.paris.lutece.util.ReferenceList selectFieldTypeList(java.lang.String strPoolName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          lists the field list possiblilities to create or modify fields form
 void store(java.lang.String strPoolName, java.lang.String strTableName, Field field, java.lang.String strFieldNameToModify, int nIdOldFieldKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Store a field into a table
 

Method Detail

selectFieldList

java.util.List<Field> selectFieldList(java.lang.String strPoolName,
                                      java.lang.String strTableName,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the field list

Parameters:
strPoolName - the name of the pool
strTableName - the name of the table
plugin - Plugin adminsql
Returns:
the field list

load

Field load(java.lang.String strPoolName,
           java.lang.String strTableName,
           java.lang.String strFieldName,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a field from the table

Parameters:
strPoolName - the name of the pool
strTableName - the name of the table
strFieldName - the name of the field
plugin - Plugin adminsql
Returns:
a field object

selectFieldTypeList

fr.paris.lutece.util.ReferenceList selectFieldTypeList(java.lang.String strPoolName,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
lists the field list possiblilities to create or modify fields form

Parameters:
strPoolName - the name of the pool
plugin - plugin adminsql
Returns:
Field list

selectFieldKeyList

fr.paris.lutece.util.ReferenceList selectFieldKeyList(java.lang.String strPoolName,
                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
lists the field list possiblilities to create or modify fields form

Parameters:
strPoolName - the name of the pool
plugin - plugin adminsql
Returns:
Field list

selectFieldNullList

fr.paris.lutece.util.ReferenceList selectFieldNullList(java.lang.String strPoolName,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the reference list of null list

Parameters:
strPoolName - the name of the pool
plugin - Plugin adminsql
Returns:
reference list of null list

insert

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

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

delete

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

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

store

void store(java.lang.String strPoolName,
           java.lang.String strTableName,
           Field field,
           java.lang.String strFieldNameToModify,
           int nIdOldFieldKey,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Store a field into a table

Parameters:
strPoolName - the name of the pool
strTableName - the name of the table
field - Field object
strFieldNameToModify - the name of the field to modify
nIdOldFieldKey - the id of the field key
plugin - Plugin adminsql


Copyright © 2010 Mairie de Paris. All Rights Reserved.