|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.profiles.service.ProfilesService
public class ProfilesService
ProfilesService
| Constructor Summary | |
|---|---|
ProfilesService()
|
|
| Method Summary | |
|---|---|
void |
doMoveDashboard(fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard,
int nOldColumn,
int nOldOrder,
boolean bCreate,
java.lang.String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Moves the dashboard. |
void |
doReorderColumn(java.lang.String strViewKey,
int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Reorders column's dashboard |
java.util.Map<java.lang.String,java.util.List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent>> |
getAllSetDashboards(java.lang.String strViewKey,
fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of dashboards of the given view |
java.util.List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> |
getDashboardComponents(java.lang.String strViewKey,
int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the dashboard component |
static ProfilesService |
getInstance()
Returns the instance of the singleton |
fr.paris.lutece.util.html.ItemNavigator |
getItemNavigator(ProfileFilter pFilter,
Profile profile,
fr.paris.lutece.util.url.UrlItem url)
Get the item navigator |
fr.paris.lutece.util.html.ItemNavigator |
getItemNavigator(ViewFilter vFilter,
View view,
fr.paris.lutece.util.url.UrlItem url)
Get the item navigator |
java.util.List<ProfileAction> |
getListActions(fr.paris.lutece.portal.business.user.AdminUser user,
Profile profile,
java.lang.String strPermission,
java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of actions |
java.util.List<ViewAction> |
getListActions(fr.paris.lutece.portal.business.user.AdminUser user,
View view,
java.lang.String strPermission,
java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of actions |
fr.paris.lutece.util.ReferenceList |
getListAvailableColumns()
Returns list with available column |
fr.paris.lutece.util.ReferenceList |
getListAvailableOrders(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Orders reference list for the given column |
java.util.Map<java.lang.String,fr.paris.lutece.util.ReferenceList> |
getMapAvailableOrders(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Builds all refList order for all columns |
java.util.List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> |
getNotSetDashboards(java.lang.String strViewKey,
fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of dashboards that are not set |
java.util.Map<java.lang.String,java.lang.Boolean> |
getOrderedColumnsStatus(java.lang.String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Builds the map to with column id as key, and true as value if column is well ordered, false otherwise. |
void |
init()
Initialize the profiles service |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfilesService()
| Method Detail |
|---|
public void init()
public static ProfilesService getInstance()
public fr.paris.lutece.util.html.ItemNavigator getItemNavigator(ProfileFilter pFilter,
Profile profile,
fr.paris.lutece.util.url.UrlItem url)
pFilter - the profile filterprofile - the profileurl - the url
public java.util.List<ProfileAction> getListActions(fr.paris.lutece.portal.business.user.AdminUser user,
Profile profile,
java.lang.String strPermission,
java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
user - the current userprofile - the profilestrPermission - the permission namelocale - Localeplugin - Plugin
public fr.paris.lutece.util.html.ItemNavigator getItemNavigator(ViewFilter vFilter,
View view,
fr.paris.lutece.util.url.UrlItem url)
vFilter - the view filterview - the viewurl - the url
public java.util.List<ViewAction> getListActions(fr.paris.lutece.portal.business.user.AdminUser user,
View view,
java.lang.String strPermission,
java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
user - the current userview - the viewstrPermission - the permission namelocale - Localeplugin - Plugin
public java.util.Map<java.lang.String,java.util.List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent>> getAllSetDashboards(java.lang.String strViewKey,
fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyuser - the current userplugin - Plugin
public java.util.List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> getNotSetDashboards(java.lang.String strViewKey,
fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keyuser - the admin userplugin - Plugin
public java.util.Map<java.lang.String,fr.paris.lutece.util.ReferenceList> getMapAvailableOrders(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
public fr.paris.lutece.util.ReferenceList getListAvailableOrders(int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nColumn - columnplugin - Plugin
public fr.paris.lutece.util.ReferenceList getListAvailableColumns()
public void doMoveDashboard(fr.paris.lutece.portal.service.dashboard.IDashboardComponent dashboard,
int nOldColumn,
int nOldOrder,
boolean bCreate,
java.lang.String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
dashboard - to move, with new valuesnOldColumn - previous column idnOldOrder - previous orderbCreate - true if this is a new dashboard, false otherwise.strViewKey - the view keyplugin - the plugin
public java.util.List<fr.paris.lutece.portal.service.dashboard.IDashboardComponent> getDashboardComponents(java.lang.String strViewKey,
int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keynColumn - the column idplugin - the plugins
public void doReorderColumn(java.lang.String strViewKey,
int nColumn,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strViewKey - the view keynColumn - the column to reorderplugin - the plugin
public java.util.Map<java.lang.String,java.lang.Boolean> getOrderedColumnsStatus(java.lang.String strViewKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
true as value if column is well ordered, false otherwise.
strViewKey - the view keyplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||