|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IProfilesService
IProfilesService
| Method Summary | |
|---|---|
void |
addRightForProfile(String strProfileKey,
String strIdRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add a right for a profile |
void |
addRoleForProfile(String strProfileKey,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add a role for a profile |
void |
addUserForProfile(String strProfileKey,
int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add an user for a profile |
void |
addWorkgroupForProfile(String strProfileKey,
String strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add a workgroup for a profile |
boolean |
checkExistProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a profile already exists or not |
boolean |
checkProfileAttributed(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the profile is attributed to any user |
Profile |
create(Profile profile,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of profile |
void |
doAssignUserToProfile(int nIdUser,
javax.servlet.http.HttpServletRequest request,
Locale locale)
Do assign user to a profile |
void |
doUnassignUserFromProfile(int nIdUser,
String strProfileKey,
fr.paris.lutece.portal.business.user.AdminUser currentUser,
javax.servlet.http.HttpServletRequest request,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Do unassign user from profile |
List<Profile> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of profiles objects |
Profile |
findByPrimaryKey(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a profile whose identifier is specified in parameter |
List<Profile> |
findProfileByIdUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of profiles by a given ID user |
List<Profile> |
findProfilesByFilter(ProfileFilter pFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find profile by filter |
fr.paris.lutece.util.html.ItemNavigator |
getItemNavigator(ProfileFilter pFilter,
Profile profile,
fr.paris.lutece.util.url.UrlItem url)
Get the item navigator |
List<ProfileAction> |
getListActions(fr.paris.lutece.portal.business.user.AdminUser user,
Profile profile,
String strPermission,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of actions |
fr.paris.lutece.util.ReferenceList |
getProfilesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of profiles |
List<fr.paris.lutece.portal.business.right.Right> |
getRightsListForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of rights associated to the profile |
List<fr.paris.lutece.portal.business.rbac.AdminRole> |
getRolesListForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of roles associated to the profile |
List<fr.paris.lutece.portal.business.user.AdminUser> |
getUsersListForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of users associated to the profile |
View |
getViewForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the view associated to the profile |
List<fr.paris.lutece.portal.business.workgroup.AdminWorkgroup> |
getWorkgroupsListForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of workgroups associated to the profile |
boolean |
hasProfile(String strProfileKey,
int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the given user has a given profile or not |
boolean |
hasRight(String strProfileKey,
String strIdRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a profile has the given right. |
boolean |
hasRole(String strProfileKey,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a profile has the given role. |
boolean |
hasUser(String strProfileKey,
int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a profile has the given user. |
boolean |
hasWorkgroup(String strProfileKey,
String strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a profile has the given workgroup. |
void |
remove(String strProfileKey,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the Profile whose identifier is specified in parameter |
void |
removeProfilesFromUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all profiles associated to an user |
void |
removeRightFromProfile(String strProfileKey,
String strIdRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a right from a profile |
void |
removeRights(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all rights from profile |
void |
removeRoleFromProfile(String strProfileKey,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a role from a profile |
void |
removeRoles(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all roles from profile |
void |
removeUserFromProfile(String strProfileKey,
int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a user from a profile |
void |
removeUsers(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all users from profile |
void |
removeView(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove profile from a view |
void |
removeWorkgroupFromProfile(String strProfileKey,
String strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a workgroup from a profile |
void |
removeWorkgroups(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove all workgroups from profile |
Profile |
update(Profile profile,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the profile which is specified in parameter |
| Method Detail |
|---|
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
List<ProfileAction> getListActions(fr.paris.lutece.portal.business.user.AdminUser user,
Profile profile,
String strPermission,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
user - the current userprofile - the profilestrPermission - the permission namelocale - Localeplugin - Plugin
void doAssignUserToProfile(int nIdUser,
javax.servlet.http.HttpServletRequest request,
Locale locale)
nIdUser - the id suerrequest - the HTTP requestlocale - the Locale
void doUnassignUserFromProfile(int nIdUser,
String strProfileKey,
fr.paris.lutece.portal.business.user.AdminUser currentUser,
javax.servlet.http.HttpServletRequest request,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - the id userstrProfileKey - the profile keycurrentUser - the current userrequest - the HTTP requestlocale - the localeplugin - the plugin
Profile create(Profile profile,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
profile - The instance of the profile which contains the informations to storelocale - the Localeplugin - Plugin
Profile update(Profile profile,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
profile - The instance of the profile which contains the new data to storelocale - the Localeplugin - Plugin
void remove(String strProfileKey,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The Profile object to removelocale - the Localeplugin - Plugin
Profile findByPrimaryKey(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The key of the profileplugin - Plugin
List<Profile> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
List<Profile> findProfilesByFilter(ProfileFilter pFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
pFilter - the Filterplugin - Plugin
boolean checkExistProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile keyplugin - Plugin
fr.paris.lutece.util.ReferenceList getProfilesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
boolean checkProfileAttributed(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - the profile keyplugin - Plugin
List<Profile> findProfileByIdUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - the ID userplugin - Plugin
List<fr.paris.lutece.portal.business.right.Right> getRightsListForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile Keyplugin - Plugin
boolean hasRight(String strProfileKey,
String strIdRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeystrIdRight - The Right IDplugin - Plugin
void addRightForProfile(String strProfileKey,
String strIdRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeystrIdRight - The Right IDplugin - Plugin
void removeRightFromProfile(String strProfileKey,
String strIdRight,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeystrIdRight - The Right IDplugin - Plugin
void removeRights(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile keyplugin - Plugin
List<fr.paris.lutece.portal.business.workgroup.AdminWorkgroup> getWorkgroupsListForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile Keyplugin - Plugin
boolean hasWorkgroup(String strProfileKey,
String strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeystrWorkgroupKey - The Workgroup keyplugin - Plugin
void addWorkgroupForProfile(String strProfileKey,
String strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeystrWorkgroupKey - The WorkgroupKeyplugin - Plugin
void removeWorkgroupFromProfile(String strProfileKey,
String strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeystrWorkgroupKey - The Workgroup keyplugin - Plugin
void removeWorkgroups(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile keyplugin - Plugin
List<fr.paris.lutece.portal.business.rbac.AdminRole> getRolesListForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile Keyplugin - Plugin
boolean hasRole(String strProfileKey,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeystrRoleKey - The Role keyplugin - Plugin
void addRoleForProfile(String strProfileKey,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeystrRoleKey - The RoleKeyplugin - Plugin
void removeRoleFromProfile(String strProfileKey,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeystrRoleKey - The role keyplugin - Plugin
void removeRoles(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile keyplugin - Plugin
List<fr.paris.lutece.portal.business.user.AdminUser> getUsersListForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile Keyplugin - Plugin
boolean hasUser(String strProfileKey,
int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeynIdUser - The User IDplugin - Plugin
void addUserForProfile(String strProfileKey,
int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile KeynIdUser - The User IDplugin - Plugin
void removeUserFromProfile(String strProfileKey,
int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The key of the profilenIdUser - The User IDplugin - Plugin
void removeUsers(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The profile keyplugin - Plugin
void removeProfilesFromUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The User IDplugin - Plugin
boolean hasProfile(String strProfileKey,
int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - The key of the profilenIdUser - the ID userplugin - Plugin
View getViewForProfile(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - the profile keyplugin - Plugin
void removeView(String strProfileKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strProfileKey - the profile keyplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||