Class RoleDAO
- java.lang.Object
-
- fr.paris.lutece.portal.business.role.RoleDAO
-
-
Constructor Summary
Constructors Constructor Description RoleDAO()
-
Method Summary
All Methods Instance Methods Concrete 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
-
insert
public void insert(Role role)
Insert a new record in the table.
-
load
public Role load(java.lang.String strRole)
load the data of Role from the table
-
delete
public void delete(java.lang.String strRole)
Delete a record from the table
-
store
public void store(Role role)
Update the record in the table
-
selectRolesList
public ReferenceList selectRolesList()
Returns a list of all the right role- Specified by:
selectRolesListin interfaceIRoleDAO- Returns:
- A ReferenceList of role objects
-
-