|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.right.RightDAO
public final class RightDAO
This class provides Data Access methods for right objects
| Constructor Summary | |
|---|---|
RightDAO()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RightDAO()
| Method Detail |
|---|
public void insert(Right right)
insert in interface IRightDAOright - instance of the right to insertpublic Right load(String strId)
load in interface IRightDAOstrId - The identifier of the admin right
public void delete(String strIdRight)
delete in interface IRightDAOstrIdRight - string identifier of the admin right to deletepublic void store(Right right)
store in interface IRightDAOright - the reference of the admin rightpublic Collection<Right> selectRightsList()
selectRightsList in interface IRightDAOpublic Collection<Right> selectRightsList(int nLevel)
selectRightsList in interface IRightDAOnLevel - The right level
public Collection<Right> selectRightsList(String strFeatureGroup)
selectRightsList in interface IRightDAOstrFeatureGroup - the name of the feature group
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||