Interface IRoleDAO
-
- All Known Implementing Classes:
RoleDAO
public interface IRoleDAO- Author:
- LEVY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(java.lang.String strRole)Delete a record from the tablevoidinsert(Role role)Insert a new record in the table.Roleload(java.lang.String strRole)load the data of Role from the tablejava.util.Collection<Role>selectAll()Load the list of rolesReferenceListselectRolesList()Returns a list of all the right rolevoidstore(Role role)Update the record in the table
-
-
-
Method Detail
-
delete
void delete(java.lang.String strRole)
Delete a record from the table- Parameters:
strRole- The indentifier of the object Role
-
insert
void insert(Role role)
Insert a new record in the table.- Parameters:
role- The Instance of the object Role
-
load
Role load(java.lang.String strRole)
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
java.util.Collection<Role> selectAll()
Load the list of roles- Returns:
- The Collection of the Roles
-
store
void store(Role role)
Update the record in the table- Parameters:
role- The instance of the Role to update
-
-