Class RightDAO
- java.lang.Object
-
- fr.paris.lutece.portal.business.right.RightDAO
-
-
Constructor Summary
Constructors Constructor Description RightDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(String strIdRight)Delete a record from the tablevoidinsert(Right right)Insert a new record in the table.Rightload(String strId)load the data of the right from the tableCollection<Right>selectExternalRightsList()Loads the data of all the external admin features and returns them in form of a collectionCollection<Right>selectExternalRightsList(int nLevel)Loads the data of all the external admin features with level greater or equal than nLevel and returns them in form of a collectionCollection<Right>selectRightsList()Loads the data of all the rights and returns them in form of a collectionCollection<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 collectionCollection<Right>selectRightsList(String strFeatureGroup)Loads the data of all the rights with the specified feature group and returns them in form of a collectionvoidstore(Right right)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(Right right)
Insert a new record in the table.
-
delete
public void delete(String strIdRight)
Delete a record from the table
-
store
public void store(Right right)
Update the record in the table
-
selectRightsList
public Collection<Right> selectRightsList()
Loads the data of all the rights and returns them in form of a collection- Specified by:
selectRightsListin interfaceIRightDAO- Returns:
- the collection which contains the data of all the rights
-
selectRightsList
public 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- Specified by:
selectRightsListin interfaceIRightDAO- Parameters:
nLevel- The right level- Returns:
- the collection which contains the data of all the rights
-
selectExternalRightsList
public Collection<Right> selectExternalRightsList()
Loads the data of all the external admin features and returns them in form of a collection- Returns:
- the collection which contains the data of all the external admin features
-
selectExternalRightsList
public Collection<Right> selectExternalRightsList(int nLevel)
Loads the data of all the external admin features with level greater or equal than nLevel and returns them in form of a collection- Specified by:
selectExternalRightsListin interfaceIRightDAO- Parameters:
nLevel- The right level- Returns:
- the collection which contains the data of all the external admin features
-
selectRightsList
public 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- Specified by:
selectRightsListin interfaceIRightDAO- Parameters:
strFeatureGroup- the name of the feature group- Returns:
- the collection which contains the data of all the rights
-
-