fr.paris.lutece.plugins.myapps.modules.database.service
Class MyAppsDatabaseProvider

java.lang.Object
  extended by fr.paris.lutece.plugins.myapps.modules.database.service.MyAppsDatabaseProvider
All Implemented Interfaces:
fr.paris.lutece.plugins.myapps.service.MyAppsProvider

public final class MyAppsDatabaseProvider
extends java.lang.Object
implements fr.paris.lutece.plugins.myapps.service.MyAppsProvider

MyAppsDatabaseProvider


Method Summary
static MyAppsDatabaseProvider getInstance()
          Get the instance of MyAppsDatabaseProvider
 java.lang.String getLabelManageMyApps(java.util.Locale locale)
          
 java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> getMyAppsListByCategory(java.lang.String strCodeCategory, boolean bIsAscSort)
          
 java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> getMyAppsListByUserName(java.lang.String strUserName, boolean isAscSort)
          
 java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> getMyAppsListByUserNameAndCategory(java.lang.String strUserName, java.lang.String strCodeCategory, boolean bIsAscSort)
          
 java.lang.String getPluginName()
          
 java.lang.String getProviderName()
          
 java.lang.String getProviderName(java.util.Locale locale)
          
 java.lang.String getResourceImage(java.lang.String strMyAppId)
          
 java.lang.String getUrlOpenMyApps(int nMyAppId, fr.paris.lutece.portal.service.security.LuteceUser user)
          
 void init()
          Init the provider
 void register()
          Register the provider to the manager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MyAppsDatabaseProvider getInstance()
Get the instance of MyAppsDatabaseProvider

Returns:
an instance of MyAppsDatabaseProvider

init

public void init()
Init the provider


register

public void register()
Register the provider to the manager


getPluginName

public java.lang.String getPluginName()

Specified by:
getPluginName in interface fr.paris.lutece.plugins.myapps.service.MyAppsProvider

getProviderName

public java.lang.String getProviderName()

Specified by:
getProviderName in interface fr.paris.lutece.plugins.myapps.service.MyAppsProvider

getProviderName

public java.lang.String getProviderName(java.util.Locale locale)

Specified by:
getProviderName in interface fr.paris.lutece.plugins.myapps.service.MyAppsProvider

getResourceImage

public java.lang.String getResourceImage(java.lang.String strMyAppId)

Specified by:
getResourceImage in interface fr.paris.lutece.plugins.myapps.service.MyAppsProvider

getMyAppsListByUserName

public java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> getMyAppsListByUserName(java.lang.String strUserName,
                                                                                              boolean isAscSort)

Specified by:
getMyAppsListByUserName in interface fr.paris.lutece.plugins.myapps.service.MyAppsProvider

getMyAppsListByCategory

public java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> getMyAppsListByCategory(java.lang.String strCodeCategory,
                                                                                              boolean bIsAscSort)

Specified by:
getMyAppsListByCategory in interface fr.paris.lutece.plugins.myapps.service.MyAppsProvider

getMyAppsListByUserNameAndCategory

public java.util.List<fr.paris.lutece.plugins.myapps.business.MyApps> getMyAppsListByUserNameAndCategory(java.lang.String strUserName,
                                                                                                         java.lang.String strCodeCategory,
                                                                                                         boolean bIsAscSort)

Specified by:
getMyAppsListByUserNameAndCategory in interface fr.paris.lutece.plugins.myapps.service.MyAppsProvider

getLabelManageMyApps

public java.lang.String getLabelManageMyApps(java.util.Locale locale)

Specified by:
getLabelManageMyApps in interface fr.paris.lutece.plugins.myapps.service.MyAppsProvider

getUrlOpenMyApps

public java.lang.String getUrlOpenMyApps(int nMyAppId,
                                         fr.paris.lutece.portal.service.security.LuteceUser user)

Specified by:
getUrlOpenMyApps in interface fr.paris.lutece.plugins.myapps.service.MyAppsProvider


Copyright © 2012 Mairie de Paris. All Rights Reserved.