|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.rbac.AdminRoleDAO
public final class AdminRoleDAO
This class provides Data Access methods for AdminRole objects
| Constructor Summary | |
|---|---|
AdminRoleDAO()
|
|
| Method Summary | |
|---|---|
boolean |
checkExistRole(java.lang.String strRoleKey)
Check that the given key points to an existing role |
void |
delete(java.lang.String strRoleKey)
Delete a record from the table |
void |
insert(AdminRole role)
Insert a new record in the table. |
AdminRole |
load(java.lang.String strRoleKey)
Load the data of AdminRole from the table |
java.util.Collection<AdminRole> |
selectRoleList()
Load the list of roles |
void |
store(java.lang.String strRoleKey,
AdminRole role)
Update the record identified by the given role key with the given role in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminRoleDAO()
| Method Detail |
|---|
public void insert(AdminRole role)
insert in interface IAdminRoleDAOrole - The role objectpublic AdminRole load(java.lang.String strRoleKey)
load in interface IAdminRoleDAOstrRoleKey - The identifier of AdminRole
public void delete(java.lang.String strRoleKey)
delete in interface IAdminRoleDAOstrRoleKey - The role key
public void store(java.lang.String strRoleKey,
AdminRole role)
store in interface IAdminRoleDAOstrRoleKey - the key of the role to modifyrole - The reference of role to be the new onepublic java.util.Collection<AdminRole> selectRoleList()
selectRoleList in interface IAdminRoleDAOpublic boolean checkExistRole(java.lang.String strRoleKey)
checkExistRole in interface IAdminRoleDAOstrRoleKey - the role key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||