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(String strRole)Delete a record from the tablevoidinsert(Role role)Insert a new record in the table.Roleload(String strRole)load the data of Role from the tableCollection<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.
-
delete
public void delete(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
-
selectAll
public Collection<Role> selectAll()
Load the list of roles
-
-