|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.business.RecordHome
public final class RecordHome
class RecordHome
Method Summary | |
---|---|
static int |
copy(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy an instance of record |
static int |
create(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of record |
static Boolean |
direcytoryRecordListHasWorkflow(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Test if the given directory record list has a worflow |
static Record |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a recordwhose identifier is specified in parameter |
static int |
getCountRecord(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Count record who verify the filter |
static Integer |
getDirectoryIdByRecordId(Integer nRecordId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get directory id by by record id |
static List<Record> |
getListRecord(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the record who verify the filter and returns them in a list |
static List<Integer> |
getListRecordId(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the record who verify the filter and returns them in a list |
static List<Record> |
loadListByListId(List<Integer> lIdList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a list of record |
static void |
remove(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the record whose identifier is specified in parameter |
static void |
removeByIdDirectory(Integer nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deprecated. This function does not remove the associated files |
static void |
update(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the record |
static void |
updateWidthRecordField(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the record 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(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
record
- The instance of the record which contains the informations to storeplugin
- the Plugin
public static int copy(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
record
- The instance of the record who must copyplugin
- the Plugin
public static void updateWidthRecordField(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
record
- The instance of the record which contains the informations to updateplugin
- the Pluginpublic static void update(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
record
- The instance of the record which contains the informations to updateplugin
- the Pluginpublic static void remove(int nIdRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecord
- The recordIdplugin
- the Pluginpublic static void removeByIdDirectory(Integer nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory
- The directory idplugin
- The pluginpublic static Record findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The formResponse primary keyplugin
- the Plugin
public static Boolean direcytoryRecordListHasWorkflow(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory
- directory Idplugin
- the plugin
public static List<Record> loadListByListId(List<Integer> lIdList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
listId
- list of record idplugin
- the plugin
public static List<Record> getListRecord(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the plugin
public static int getCountRecord(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the plugin
public static List<Integer> getListRecordId(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the plugin
public static Integer getDirectoryIdByRecordId(Integer nRecordId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nRecordId
- the record idplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |