Class AttributeRequirementDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.business.contract.AttributeRequirementDAO
-
- All Implemented Interfaces:
IAttributeRequirementDAO
public final class AttributeRequirementDAO extends java.lang.Object implements IAttributeRequirementDAO
This class provides Data Access methods for AttributeRequirement objects
-
-
Constructor Summary
Constructors Constructor Description AttributeRequirementDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteFromServiceContract(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)voidinsert(AttributeRequirement attributeRequirement, int serviceContractId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.java.util.Optional<AttributeRequirement>load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<AttributeRequirement>selectAttributeRequirementsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the attributeRequirement objects and returns them as a listjava.util.List<AttributeRequirement>selectAttributeRequirementsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.List<java.lang.Integer> listIds)Load the data of all the avant objects and returns them as a listjava.util.List<AttributeRequirement>selectAttributeRequirementsListByServiceContract(fr.paris.lutece.portal.service.plugin.Plugin plugin, ServiceContract servicecontract)fr.paris.lutece.util.ReferenceListselectAttributeRequirementsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the attributeRequirement objects and returns them as a referenceListjava.util.List<java.lang.Integer>selectIdAttributeRequirementsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the attributeRequirement objects and returns them as a listvoidstore(AttributeRequirement attributeRequirement, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(AttributeRequirement attributeRequirement, int serviceContractId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceIAttributeRequirementDAO- Parameters:
attributeRequirement- instance of the AttributeRequirement object to insertplugin- the Plugin
-
load
public java.util.Optional<AttributeRequirement> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
loadin interfaceIAttributeRequirementDAO- Parameters:
nKey- The identifier of the attributeRequirementplugin- the Plugin- Returns:
- The instance of the attributeRequirement
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceIAttributeRequirementDAO- Parameters:
nKey- The identifier of the AttributeRequirement to deleteplugin- the Plugin
-
deleteFromServiceContract
public void deleteFromServiceContract(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)- Specified by:
deleteFromServiceContractin interfaceIAttributeRequirementDAO
-
store
public void store(AttributeRequirement attributeRequirement, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Specified by:
storein interfaceIAttributeRequirementDAO- Parameters:
attributeRequirement- the reference of the AttributeRequirementplugin- the Plugin
-
selectAttributeRequirementsList
public java.util.List<AttributeRequirement> selectAttributeRequirementsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the attributeRequirement objects and returns them as a list- Specified by:
selectAttributeRequirementsListin interfaceIAttributeRequirementDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the attributeRequirement objects
-
selectIdAttributeRequirementsList
public java.util.List<java.lang.Integer> selectIdAttributeRequirementsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the attributeRequirement objects and returns them as a list- Specified by:
selectIdAttributeRequirementsListin interfaceIAttributeRequirementDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the attributeRequirement objects
-
selectAttributeRequirementsReferenceList
public fr.paris.lutece.util.ReferenceList selectAttributeRequirementsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the attributeRequirement objects and returns them as a referenceList- Specified by:
selectAttributeRequirementsReferenceListin interfaceIAttributeRequirementDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the attributeRequirement objects
-
selectAttributeRequirementsListByIds
public java.util.List<AttributeRequirement> selectAttributeRequirementsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.List<java.lang.Integer> listIds)
Load the data of all the avant objects and returns them as a list- Specified by:
selectAttributeRequirementsListByIdsin interfaceIAttributeRequirementDAO- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
selectAttributeRequirementsListByServiceContract
public java.util.List<AttributeRequirement> selectAttributeRequirementsListByServiceContract(fr.paris.lutece.portal.service.plugin.Plugin plugin, ServiceContract servicecontract)
- Specified by:
selectAttributeRequirementsListByServiceContractin interfaceIAttributeRequirementDAO
-
-