Class AttributeCertificationDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.business.contract.AttributeCertificationDAO
-
- All Implemented Interfaces:
IAttributeCertificationDAO
public final class AttributeCertificationDAO extends java.lang.Object implements IAttributeCertificationDAO
This class provides Data Access methods for AttributeCertification objects
-
-
Constructor Summary
Constructors Constructor Description AttributeCertificationDAO()
-
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(AttributeCertification attributeCertification, int serviceContractId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.java.util.Optional<AttributeCertification>load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<AttributeCertification>selectAttributeCertificationListByServiceContract(fr.paris.lutece.portal.service.plugin.Plugin plugin, ServiceContract servicecontract)java.util.List<AttributeCertification>selectAttributeCertificationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the attributeCertification objects and returns them as a listjava.util.List<AttributeCertification>selectAttributeCertificationsListByIds(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 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 referenceListjava.util.List<java.lang.Integer>selectIdAttributeCertificationsList(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
-
-
-
Method Detail
-
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 java.util.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 java.util.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 java.util.List<java.lang.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 java.util.List<AttributeCertification> selectAttributeCertificationsListByIds(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:
selectAttributeCertificationsListByIdsin interfaceIAttributeCertificationDAO- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
selectAttributeCertificationListByServiceContract
public java.util.List<AttributeCertification> selectAttributeCertificationListByServiceContract(fr.paris.lutece.portal.service.plugin.Plugin plugin, ServiceContract servicecontract)
- Specified by:
selectAttributeCertificationListByServiceContractin interfaceIAttributeCertificationDAO
-
-