|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.role.RoleHome
public final class RoleHome
This class provides instances management methods (create, find, ...) for Role right objects
Method Summary | |
---|---|
static Role |
create(Role role)
Creation of an instance of a mode |
static Collection<Role> |
findAll()
Returns the roles list |
static Role |
findByPrimaryKey(String strRole)
Returns an instance of an role whose identifier is specified in parameter |
static boolean |
findExistRole(String strRole)
Test if the role exists |
static ReferenceList |
getRolesList()
Return the list of all roles |
static ReferenceList |
getRolesList(AdminUser user)
Return the list of all roles |
static void |
remove(String strRole)
Remove the mode whose identifier is specified in parameter |
static Role |
update(Role role)
Update of the mode which is specified |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Role create(Role role)
role
- An instance of a role which contains the informations to create
public static Role update(Role role)
role
- The instance of the role which contains the data to store
public static void remove(String strRole)
strRole
- The identifier of the role to removepublic static Role findByPrimaryKey(String strRole)
strRole
- The mode primary key
public static ReferenceList getRolesList()
public static Collection<Role> findAll()
public static boolean findExistRole(String strRole)
strRole
- The role name
public static ReferenceList getRolesList(AdminUser user)
user
- The Admin User
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |