Interface IRightDAO
- All Known Implementing Classes:
RightDAO
public interface IRightDAO
RightDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a record from the tablevoidInsert a new record in the table.load the data of the right from the tableselectExternalRightsList(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
-
Method Details
-
delete
Delete a record from the table- Parameters:
strIdRight- string identifier of the admin right to delete
-
insert
Insert a new record in the table.- Parameters:
right- instance of the right to insert
-
load
load the data of the right from the table- Parameters:
strId- The identifier of the admin right- Returns:
- The instance of the admin right
-
selectRightsList
Collection<Right> selectRightsList()Loads the data of all the rights and returns them in form of a collection- Returns:
- the collection which contains the data of all the rights
-
store
Update the record in the table- Parameters:
right- the reference of the admin right
-
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- 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 level greater or equal than nLevel and returns them in form of a collection- Parameters:
nLevel- The right's level- Returns:
- the collection which contains the data of all the rights
-
selectRightsList
Loads the data of all the rights with the specified feature group and returns them in form of a collection- Parameters:
strFeatureGroup- the name of the feature group- Returns:
- the collection which contains the data of all the rights
-