Interface IEntryDAO
- All Known Implementing Classes:
EntryDAO
public interface IEntryDAO
IEntryDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidInsert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableloadLastVersion(fr.paris.lutece.portal.service.plugin.Plugin _plugin) Load the data from the tableloadPublishedEntry(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the published entryvoidpublish(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Publish an entryselectEntrysList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the entry objects and returns them as a listselectEntrysListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a listfr.paris.lutece.util.ReferenceListselectEntrysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the entry objects and returns them as a referenceListselectIdEntrysList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the entry objects and returns them as a listvoidUpdate the record in the tablevoidunpublishAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Unpublish all entries
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
entry- instance of the Entry object to insertplugin- the Plugin
-
store
Update the record in the table- Parameters:
entry- the reference of the Entryplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nKey- The identifier of the Entry to deleteplugin- the Plugin
-
publish
void publish(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Publish an entry- Parameters:
nKey- The identifier of the Entry to publishplugin- the Plugin
-
unpublishAll
void unpublishAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Unpublish all entries- Parameters:
plugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the entryplugin- the Plugin- Returns:
- The instance of the entry
-
selectEntrysList
Load the data of all the entry objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the entry objects
-
selectIdEntrysList
Load the id of all the entry objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the entry objects
-
selectEntrysReferenceList
fr.paris.lutece.util.ReferenceList selectEntrysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the entry objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the entry objects
-
selectEntrysListByIds
List<Entry> selectEntrysListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a list- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
loadLastVersion
Load the data from the table- Parameters:
plugin- the Plugin- Returns:
- The instance of the entry
-
loadPublishedEntry
Load the published entry- Parameters:
plugin- the Plugin- Returns:
- The instance of the published entry
-