Interface IRightDAO
-
- All Known Implementing Classes:
RightDAO
public interface IRightDAORightDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(java.lang.String strIdRight)Delete a record from the tablevoidinsert(Right right)Insert a new record in the table.Rightload(java.lang.String strId)load the data of the right from the tablejava.util.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 collectionjava.util.Collection<Right>selectRightsList()Loads the data of all the rights and returns them in form of a collectionjava.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 collectionjava.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 collectionvoidstore(Right right)Update the record in the table
-
-
-
Method Detail
-
delete
void delete(java.lang.String strIdRight)
Delete a record from the table- Parameters:
strIdRight- string identifier of the admin right to delete
-
insert
void insert(Right right)
Insert a new record in the table.- Parameters:
right- instance of the right to insert
-
load
Right load(java.lang.String strId)
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
java.util.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
void store(Right right)
Update the record in the table- Parameters:
right- the reference of the admin right
-
selectExternalRightsList
java.util.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- Parameters:
nLevel- The right level- Returns:
- the collection which contains the data of all the external admin features
-
selectRightsList
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- Parameters:
nLevel- The right's level- Returns:
- the collection which contains the data of all the rights
-
selectRightsList
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- Parameters:
strFeatureGroup- the name of the feature group- Returns:
- the collection which contains the data of all the rights
-
-