|
||||||||||
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 |
java.util.Collection<Right> |
selectRightsList(java.lang.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 IRightDAO
right
- instance of the right to insertpublic Right load(java.lang.String strId)
load
in interface IRightDAO
strId
- The identifier of the admin right
public void delete(java.lang.String strIdRight)
delete
in interface IRightDAO
strIdRight
- string identifier of the admin right to deletepublic void store(Right right)
store
in interface IRightDAO
right
- the reference of the admin rightpublic java.util.Collection<Right> selectRightsList()
selectRightsList
in interface IRightDAO
public java.util.Collection<Right> selectRightsList(int nLevel)
selectRightsList
in interface IRightDAO
public java.util.Collection<Right> selectRightsList(java.lang.String strFeatureGroup)
selectRightsList
in interface IRightDAO
strFeatureGroup
- the name of the feature group
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |