Interface IRBACRoleDAO

All Known Implementing Classes:
RBACRoleDAO

public interface IRBACRoleDAO
AdminRoleDAO Interface
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkExistRole(String strRoleKey)
    Check that the given key points to an existing role
    void
    delete(String strRoleKey)
    Delete a record from the table
    void
    Insert a new record in the table.
    load(String strRoleKey)
    Load the data of RBACRole from the table
    Load the list of roles
    void
    store(String strRoleKey, RBACRole role)
    Update the record identified by the given role key with the given role in the table
  • Method Details

    • checkExistRole

      boolean checkExistRole(String strRoleKey)
      Check that the given key points to an existing role
      Parameters:
      strRoleKey - The role key
      Returns:
      true if the role exists, false otherwise
    • delete

      void delete(String strRoleKey)
      Delete a record from the table
      Parameters:
      strRoleKey - The RBACRole object
    • insert

      void insert(RBACRole role)
      Insert a new record in the table.
      Parameters:
      role - The role object
    • load

      RBACRole load(String strRoleKey)
      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

      void store(String strRoleKey, RBACRole role)
      Update the record identified by the given role key with the given role in the table
      Parameters:
      strRoleKey - the key of the role to modify
      role - The reference of role to be the new one