Interface IUserAcceptedDAO
- All Known Implementing Classes:
UserAcceptedDAO
public interface IUserAcceptedDAO
IUserAcceptedDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablebooleanexistsAcceptedVersionEntry(int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Checks whether the specified version entry has been accepted at least once.voidinsert(UserAccepted userAccepted, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableloadByGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableloadByGuidAndIdEntryAndVersion(String strGuid, int nIdEntry, int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectIdUserAcceptedsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the userAccepted objects and returns them as a listselectUserAcceptedsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the userAccepted objects and returns them as a listselectUserAcceptedsListByIds(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.ReferenceListselectUserAcceptedsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the userAccepted objects and returns them as a referenceListvoidstore(UserAccepted userAccepted, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
userAccepted- instance of the UserAccepted object to insertplugin- the Plugin
-
store
Update the record in the table- Parameters:
userAccepted- the reference of the UserAcceptedplugin- 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 UserAccepted to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the userAcceptedplugin- the Plugin- Returns:
- The instance of the userAccepted
-
loadByGuid
Optional<UserAccepted> loadByGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table- Parameters:
nKey- The identifier of the userAcceptedplugin- the Plugin- Returns:
- The instance of the userAccepted
-
loadByGuidAndIdEntryAndVersion
Optional<UserAccepted> loadByGuidAndIdEntryAndVersion(String strGuid, int nIdEntry, int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table- Parameters:
strGuid- The guidnIdEntry- The id entrynVersion- The version of entryplugin- the Plugin- Returns:
- The instance of the userAccepted
-
selectUserAcceptedsList
Load the data of all the userAccepted objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the userAccepted objects
-
selectIdUserAcceptedsList
Load the id of all the userAccepted objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the userAccepted objects
-
selectUserAcceptedsReferenceList
fr.paris.lutece.util.ReferenceList selectUserAcceptedsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the userAccepted objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the userAccepted objects
-
selectUserAcceptedsListByIds
List<UserAccepted> selectUserAcceptedsListByIds(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
-
existsAcceptedVersionEntry
boolean existsAcceptedVersionEntry(int nVersion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Checks whether the specified version entry has been accepted at least once.- Parameters:
nVersion-plugin-- Returns:
trueif the version entry has already been accepted at least once,falseotherwise
-