fr.paris.lutece.plugins.appstore.business
Interface IApplicationDAO

All Known Implementing Classes:
ApplicationDAO

public interface IApplicationDAO

IApplicationDAO Interface


Method Summary
 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 nIdApplication, 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 nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 Collection<Application> selectApplicationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the application objects and returns them as a collection
 void store(Application application, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

void insert(Application application,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
application - instance of the Application object to inssert
plugin - the Plugin

store

void store(Application application,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
application - the reference of the Application
plugin - the Plugin

delete

void delete(int nIdApplication,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdApplication - int identifier of the Application to delete
plugin - the Plugin

load

Application load(int nKey,
                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
strId - The identifier of the application
plugin - the Plugin
Returns:
The instance of the application

selectApplicationsList

Collection<Application> selectApplicationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the application objects and returns them as a collection

Parameters:
plugin - the Plugin
Returns:
The collection which contains the data of all the application objects

clearComponentsList

void clearComponentsList(int nApplicationId,
                         fr.paris.lutece.portal.service.plugin.Plugin _plugin)

addComponent

void addComponent(int nApplicationId,
                  int nComponentId,
                  fr.paris.lutece.portal.service.plugin.Plugin _plugin)


Copyright © 2014 Mairie de Paris. All Rights Reserved.