|
||||||||||
| 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(java.lang.String strIdRight)
Delete a record from the table |
void |
insert(Right right)
Insert a new record in the table. |
Right |
load(java.lang.String strId)
load the data of the right from the table |
java.util.Collection<Right> |
selectRightsList()
Loads the data of all the rights and returns them in form of a collection |
java.util.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 |
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(java.lang.String strId)
load in interface IRightDAOstrId - The identifier of the admin right
public void delete(java.lang.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 java.util.Collection<Right> selectRightsList()
selectRightsList in interface IRightDAOpublic java.util.Collection<Right> selectRightsList(int nLevel)
selectRightsList in interface IRightDAO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||