Class RightDAO
java.lang.Object
fr.paris.lutece.portal.business.right.RightDAO
- All Implemented Interfaces:
IRightDAO
This class provides Data Access methods for right objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a record from the tablevoidInsert a new record in the table.load the data of the right from the tableLoads the data of all the external admin features and returns them in form of a collectionselectExternalRightsList(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 collectionLoads the data of all the rights and returns them in form of a collectionselectRightsList(int nLevel) Loads the data of all the rights with level greater or equal than nLevel and returns them in form of a collectionselectRightsList(String strFeatureGroup) Loads the data of all the rights with the specified feature group and returns them in form of a collectionvoidUpdate the record in the table
-
Constructor Details
-
RightDAO
public RightDAO()
-
-
Method Details
-
insert
Insert a new record in the table. -
load
load the data of the right from the table -
delete
Delete a record from the table -
store
Update the record in the table -
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
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
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
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
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
-