public final class ApplicationDAO extends Object implements IApplicationDAO
| Constructor and Description |
|---|
ApplicationDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(int nApplicationId,
int nComponentId,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
clearComponentsList(int nApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
delete(int nApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Application application,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Application |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the application from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<Application> |
selectApplicationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the applications and returns them as a collection
|
void |
store(Application application,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(Application application, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IApplicationDAOapplication - instance of the Application object to insertplugin - The pluginpublic Application load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IApplicationDAOnId - The identifier of the applicationplugin - The pluginpublic void delete(int nApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IApplicationDAOnApplicationId - The identifier of the applicationplugin - The pluginpublic void store(Application application, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IApplicationDAOapplication - The reference of the applicationplugin - The pluginpublic Collection<Application> selectApplicationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectApplicationsList in interface IApplicationDAOplugin - The pluginpublic void clearComponentsList(int nApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
clearComponentsList in interface IApplicationDAOpublic void addComponent(int nApplicationId,
int nComponentId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
addComponent in interface IApplicationDAOCopyright © 2018 City of Paris. All rights reserved.