|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.rbac.AdminRoleHome
public final class AdminRoleHome
This class provides instances management methods (create, find, ...) for AdminRole objects
| Method Summary | |
|---|---|
static boolean |
checkExistRole(String strRoleKey)
Check that the given key points to an existing role |
static AdminRole |
create(AdminRole role)
Creation of an instance of role |
static Collection<AdminRole> |
findAll()
Returns a collection of roles objects |
static AdminRole |
findByPrimaryKey(String strRoleKey)
Returns an instance of a role whose identifier is specified in parameter |
static ReferenceList |
getRolesList()
Returns a reference of roles objects |
static void |
remove(String strRoleKey)
Remove the AdminRole whose identifier is specified in parameter |
static AdminRole |
update(String strRoleKey,
AdminRole role)
Update of the role which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AdminRole create(AdminRole role)
role - The instance of the role which contains the informations to store
public static AdminRole update(String strRoleKey,
AdminRole role)
strRoleKey - the key of the role to updaterole - The instance of the role which contains the new data to store
public static void remove(String strRoleKey)
strRoleKey - The AdminRole object to removepublic static AdminRole findByPrimaryKey(String strRoleKey)
strRoleKey - The Primary key of the role
public static Collection<AdminRole> findAll()
public static ReferenceList getRolesList()
public static boolean checkExistRole(String strRoleKey)
strRoleKey - The role key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||