Interface IDeviceRegistrationDAO
- All Known Implementing Classes:
DeviceRegistrationDAO
public interface IDeviceRegistrationDAO
IDeviceRegistrationDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablefindListByCriteria(Map<String, String> criteria, fr.paris.lutece.portal.service.plugin.Plugin plugin) voidinsert(DeviceRegistration deviceRegistration, 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 tableloadByRegistrationToken(String registrationToken, fr.paris.lutece.portal.service.plugin.Plugin plugin) selectDeviceRegistrationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the deviceRegistration objects and returns them as a listselectDeviceRegistrationsListByIds(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.ReferenceListselectDeviceRegistrationsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the deviceRegistration objects and returns them as a referenceListselectIdDeviceRegistrationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin, Map<String, String> mapFilterCriteria, String strColumnToOrder, String strSortMode) Load the id of all the deviceRegistration objects and returns them as a listvoidstore(DeviceRegistration deviceRegistration, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Method Details
-
insert
void insert(DeviceRegistration deviceRegistration, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Parameters:
deviceRegistration- instance of the DeviceRegistration object to insertplugin- the Plugin
-
store
void store(DeviceRegistration deviceRegistration, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Parameters:
deviceRegistration- the reference of the DeviceRegistrationplugin- 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 DeviceRegistration to deleteplugin- the Plugin
-
loadByRegistrationToken
Optional<DeviceRegistration> loadByRegistrationToken(String registrationToken, fr.paris.lutece.portal.service.plugin.Plugin plugin) -
load
Load the data from the table- Parameters:
nKey- The identifier of the deviceRegistrationplugin- the Plugin- Returns:
- The instance of the deviceRegistration
-
findListByCriteria
List<DeviceRegistration> findListByCriteria(Map<String, String> criteria, fr.paris.lutece.portal.service.plugin.Plugin plugin) -
selectDeviceRegistrationsList
List<DeviceRegistration> selectDeviceRegistrationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the deviceRegistration objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the deviceRegistration objects
-
selectIdDeviceRegistrationsList
List<Integer> selectIdDeviceRegistrationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin, Map<String, String> mapFilterCriteria, String strColumnToOrder, String strSortMode) Load the id of all the deviceRegistration objects and returns them as a list- Parameters:
plugin- the PluginmapFilterCriteria- contains search bar names/values inputsstrColumnToOrder- contains the column name to use for orderBy statement in case of sorting request (must be null)strSortMode- contains the sortMode in case of sorting request : ASC or DESC (must be null)- Returns:
- The list which contains the id of all the project objects fitting with the seach criteria.
-
selectDeviceRegistrationsReferenceList
fr.paris.lutece.util.ReferenceList selectDeviceRegistrationsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the deviceRegistration objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the deviceRegistration objects
-
selectDeviceRegistrationsListByIds
List<DeviceRegistration> selectDeviceRegistrationsListByIds(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
-