fr.paris.lutece.portal.business.role
Interface IRoleDAO

All Known Implementing Classes:
RoleDAO

public interface IRoleDAO

Author:
LEVY

Method Summary
 void delete(java.lang.String strRole)
          Delete a record from the table
 void insert(Role role)
          Insert a new record in the table.
 Role load(java.lang.String strRole)
          load the data of Role from the table
 java.util.Collection<Role> selectAll()
          Load the list of roles
 ReferenceList selectRolesList()
          Returns a list of all the right role
 void store(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


Copyright © 2012 Mairie de Paris. All Rights Reserved.