|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRightDAO
RightDAO Interface
| Method Summary | |
|---|---|
void |
delete(String strIdRight)
Delete a record from the table |
void |
insert(Right right)
Insert a new record in the table. |
Right |
load(String strId)
load the data of the right from the table |
Collection<Right> |
selectRightsList()
Loads the data of all the rights and returns them in form of a collection |
Collection<Right> |
selectRightsList(int nLevel)
Loads the data of all the rights with level greater or equal than nLevel and returns them in form of a collection |
Collection<Right> |
selectRightsList(String strFeatureGroup)
Loads the data of all the rights with the specified feature group and returns them in form of a collection |
void |
store(Right right)
Update the record in the table |
| Method Detail |
|---|
void delete(String strIdRight)
strIdRight - string identifier of the admin right to deletevoid insert(Right right)
right - instance of the right to insertRight load(String strId)
strId - The identifier of the admin right
Collection<Right> selectRightsList()
void store(Right right)
right - the reference of the admin rightCollection<Right> selectRightsList(int nLevel)
nLevel - The right's level
Collection<Right> selectRightsList(String strFeatureGroup)
strFeatureGroup - the name of the feature group
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||