public interface IRBACDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nRBACId)
Delete a record from the table
|
void |
deleteForResourceTypeAndId(String strResourceType,
String strResourceId)
Remove all the entries of the given ressource type and ressource id
|
void |
deleteForRoleKey(String strRoleKey)
Remove all the entries of the given role key
|
void |
insert(RBAC rBAC)
Insert a new record in the table.
|
RBAC |
load(int nRBACId)
Load the data of RBAC from the table
|
Collection<RBAC> |
selectRBACList()
Load the list of rBACs
|
Collection<RBAC> |
selectRBACListByRoleKey(String strRoleKey)
Find all the entries for a given role key
|
Collection<String> |
selectRoleKeys(String strTypeCode,
String strId,
String strPermission) |
void |
store(RBAC rBAC)
Update the record in the table
|
void |
updateRoleKey(String strOldRoleKey,
String strNewRoleKey)
Update the role key of all the entries of a given role key
|
void delete(int nRBACId)
nRBACId
- The id of RBAC object to deletevoid deleteForRoleKey(String strRoleKey)
strRoleKey
- the role key of the entries to removevoid insert(RBAC rBAC)
rBAC
- The rBAC objectRBAC load(int nRBACId)
nRBACId
- The identifier of RBACCollection<RBAC> selectRBACList()
Collection<RBAC> selectRBACListByRoleKey(String strRoleKey)
strRoleKey
- the role key to search forCollection<String> selectRoleKeys(String strTypeCode, String strId, String strPermission)
strTypeCode
- The type codestrId
- the idstrPermission
- th permissionvoid store(RBAC rBAC)
rBAC
- The reference of rBACvoid updateRoleKey(String strOldRoleKey, String strNewRoleKey)
strOldRoleKey
- the role key to updatestrNewRoleKey
- the new role keyCopyright © 2020 City of Paris. All rights reserved.