fr.paris.lutece.plugins.myapps.service
Interface MyAppsProvider


public interface MyAppsProvider

MyAppsResourceProvider


Method Summary
 java.lang.String getLabelManageMyApps(java.util.Locale locale)
          Get the label for the button ManageMyApps.
 java.util.List<MyApps> getMyAppsListByUserName(java.lang.String strUserName, boolean bIsAscSort)
          Get the list of myapps that are enabled.
 java.lang.String getPluginName()
          Get the plugin name
 java.lang.String getProviderName()
          Get the name of the provider
 java.lang.String getProviderName(java.util.Locale locale)
          Get the name of the provider
 java.lang.String getResourceImage(java.lang.String strMyAppsId)
          Get the resource image
 java.lang.String getUrlOpenMyApps(int nMyAppId, fr.paris.lutece.portal.service.security.LuteceUser user)
          Get the url for opening a myapps
 

Method Detail

getPluginName

java.lang.String getPluginName()
Get the plugin name

Returns:
the plugin name

getProviderName

java.lang.String getProviderName()
Get the name of the provider

Returns:
the name of the provider

getProviderName

java.lang.String getProviderName(java.util.Locale locale)
Get the name of the provider

Parameters:
locale - Locale
Returns:
the name of the provider

getMyAppsListByUserName

java.util.List<MyApps> getMyAppsListByUserName(java.lang.String strUserName,
                                               boolean bIsAscSort)
Get the list of myapps that are enabled.

Parameters:
strUserName - the user name
bIsAscSort - true if it is sorted ascendly, false otherwise
Returns:
a list of MyApps

getResourceImage

java.lang.String getResourceImage(java.lang.String strMyAppsId)
Get the resource image

Parameters:
strMyAppsId - the MyApps ID
Returns:
the resource image

getLabelManageMyApps

java.lang.String getLabelManageMyApps(java.util.Locale locale)
Get the label for the button ManageMyApps.
Return an EMPTY STRING if you do not want to have a button.

Parameters:
locale - Locale
Returns:
the label

getUrlOpenMyApps

java.lang.String getUrlOpenMyApps(int nMyAppId,
                                  fr.paris.lutece.portal.service.security.LuteceUser user)
Get the url for opening a myapps

Parameters:
nMyAppId - the myapp id
user - the current LuteceUser
Returns:
an url


Copyright © 2011 Mairie de Paris. All Rights Reserved.