|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.myapps.modules.database.business.MyAppsDatabaseDAO
public final class MyAppsDatabaseDAO
MyAppsDatabaseDAO
| Constructor Summary | |
|---|---|
MyAppsDatabaseDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nMyAppsId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
fr.paris.lutece.portal.service.image.ImageResource |
getIconResource(int nIdMyApps,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the icon representing the favorite application |
fr.paris.lutece.util.ReferenceList |
getMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of my apps |
boolean |
hasIcon(int nIdApps,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the Myapps has an icon or not |
void |
insert(MyAppsDatabase myApps,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
fr.paris.lutece.plugins.myapps.business.MyApps |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of the right from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a new primary key |
java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> |
selectMyAppsList(MyAppsDatabaseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads all the myapps |
java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> |
selectMyAppsListByFilter(MyAppsDatabaseFilter filter,
boolean bIsAscSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads all the myapps belonging to a filter |
void |
store(MyAppsDatabase myApps,
boolean bUpdateIcon,
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 MyAppsDatabaseDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IMyAppsDatabaseDAOplugin - Plugin
public void insert(MyAppsDatabase myApps,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IMyAppsDatabaseDAOmyApps - instance of the MyApps object to insertplugin - the Plugin
public fr.paris.lutece.plugins.myapps.business.MyApps load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IMyAppsDatabaseDAOnId - The identifier of the myAppsplugin - the Plugin
public void delete(int nMyAppsId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMyAppsDatabaseDAOnMyAppsId - int identifier of the MyApps to deleteplugin - the Plugin
public void store(MyAppsDatabase myApps,
boolean bUpdateIcon,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IMyAppsDatabaseDAOmyApps - the reference of the MyAppsbUpdateIcon - true if the icon must also be updated, false otherwiseplugin - the Plugin
public java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> selectMyAppsList(MyAppsDatabaseFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMyAppsList in interface IMyAppsDatabaseDAOfilter - the app filterplugin - the Plugin
public java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> selectMyAppsListByFilter(MyAppsDatabaseFilter filter,
boolean bIsAscSort,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMyAppsListByFilter in interface IMyAppsDatabaseDAOfilter - the app filterbIsAscSort - true if it is sorted ascendly, false otherwiseplugin - the Plugin
public fr.paris.lutece.portal.service.image.ImageResource getIconResource(int nIdMyApps,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
getIconResource in interface IMyAppsDatabaseDAOnIdMyApps - int identifier of the MyApps to fetchplugin - the Plugin
public fr.paris.lutece.util.ReferenceList getMyAppsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getMyAppsList in interface IMyAppsDatabaseDAOplugin - Plugin
MyAppsDatabase
public boolean hasIcon(int nIdApps,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
hasIcon in interface IMyAppsDatabaseDAOnIdApps - the ID of the MyAppplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||