|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.role.RoleDAO
public final class RoleDAO
This class provides Data Access methods for Role objects
Constructor Summary | |
---|---|
RoleDAO()
|
Method Summary | |
---|---|
void |
delete(String strRole)
Delete a record from the table |
void |
insert(Role role)
Insert a new record in the table. |
Role |
load(String strRole)
load the data of Role from the table |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoleDAO()
Method Detail |
---|
public void insert(Role role)
insert
in interface IRoleDAO
role
- The Instance of the object Rolepublic Role load(String strRole)
load
in interface IRoleDAO
strRole
- The indentifier of the object Role
public void delete(String strRole)
delete
in interface IRoleDAO
strRole
- The indentifier of the object Rolepublic void store(Role role)
store
in interface IRoleDAO
role
- The instance of the Role to updatepublic ReferenceList selectRolesList()
selectRolesList
in interface IRoleDAO
public Collection<Role> selectAll()
selectAll
in interface IRoleDAO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |