Interface IRoleDAO

All Known Implementing Classes:
RoleDAO

public interface IRoleDAO
Author:
LEVY
  • Method Details

    • delete

      void delete(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(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

      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