|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.rbac.RBACDAO
public final class RBACDAO
This class provides Data Access methods for RBAC objects
Constructor Summary | |
---|---|
RBACDAO()
|
Method Summary | |
---|---|
void |
delete(int nRBACId)
Delete a record from the table |
void |
deleteForRoleKey(String strRoleKey)
Remove all the entries of the given role key |
void |
insert(RBAC rBAC)
Insert a new record in the table. |
RBAC |
load(int nRBACId)
Load the data of RBAC from the table |
Collection<RBAC> |
selectRBACList()
Load the list of rBACs |
Collection<RBAC> |
selectRBACListByRoleKey(String strRoleKey)
Find all the entries for a given role key |
Collection<String> |
selectRoleKeys(String strTypeCode,
String strId,
String strPermission)
|
void |
store(RBAC rBAC)
Update the record in the table |
void |
updateRoleKey(String strOldRoleKey,
String strNewRoleKey)
Update the role key of all the entries of a given role key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RBACDAO()
Method Detail |
---|
public void insert(RBAC rBAC)
insert
in interface IRBACDAO
rBAC
- The rBAC objectpublic RBAC load(int nRBACId)
load
in interface IRBACDAO
nRBACId
- The identifier of RBAC
public void delete(int nRBACId)
delete
in interface IRBACDAO
nRBACId
- The id of RBAC object to deletepublic void store(RBAC rBAC)
store
in interface IRBACDAO
rBAC
- The reference of rBACpublic Collection<RBAC> selectRBACList()
selectRBACList
in interface IRBACDAO
public Collection<RBAC> selectRBACListByRoleKey(String strRoleKey)
selectRBACListByRoleKey
in interface IRBACDAO
strRoleKey
- the role key to search for
public void updateRoleKey(String strOldRoleKey, String strNewRoleKey)
updateRoleKey
in interface IRBACDAO
strOldRoleKey
- the role key to updatestrNewRoleKey
- the new role keypublic void deleteForRoleKey(String strRoleKey)
deleteForRoleKey
in interface IRBACDAO
strRoleKey
- the role key of the entries to removepublic Collection<String> selectRoleKeys(String strTypeCode, String strId, String strPermission)
selectRoleKeys
in interface IRBACDAO
strTypeCode
- The type codestrId
- the idstrPermission
- th permission
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |