|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAdminRoleDAO
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 |
Method Detail |
---|
boolean checkExistRole(java.lang.String strRoleKey)
strNewRoleKey
-
void delete(java.lang.String strRoleKey)
role
- The AdminRole objectvoid insert(AdminRole role)
role
- The role objectAdminRole load(java.lang.String strRoleKey)
nRoleId
- The identifier of AdminRole
java.util.Collection<AdminRole> selectRoleList()
void store(java.lang.String strRoleKey, AdminRole role)
strRoleKey
- the key of the role to modifyrole
- The reference of role to be the new one
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |