Interface IPlatformReleaseDAO
- All Known Implementing Classes:
PlatformReleaseDAO
public interface IPlatformReleaseDAO
IPlatformReleaseDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(PlatformRelease platformRelease, 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 tableloadByName(String strName, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the campaign with the given name, names being uniqueselectPlatformReleasesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the PlatformRelease objects and returns them as a list, most recent firstvoidstore(PlatformRelease platformRelease, 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:
platformRelease- instance of the PlatformRelease object to insertplugin- the Plugin
-
store
Update the record in the table- Parameters:
platformRelease- the reference of the PlatformReleaseplugin- 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 PlatformRelease to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the PlatformReleaseplugin- the Plugin- Returns:
- The instance of the PlatformRelease, or null if not found
-
loadByName
Load the campaign with the given name, names being unique- Parameters:
strName- The name of the PlatformReleaseplugin- the Plugin- Returns:
- The instance of the PlatformRelease, or null if not found
-
selectPlatformReleasesList
List<PlatformRelease> selectPlatformReleasesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the PlatformRelease objects and returns them as a list, most recent first- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the PlatformRelease objects
-