|
||||||||||
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 IAdminRoleDAO
role
- The role objectpublic AdminRole load(java.lang.String strRoleKey)
load
in interface IAdminRoleDAO
nRoleId
- The identifier of AdminRole
public void delete(java.lang.String strRoleKey)
delete
in interface IAdminRoleDAO
role
- The AdminRole objectpublic void store(java.lang.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 java.util.Collection<AdminRole> selectRoleList()
selectRoleList
in interface IAdminRoleDAO
public boolean checkExistRole(java.lang.String strRoleKey)
checkExistRole
in interface IAdminRoleDAO
strNewRoleKey
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |