|
||||||||||
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(String strRoleKey)
Check that the given key points to an existing role |
void |
delete(String strRoleKey)
Delete a record from the table |
void |
insert(AdminRole role)
Insert a new record in the table. |
AdminRole |
load(String strRoleKey)
Load the data of AdminRole from the table |
Collection<AdminRole> |
selectRoleList()
Load the list of roles |
void |
store(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 IAdminRoleDAO
role
- The role objectpublic AdminRole load(String strRoleKey)
load
in interface IAdminRoleDAO
strRoleKey
- The identifier of AdminRole
public void delete(String strRoleKey)
delete
in interface IAdminRoleDAO
strRoleKey
- The role keypublic void store(String strRoleKey, AdminRole role)
store
in interface IAdminRoleDAO
strRoleKey
- the key of the role to modifyrole
- The reference of role to be the new onepublic Collection<AdminRole> selectRoleList()
selectRoleList
in interface IAdminRoleDAO
public boolean checkExistRole(String strRoleKey)
checkExistRole
in interface IAdminRoleDAO
strRoleKey
- the role key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |