net.sourceforge.jfacets.usersandroles
Class UsersAndRolesProfileRepository
java.lang.Object
net.sourceforge.jfacets.usersandroles.UsersAndRolesProfileRepository
- All Implemented Interfaces:
- IProfileRepository
public class UsersAndRolesProfileRepository
- extends java.lang.Object
- implements IProfileRepository
The Users/Roles Profile Repository.
Provides a higher abstraction level compared to the IProfileRepository
base interface, for managing Users and Roles.
Nothing has to be modified here in order to use this ProfileRepository.
You just have to implement the IUsersAndRolesManager and inject
your object via the Spring ApplicationContext.
- Author:
- VANKEISBELCK Remi - remi 'at' rvkb.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsersAndRolesProfileRepository
public UsersAndRolesProfileRepository()
getProfileById
public IProfile getProfileById(java.lang.String profileId)
- Description copied from interface:
IProfileRepository
- Return a profile by its ID
- Specified by:
getProfileById in interface IProfileRepository
getSuperProfiles
public IProfile[] getSuperProfiles(IProfile child)
- Description copied from interface:
IProfileRepository
- Return passed profile's parents in an array
- Specified by:
getSuperProfiles in interface IProfileRepository
getUsersAndRolesManager
public IUsersAndRolesManager getUsersAndRolesManager()
setUsersAndRolesManager
public void setUsersAndRolesManager(IUsersAndRolesManager usersAndRolesManager)
Copyright © 2011. All Rights Reserved.