Interface IRightDAO

  • All Known Implementing Classes:
    RightDAO

    public interface IRightDAO
    RightDAO Interface
    • Method Detail

      • delete

        void delete​(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​(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

        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

        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

        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

        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
        Parameters:
        strFeatureGroup - the name of the feature group
        Returns:
        the collection which contains the data of all the rights