|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRBACDAO
Interface for RBAC DAO
| Method Summary | |
|---|---|
void |
delete(int nRBACId)
Delete a record from the table |
void |
deleteForRoleKey(java.lang.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 |
java.util.Collection<RBAC> |
selectRBACList()
Load the list of rBACs |
java.util.Collection<RBAC> |
selectRBACListByRoleKey(java.lang.String strRoleKey)
Find all the entries for a given role key |
java.util.Collection<java.lang.String> |
selectRoleKeys(java.lang.String strTypeCode,
java.lang.String strId,
java.lang.String strPermission)
|
void |
store(RBAC rBAC)
Update the record in the table |
void |
updateRoleKey(java.lang.String strOldRoleKey,
java.lang.String strNewRoleKey)
Update the role key of all the entries of a given role key |
| Method Detail |
|---|
void delete(int nRBACId)
nRBACId - The id of RBAC object to deletevoid deleteForRoleKey(java.lang.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 RBAC
java.util.Collection<RBAC> selectRBACList()
java.util.Collection<RBAC> selectRBACListByRoleKey(java.lang.String strRoleKey)
strRoleKey - the role key to search for
java.util.Collection<java.lang.String> selectRoleKeys(java.lang.String strTypeCode,
java.lang.String strId,
java.lang.String strPermission)
strTypeCode - The type codestrId - the idstrPermission - th permission
void store(RBAC rBAC)
rBAC - The reference of rBAC
void updateRoleKey(java.lang.String strOldRoleKey,
java.lang.String strNewRoleKey)
strOldRoleKey - the role key to updatestrNewRoleKey - the new role key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||