|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.business.FieldHome
public final class FieldHome
This class provides instances management methods (create, find, ...) for Field objects
Method Summary | |
---|---|
static void |
copy(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of field |
static int |
create(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of field |
static void |
createVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert an association between field and a regular expression |
static Field |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a Field whose identifier is specified in parameter |
static Field |
findByValue(int nIdEntry,
String strValue,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a Field whose value is specified in parameter ^@param the entry id |
static List<Field> |
getFieldListByIdEntry(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the field of the entry and returns them in a list |
static List<Integer> |
getListRegularExpressionKeyByIdField(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the key of all the regularExpression associate to the field and returns them in a list |
static boolean |
isRegularExpressionIsUse(int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
verify if the regular expresssion is use |
static void |
remove(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the field whose identifier is specified in parameter |
static void |
removeVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an association between field and a regular expression |
static void |
update(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the field which is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int create(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
field
- The instance of the Field which contains the informations to storeplugin
- the Plugin
public static void copy(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
field
- The instance of the Field who must copyplugin
- the Pluginpublic static void update(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
field
- The instance of the Field which contains the informations to updateplugin
- the Pluginpublic static void remove(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField
- The field Idplugin
- the Pluginpublic static Field findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The field primary keyplugin
- the Plugin
public static Field findByValue(int nIdEntry, String strValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strValue
- strValueplugin
- the Plugin
public static List<Field> getFieldListByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntry
- the id of the entryplugin
- the plugin
public static void removeVerifyBy(int nIdField, int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField
- The identifier of the fieldnIdExpression
- The identifier of the regular expressionplugin
- the pluginpublic static void createVerifyBy(int nIdField, int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField
- The identifier of the fieldnIdExpression
- The identifier of the regular expressionplugin
- the pluginpublic static List<Integer> getListRegularExpressionKeyByIdField(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdField
- the id of the fieldplugin
- the plugin
public static boolean isRegularExpressionIsUse(int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdExpression
- The identifier of the regular expressionplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |