|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.appstore.business.ApplicationDAO
public final class ApplicationDAO
This class provides Data Access methods for Application objects
| Constructor Summary | |
|---|---|
ApplicationDAO()
|
|
| 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 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Application application,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IApplicationDAOapplication - instance of the Application object to insertplugin - The plugin
public Application load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IApplicationDAOnId - The identifier of the applicationplugin - The plugin
public void delete(int nApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IApplicationDAOnApplicationId - The identifier of the applicationplugin - The plugin
public 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 plugin
public void clearComponentsList(int nApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
clearComponentsList in interface IApplicationDAO
public void addComponent(int nApplicationId,
int nComponentId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
addComponent in interface IApplicationDAO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||