java.lang.Object
fr.paris.lutece.plugins.identitystore.business.contract.AttributeRightDAO
All Implemented Interfaces:
IAttributeRightDAO

public final class AttributeRightDAO extends Object implements IAttributeRightDAO
This class provides rights Access methods for Attribute objects
  • Constructor Details

    • AttributeRightDAO

      public AttributeRightDAO()
  • Method Details

    • insert

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

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

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

      public void removeAttributeRights(ServiceContract serviceContract, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      remove all rights for provided application
      Specified by:
      removeAttributeRights in interface IAttributeRightDAO
      Parameters:
      serviceContract - serviceContract
      plugin - the Plugin