Interface IAttributeRightDAO

All Known Implementing Classes:
AttributeRightDAO

public interface IAttributeRightDAO
IAttributeRightDAO Interface
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    insert(AttributeRight attributeRight, int serviceContractId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    void
    removeAttributeRights(ServiceContract serviceContract, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    remove all rights for provided application
    selectAttributeRights(ServiceContract serviceContract, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    retrieve all attributes and its rights for provided application
    void
    store(AttributeRight attributeRight, int serviceContractId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Field Details

  • Method Details

    • 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