Interface IAttributeRightDAO

  • All Known Implementing Classes:
    AttributeRightDAO

    public interface IAttributeRightDAO
    IAttributeRightDAO Interface
    • Method Detail

      • insert

        void insert​(AttributeRight attributeRight,
                    int serviceContractId,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        attributeRight - instance of the AttributeRight object to insert
        plugin - the Plugin
      • store

        void store​(AttributeRight attributeRight,
                   int serviceContractId,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        attributeRight - the reference of the AttributeRight
        plugin - the Plugin
      • selectAttributeRights

        List<AttributeRight> selectAttributeRights​(ServiceContract serviceContract,
                                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        retrieve all attributes and its rights for provided application
        Parameters:
        serviceContract - application
        plugin - the Plugin
        Returns:
        list of all attributes with rights for provided application
      • removeAttributeRights

        void removeAttributeRights​(ServiceContract serviceContract,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        remove all rights for provided application
        Parameters:
        serviceContract - serviceContract
        plugin - the Plugin