Class AttributeRequirementDAO
java.lang.Object
fr.paris.lutece.plugins.identitystore.business.contract.AttributeRequirementDAO
- All Implemented Interfaces:
IAttributeRequirementDAO
This class provides Data Access methods for AttributeRequirement objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectAttributeRequirementsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the attributeRequirement objects and returns them as a listselectAttributeRequirementsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a listselectAttributeRequirementsListByServiceContract(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 referenceListselectIdAttributeRequirementsList(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
-
Constructor Details
-
AttributeRequirementDAO
public AttributeRequirementDAO()
-
-
Method Details
-
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 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 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 List<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 List<AttributeRequirement> selectAttributeRequirementsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<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 List<AttributeRequirement> selectAttributeRequirementsListByServiceContract(fr.paris.lutece.portal.service.plugin.Plugin plugin, ServiceContract servicecontract) - Specified by:
selectAttributeRequirementsListByServiceContractin interfaceIAttributeRequirementDAO
-