|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.myapps.business.MyAppsDAO
public final class MyAppsDAO
This class provides Data Access methods for MyApps objects
| Constructor Summary | |
|---|---|
MyAppsDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nMyAppsId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(MyApps myApps,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
MyApps |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the myApps from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.List<MyApps> |
selectMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the myApps and returns them in form of a collection |
java.util.List<MyApps> |
selectMyAppsListByUser(java.lang.String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the myApps belonging to a user and returns them in form of a list |
void |
store(MyApps myApps,
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 MyAppsDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void insert(MyApps myApps,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IMyAppsDAOmyApps - instance of the MyApps object to insertPlugin - plugin
public MyApps load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IMyAppsDAOnId - The identifier of the myAppsPlugin - plugin
public void delete(int nMyAppsId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMyAppsDAOnMyAppsId - The identifier of the myAppsPlugin - plugin
public void store(MyApps myApps,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IMyAppsDAOmyApps - The reference of the myAppsPlugin - pluginpublic java.util.List<MyApps> selectMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMyAppsList in interface IMyAppsDAOPlugin - plugin
public java.util.List<MyApps> selectMyAppsListByUser(java.lang.String strUserName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMyAppsListByUser in interface IMyAppsDAOstrUserName - The name of the userPlugin - plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||