|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.adminsql.business.FieldHome
public final class FieldHome
The class calling the business objects
| Constructor Summary | |
|---|---|
FieldHome()
|
|
| Method Summary | |
|---|---|
static Field |
create(java.lang.String strPoolName,
java.lang.String strTableName,
Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an intance of a field |
static java.util.List<Field> |
findAll(java.lang.String strPoolName,
java.lang.String strTableName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the list of all fields of a table |
static Field |
findByPrimaryKey(java.lang.String strPoolName,
java.lang.String strTableName,
java.lang.String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the structure of a field |
static fr.paris.lutece.util.ReferenceList |
findFieldKey(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the key of the field in adminsql database if exists |
static fr.paris.lutece.util.ReferenceList |
findFieldNull(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the null value of the field in adminsql database if exists |
static fr.paris.lutece.util.ReferenceList |
findFieldType(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the type label of the field in adminsql database |
static void |
remove(java.lang.String strTableName,
java.lang.String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a field in a table |
static Field |
update(java.lang.String strPoolName,
java.lang.String strTableName,
Field field,
java.lang.String strFieldNameToModify,
int nIdOldFieldKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a field structure |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldHome()
| Method Detail |
|---|
public static java.util.List<Field> findAll(java.lang.String strPoolName,
java.lang.String strTableName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPoolName - the name of the poolstrTableName - the name of the tableplugin - Plugin objet
public static Field findByPrimaryKey(java.lang.String strPoolName,
java.lang.String strTableName,
java.lang.String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPoolName - the name of the poolstrTableName - the name of the tablestrFieldName - the name of the fieldplugin - Plugin object
public static fr.paris.lutece.util.ReferenceList findFieldType(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPoolName - the name of the poolplugin - Plugin adminsq
public static fr.paris.lutece.util.ReferenceList findFieldKey(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPoolName - the name of the poolplugin - Plugin adminsq
public static fr.paris.lutece.util.ReferenceList findFieldNull(java.lang.String strPoolName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPoolName - the name of the poolplugin - Plugin adminsq
public static Field create(java.lang.String strPoolName,
java.lang.String strTableName,
Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPoolName - the name of the poolstrTableName - the name of the tablefield - Field objectplugin - Plugin adminsql
public static void remove(java.lang.String strTableName,
java.lang.String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strTableName - the name of the tablestrFieldName - the name of the fieldplugin - Plugin adminsql
public static Field update(java.lang.String strPoolName,
java.lang.String strTableName,
Field field,
java.lang.String strFieldNameToModify,
int nIdOldFieldKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPoolName - the name of the poolstrTableName - the name of the tablefield - Field objectstrFieldNameToModify - the name of the field before modification for the requestnIdOldFieldKey - keep the key of the fieldplugin - Plugin adminsql
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||