Interface IRBACRoleDAO
- All Known Implementing Classes:
RBACRoleDAO
public interface IRBACRoleDAO
AdminRoleDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckExistRole(String strRoleKey) Check that the given key points to an existing rolevoidDelete a record from the tablevoidInsert a new record in the table.Load the data of RBACRole from the tableLoad the list of rolesvoidUpdate the record identified by the given role key with the given role in the table
-
Method Details
-
checkExistRole
Check that the given key points to an existing role- Parameters:
strRoleKey- The role key- Returns:
- true if the role exists, false otherwise
-
delete
Delete a record from the table- Parameters:
strRoleKey- The RBACRole object
-
insert
Insert a new record in the table.- Parameters:
role- The role object
-
load
Load the data of RBACRole from the table- Parameters:
strRoleKey- The identifier of RBACRole- Returns:
- the instance of the RBACRole
-
selectRoleList
Collection<RBACRole> selectRoleList()Load the list of roles- Returns:
- The Collection of the Roles
-
store
Update the record identified by the given role key with the given role in the table- Parameters:
strRoleKey- the key of the role to modifyrole- The reference of role to be the new one
-