|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.adminsql.business.FieldDAO
public class FieldDAO
Creates a new instance of DataDAO
| Constructor Summary | |
|---|---|
FieldDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(java.lang.String strTableName,
java.lang.String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a field from the table |
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,
java.lang.String strTableName,
Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a field in the 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 list of fields from a table |
fr.paris.lutece.util.ReferenceList |
selectFieldNullList(java.lang.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(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 in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldDAO()
| Method Detail |
|---|
public Field load(java.lang.String strPoolName,
java.lang.String strTableName,
java.lang.String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFieldDAOstrTableName - the name of the tablestrFieldName - the name of the fieldplugin - adminsql pluginstrPoolName - the name of the pool
public 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 in interface IFieldDAOstrTableName - the name of the tablestrFieldNameToModify - the name of the field to modifyfield - Field objectplugin - adminsql pluginstrPoolName - the name of the poolnIdOldFieldKey - find the key of the field if exists
public void insert(java.lang.String strPoolName,
java.lang.String strTableName,
Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IFieldDAOstrPoolName - the name of the poolfield - Field objectstrTableName - the name of the tableplugin - adminsql plugin
public void delete(java.lang.String strTableName,
java.lang.String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFieldDAOstrTableName - the name of the tablestrFieldName - the name of the fieldplugin - adminsql plugin
public java.util.List<Field> selectFieldList(java.lang.String strPoolName,
java.lang.String strTableName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldList in interface IFieldDAOstrPoolName - the name of the poolstrTableName - the name of the tableplugin - Plugin adminsql
public fr.paris.lutece.util.ReferenceList selectFieldTypeList(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldTypeList in interface IFieldDAOstrPoolName - the name of the poolplugin - plugin adminsql
public fr.paris.lutece.util.ReferenceList selectFieldKeyList(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldKeyList in interface IFieldDAOstrPoolName - the name of the poolplugin - Plugin adminsql
public fr.paris.lutece.util.ReferenceList selectFieldNullList(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldNullList in interface IFieldDAOstrPoolName - the name of the poolplugin - 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 | |||||||||