Interface IRoleDAO
- All Known Implementing Classes:
RoleDAO
public interface IRoleDAO
- Author:
- LEVY
-
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a record from the tablevoidInsert a new record in the table.load the data of Role from the tableLoad the list of rolesReturns a list of all the right rolevoidUpdate the record in the table
-
Method Details
-
delete
Delete a record from the table- Parameters:
strRole- The indentifier of the object Role
-
insert
Insert a new record in the table.- Parameters:
role- The Instance of the object Role
-
load
load the data of Role from the table- Parameters:
strRole- The indentifier of the object Role- Returns:
- The Instance of the object Role
-
selectRolesList
ReferenceList selectRolesList()Returns a list of all the right role- Returns:
- A ReferenceList of role objects
-
selectAll
Collection<Role> selectAll()Load the list of roles- Returns:
- The Collection of the Roles
-
store
Update the record in the table- Parameters:
role- The instance of the Role to update
-