public final class RBACRoleDAO extends Object implements IRBACRoleDAO
| Constructor and Description |
|---|
RBACRoleDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkExistRole(String strRoleKey)
Check that the given key points to an existing role
|
void |
delete(String strRoleKey)
Delete a record from the table
|
void |
insert(RBACRole role)
Insert a new record in the table.
|
RBACRole |
load(String strRoleKey)
Load the data of RBACRole from the table
|
Collection<RBACRole> |
selectRoleList()
Load the list of roles
|
void |
store(String strRoleKey,
RBACRole role)
Update the record identified by the given role key with the given role in the table
|
public void insert(RBACRole role)
insert in interface IRBACRoleDAOrole - The role objectpublic RBACRole load(String strRoleKey)
load in interface IRBACRoleDAOstrRoleKey - The identifier of RBACRolepublic void delete(String strRoleKey)
delete in interface IRBACRoleDAOstrRoleKey - The role keypublic void store(String strRoleKey, RBACRole role)
store in interface IRBACRoleDAOstrRoleKey - the key of the role to modifyrole - The reference of role to be the new onepublic Collection<RBACRole> selectRoleList()
selectRoleList in interface IRBACRoleDAOpublic boolean checkExistRole(String strRoleKey)
checkExistRole in interface IRBACRoleDAOstrRoleKey - the role keyCopyright © 2024 City of Paris. All rights reserved.