public final class RBACRoleHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkExistRole(String strRoleKey)
Check that the given key points to an existing role
|
static RBACRole |
create(RBACRole role)
Creation of an instance of role
|
static Collection<RBACRole> |
findAll()
Returns a collection of roles objects
|
static RBACRole |
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 RBACRole whose identifier is specified in parameter
|
static RBACRole |
update(String strRoleKey,
RBACRole role)
Update of the role which is specified in parameter
|
public static RBACRole create(RBACRole role)
role - The instance of the role which contains the informations to storepublic static RBACRole update(String strRoleKey, RBACRole role)
strRoleKey - the key of the role to updaterole - The instance of the role which contains the new data to storepublic static void remove(String strRoleKey)
strRoleKey - The RBACRole object to removepublic static RBACRole findByPrimaryKey(String strRoleKey)
strRoleKey - The Primary key of the rolepublic static Collection<RBACRole> findAll()
public static ReferenceList getRolesList()
public static boolean checkExistRole(String strRoleKey)
strRoleKey - The role keyCopyright © 2021 City of Paris. All rights reserved.