public class MyPortalMyAppsService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_NAME
Name of the bean of the service
|
Constructor and Description |
---|
MyPortalMyAppsService() |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
getOrderedMyAppsIdList(String strUserName)
Return the list of all MyApps id ordered by the order specified by the user
|
List<fr.paris.lutece.plugins.myapps.business.MyApps> |
getOrderedMyAppsList(String strUserName)
Return the list of MyApps of a user ordered with the order specify by the user
|
fr.paris.lutece.util.ReferenceList |
getUserListOrder(String strUserName)
Return the list of all applications order used by the user
|
fr.paris.lutece.util.ReferenceList |
getUserListOrderForCreation(String strUserName)
Returns the list of all applications position that the user can used when he creates a new favorite application
|
List<fr.paris.lutece.plugins.myapps.modules.database.business.MyAppsDatabaseUser> |
getUserMyAppsDatabse(String strUserName)
Return the list of all MyApps of a user
|
List<Integer> |
manageMyAppsNewOrderList(List<Integer> listUserApplicationOrder,
fr.paris.lutece.plugins.myapps.modules.database.business.MyAppsDatabaseUser myAppsUser)
Manage the list of current order for all user MyApps with the new MyApps
|
void |
manageMyAppsReordering(List<Integer> listNewMyAppsOrder,
String strUserName)
Manage the reordering of user MyApps and make the update in database
|
public static final String BEAN_NAME
public List<fr.paris.lutece.plugins.myapps.business.MyApps> getOrderedMyAppsList(String strUserName)
strUserName
- the name of the userpublic List<Integer> getOrderedMyAppsIdList(String strUserName)
strUserName
- the name of the userpublic List<fr.paris.lutece.plugins.myapps.modules.database.business.MyAppsDatabaseUser> getUserMyAppsDatabse(String strUserName)
strUserName
- the name of a userpublic fr.paris.lutece.util.ReferenceList getUserListOrder(String strUserName)
strUserName
- the name of the userpublic fr.paris.lutece.util.ReferenceList getUserListOrderForCreation(String strUserName)
strUserName
- the name of the userpublic List<Integer> manageMyAppsNewOrderList(List<Integer> listUserApplicationOrder, fr.paris.lutece.plugins.myapps.modules.database.business.MyAppsDatabaseUser myAppsUser)
listUserApplicationOrder
- the list of all MyApps id orderedmyAppsUser
- the MyApps to orderCopyright © 2018 City of Paris. All rights reserved.