fr.paris.lutece.portal.business.right
Interface IRightDAO

All Known Implementing Classes:
RightDAO

public interface IRightDAO

RightDAO Interface


Method Summary
 void delete(java.lang.String strIdRight)
          Delete a record from the table
 void insert(Right right)
          Insert a new record in the table.
 Right load(java.lang.String strId)
          load the data of the right from the table
 java.util.Collection<Right> selectRightsList()
          Loads the data of all the rights and returns them in form of a collection
 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
 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
 void store(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

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.