Class AttributeCertificationDAO
java.lang.Object
fr.paris.lutece.plugins.identitystore.business.contract.AttributeCertificationDAO
- All Implemented Interfaces:
IAttributeCertificationDAO
This class provides Data Access methods for AttributeCertification 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(AttributeCertification attributeCertification, 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 tableselectAttributeCertificationListByServiceContract(fr.paris.lutece.portal.service.plugin.Plugin plugin, ServiceContract servicecontract) selectAttributeCertificationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the attributeCertification objects and returns them as a listselectAttributeCertificationsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a listfr.paris.lutece.util.ReferenceListselectAttributeCertificationsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the attributeCertification objects and returns them as a referenceListselectIdAttributeCertificationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the attributeCertification objects and returns them as a listvoidstore(AttributeCertification attributeCertification, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
AttributeCertificationDAO
public AttributeCertificationDAO()
-
-
Method Details
-
insert
public void insert(AttributeCertification attributeCertification, int serviceContractId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIAttributeCertificationDAO- Parameters:
attributeCertification- instance of the AttributeCertification object to insertplugin- the Plugin
-
load
public Optional<AttributeCertification> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table- Specified by:
loadin interfaceIAttributeCertificationDAO- Parameters:
nKey- The identifier of the attributeCertificationplugin- the Plugin- Returns:
- The instance of the attributeCertification
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIAttributeCertificationDAO- Parameters:
nKey- The identifier of the AttributeCertification to deleteplugin- the Plugin
-
deleteFromServiceContract
public void deleteFromServiceContract(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
deleteFromServiceContractin interfaceIAttributeCertificationDAO
-
store
public void store(AttributeCertification attributeCertification, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Specified by:
storein interfaceIAttributeCertificationDAO- Parameters:
attributeCertification- the reference of the AttributeCertificationplugin- the Plugin
-
selectAttributeCertificationsList
public List<AttributeCertification> selectAttributeCertificationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the attributeCertification objects and returns them as a list- Specified by:
selectAttributeCertificationsListin interfaceIAttributeCertificationDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the attributeCertification objects
-
selectIdAttributeCertificationsList
public List<Integer> selectIdAttributeCertificationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the attributeCertification objects and returns them as a list- Specified by:
selectIdAttributeCertificationsListin interfaceIAttributeCertificationDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the attributeCertification objects
-
selectAttributeCertificationsReferenceList
public fr.paris.lutece.util.ReferenceList selectAttributeCertificationsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the attributeCertification objects and returns them as a referenceList- Specified by:
selectAttributeCertificationsReferenceListin interfaceIAttributeCertificationDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the attributeCertification objects
-
selectAttributeCertificationsListByIds
public List<AttributeCertification> selectAttributeCertificationsListByIds(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:
selectAttributeCertificationsListByIdsin interfaceIAttributeCertificationDAO- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
selectAttributeCertificationListByServiceContract
public List<AttributeCertification> selectAttributeCertificationListByServiceContract(fr.paris.lutece.portal.service.plugin.Plugin plugin, ServiceContract servicecontract) - Specified by:
selectAttributeCertificationListByServiceContractin interfaceIAttributeCertificationDAO
-