Constructor and Description |
---|
FieldDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String strTableName,
String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a field from the table
|
int |
findFieldKeyIdbyLabel(String strLabelKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strPoolName)
Find the field id key by label key from adminsql database
|
String |
findFieldKeyLabelbyId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strPoolName)
Find the field id key by label key from adminsql database
|
int |
findFieldNullIdbyLabel(String strLabelNull,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strPoolName)
Find the field id null by label null from adminsql database
|
String |
findFieldNullLabelbyId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strPoolName)
Find the field id null by label null from adminsql database
|
int |
findFieldTypeIdbyLabel(String strLabelType,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strPoolName)
Find the field id type by label type from adminsql database
|
String |
findFieldTypeLabelbyId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
String strPoolName)
Find the field label type by id type from adminsql database
|
void |
insert(String strPoolName,
String strTableName,
Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a field in the table
|
Field |
load(String strPoolName,
String strTableName,
String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a field from the table
|
fr.paris.lutece.util.ReferenceList |
selectFieldKeyList(String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
lists the field list possiblilities to create or modify fields form
|
List<Field> |
selectFieldList(String strPoolName,
String strTableName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the list of fields from a table
|
fr.paris.lutece.util.ReferenceList |
selectFieldNullList(String strPoolName,
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(String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
lists the field list possiblilities to create or modify fields form
|
void |
store(String strPoolName,
String strTableName,
Field field,
String strFieldNameToModify,
int nIdOldFieldKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Store a field in the table
|
public Field load(String strPoolName, String strTableName, String strFieldName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(String strPoolName, String strTableName, Field field, String strFieldNameToModify, int nIdOldFieldKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void insert(String strPoolName, String strTableName, Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(String strTableName, String strFieldName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Field> selectFieldList(String strPoolName, String strTableName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldList
in interface IFieldDAO
strPoolName
- the name of the poolstrTableName
- the name of the tableplugin
- Plugin adminsqlpublic fr.paris.lutece.util.ReferenceList selectFieldTypeList(String strPoolName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldTypeList
in interface IFieldDAO
strPoolName
- the name of the poolplugin
- plugin adminsqlpublic fr.paris.lutece.util.ReferenceList selectFieldKeyList(String strPoolName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldKeyList
in interface IFieldDAO
strPoolName
- the name of the poolplugin
- Plugin adminsqlpublic fr.paris.lutece.util.ReferenceList selectFieldNullList(String strPoolName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldNullList
in interface IFieldDAO
strPoolName
- the name of the poolplugin
- Plugin adminsqlpublic int findFieldTypeIdbyLabel(String strLabelType, fr.paris.lutece.portal.service.plugin.Plugin plugin, String strPoolName)
strLabelType
- the name of the type that user chooseplugin
- Plugin adminsqlstrPoolName
- the name of the poolpublic String findFieldTypeLabelbyId(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin, String strPoolName)
nId
- the id of type labelplugin
- Plugin adminsqlstrPoolName
- name of the poolpublic int findFieldNullIdbyLabel(String strLabelNull, fr.paris.lutece.portal.service.plugin.Plugin plugin, String strPoolName)
strLabelNull
- the label of the null valueplugin
- Plugin adminsqlstrPoolName
- the name of the poolpublic String findFieldNullLabelbyId(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin, String strPoolName)
nId
- the id of the null valueplugin
- Plugin adminsqlstrPoolName
- the name of the poolpublic int findFieldKeyIdbyLabel(String strLabelKey, fr.paris.lutece.portal.service.plugin.Plugin plugin, String strPoolName)
strLabelKey
- the label key of the fieldplugin
- Plugin adminsqlstrPoolName
- the name of the poolpublic String findFieldKeyLabelbyId(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin, String strPoolName)
nId
- the id of the keyplugin
- Plugin adminsqlstrPoolName
- the name of the poolCopyright © 2018 City of Paris. All rights reserved.