public interface IRightDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(String strIdRight)
Delete a record from the table
|
void |
insert(Right right)
Insert a new record in the table.
|
Right |
load(String strId)
load the data of the right from the table
|
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
|
Collection<Right> |
selectRightsList()
Loads the data of all the rights and returns them in form of a collection
|
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
|
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
|
void |
store(Right right)
Update the record in the table
|
void delete(String strIdRight)
strIdRight
- string identifier of the admin right to deletevoid insert(Right right)
right
- instance of the right to insertRight load(String strId)
strId
- The identifier of the admin rightCollection<Right> selectRightsList()
void store(Right right)
right
- the reference of the admin rightCollection<Right> selectExternalRightsList(int nLevel)
nLevel
- The right levelCollection<Right> selectRightsList(int nLevel)
nLevel
- The right's levelCollection<Right> selectRightsList(String strFeatureGroup)
strFeatureGroup
- the name of the feature groupCopyright © 2020 City of Paris. All rights reserved.