|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.business.RecordFieldHome
public final class RecordFieldHome
This class provides instances management methods (create, find, ...) for Record field objects
| Method Summary | |
|---|---|
static void |
copy(RecordField recordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of record field |
static void |
create(RecordField recordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of record field |
static RecordField |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a Record field whose identifier is specified in parameter |
static int |
findMaxNumber(int nIdEntryTypeNumbering,
int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the max number from a given id directory |
static int |
getCountRecordField(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the number of record field who verify the filter |
static java.util.List<RecordField> |
getRecordFieldList(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the record field who verify the filter and returns them in a list |
static java.util.List<RecordField> |
getRecordFieldListByRecordIdList(java.util.List<java.lang.Integer> lIdRecordList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load full record field data (except binary file data) of given list of Record id * /! |
static java.util.List<RecordField> |
getRecordFieldSpecificList(java.util.List<java.lang.Integer> lEntryId,
java.lang.Integer nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load full record field data (except binary file data) /! |
static boolean |
isNumberOnARecordField(int nIdEntryTypeNumbering,
int nIdDirectory,
int nNumber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the given number is already on a record field or not. |
static void |
remove(int nIdRecordField,
boolean bRemoveAsynchronousFiles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the record field whose identifier is specified in parameter |
static void |
remove(int nIdRecordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the record field whose identifier is specified in parameter |
static void |
removeByFilter(RecordFieldFilter filter,
boolean bRemoveByAsynchronouseFiles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove all record field who verify the filter |
static void |
removeByFilter(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove all record field who verify the filter |
static void |
removeByListRecordId(java.util.List<java.lang.Integer> lListRecordId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deprecated. This function does not remove the associated files |
static void |
update(RecordField recordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the record 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 void create(RecordField recordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
recordField - The instance of the record field which contains the informations to storeplugin - the Plugin
public static void copy(RecordField recordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
recordField - The instance of the record field which contains the informations to storeplugin - the Plugin
public static void update(RecordField recordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
recordField - The instance of the record fields which contains the informations to updateplugin - the Plugin
public static void remove(int nIdRecordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecordField - The identifier of the record fieldplugin - the Plugin
public static void remove(int nIdRecordField,
boolean bRemoveAsynchronousFiles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecordField - The identifier of the record fieldbRemoveAsynchronousFiles - true if it must remove the asynchronous files, false otherwiseplugin - the Plugin
public static RecordField findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The entry primary keyplugin - the Plugin
public static void removeByFilter(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the plugin
public static void removeByFilter(RecordFieldFilter filter,
boolean bRemoveByAsynchronouseFiles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the plugin
public static void removeByListRecordId(java.util.List<java.lang.Integer> lListRecordId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
lListRecordId - the list of record idplugin - the plugin
public static java.util.List<RecordField> getRecordFieldList(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the plugin
public static java.util.List<RecordField> getRecordFieldListByRecordIdList(java.util.List<java.lang.Integer> lIdRecordList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecord - the Record idplugin - the plugin
public static java.util.List<RecordField> getRecordFieldSpecificList(java.util.List<java.lang.Integer> lEntryId,
java.lang.Integer nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
lEntryId - List entry to loadnIdRecord - the record Idplugin - the plugin
public static int getCountRecordField(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the plugin
public static int findMaxNumber(int nIdEntryTypeNumbering,
int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntryTypeNumbering - the id of the entry type numberingnIdDirectory - the id directoryplugin - Plugin
public static boolean isNumberOnARecordField(int nIdEntryTypeNumbering,
int nIdDirectory,
int nNumber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntryTypeNumbering - the id entry type numberingnIdDirectory - the id directorynNumber - the number to checkplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||