Class RefAttributeCertificationLevelDAO
java.lang.Object
fr.paris.lutece.plugins.identitystore.business.referentiel.RefAttributeCertificationLevelDAO
- All Implemented Interfaces:
IRefAttributeCertificationLevelDAO
public final class RefAttributeCertificationLevelDAO
extends Object
implements IRefAttributeCertificationLevelDAO
This class provides Data Access methods for RefAttributeCertificationLevel objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteFromProcessus(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) findByProcessusAndAttributeKeyName(String processusCode, String attributeKeyName, fr.paris.lutece.portal.service.plugin.Plugin plugin) findLevelByProcessusAndAttributeKeyName(String processusCode, String attributeKeyName, fr.paris.lutece.portal.service.plugin.Plugin plugin) voidinsert(RefAttributeCertificationLevel refAttributeCertificationLevel, 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 tableselectIdRefAttributeCertificationLevelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the refAttributeCertificationLevel objects and returns them as a listselectRefAttributeCertificationLevelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the refAttributeCertificationLevel objects and returns them as a listselectRefAttributeCertificationLevelsListByIds(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.ReferenceListselectRefAttributeCertificationLevelsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the refAttributeCertificationLevel objects and returns them as a referenceListselectRefAttributeLevelByAttribute(fr.paris.lutece.portal.service.plugin.Plugin plugin, AttributeKey attributeKey) selectRefAttributeLevelByProcessus(fr.paris.lutece.portal.service.plugin.Plugin plugin, RefAttributeCertificationProcessus refattributecertificationprocessus) voidstore(RefAttributeCertificationLevel refAttributeCertificationLevel, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
RefAttributeCertificationLevelDAO
public RefAttributeCertificationLevelDAO()
-
-
Method Details
-
insert
public void insert(RefAttributeCertificationLevel refAttributeCertificationLevel, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIRefAttributeCertificationLevelDAO- Parameters:
refAttributeCertificationLevel- instance of the RefAttributeCertificationLevel object to insertplugin- the Plugin
-
load
public Optional<RefAttributeCertificationLevel> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table- Specified by:
loadin interfaceIRefAttributeCertificationLevelDAO- Parameters:
nKey- The identifier of the refAttributeCertificationLevelplugin- the Plugin- Returns:
- The instance of the refAttributeCertificationLevel
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIRefAttributeCertificationLevelDAO- Parameters:
nKey- The identifier of the RefAttributeCertificationLevel to deleteplugin- the Plugin
-
deleteFromProcessus
public void deleteFromProcessus(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
deleteFromProcessusin interfaceIRefAttributeCertificationLevelDAO
-
store
public void store(RefAttributeCertificationLevel refAttributeCertificationLevel, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Specified by:
storein interfaceIRefAttributeCertificationLevelDAO- Parameters:
refAttributeCertificationLevel- the reference of the RefAttributeCertificationLevelplugin- the Plugin
-
selectRefAttributeCertificationLevelsList
public List<RefAttributeCertificationLevel> selectRefAttributeCertificationLevelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the refAttributeCertificationLevel objects and returns them as a list- Specified by:
selectRefAttributeCertificationLevelsListin interfaceIRefAttributeCertificationLevelDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the refAttributeCertificationLevel objects
-
selectIdRefAttributeCertificationLevelsList
public List<Integer> selectIdRefAttributeCertificationLevelsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the refAttributeCertificationLevel objects and returns them as a list- Specified by:
selectIdRefAttributeCertificationLevelsListin interfaceIRefAttributeCertificationLevelDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the refAttributeCertificationLevel objects
-
selectRefAttributeCertificationLevelsReferenceList
public fr.paris.lutece.util.ReferenceList selectRefAttributeCertificationLevelsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the refAttributeCertificationLevel objects and returns them as a referenceList- Specified by:
selectRefAttributeCertificationLevelsReferenceListin interfaceIRefAttributeCertificationLevelDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the refAttributeCertificationLevel objects
-
selectRefAttributeCertificationLevelsListByIds
public List<RefAttributeCertificationLevel> selectRefAttributeCertificationLevelsListByIds(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:
selectRefAttributeCertificationLevelsListByIdsin interfaceIRefAttributeCertificationLevelDAOlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
selectRefAttributeLevelByProcessus
public List<RefAttributeCertificationLevel> selectRefAttributeLevelByProcessus(fr.paris.lutece.portal.service.plugin.Plugin plugin, RefAttributeCertificationProcessus refattributecertificationprocessus) - Specified by:
selectRefAttributeLevelByProcessusin interfaceIRefAttributeCertificationLevelDAO
-
selectRefAttributeLevelByAttribute
public List<RefAttributeCertificationLevel> selectRefAttributeLevelByAttribute(fr.paris.lutece.portal.service.plugin.Plugin plugin, AttributeKey attributeKey) - Specified by:
selectRefAttributeLevelByAttributein interfaceIRefAttributeCertificationLevelDAO
-
findByProcessusAndAttributeKeyName
public RefAttributeCertificationLevel findByProcessusAndAttributeKeyName(String processusCode, String attributeKeyName, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
findByProcessusAndAttributeKeyNamein interfaceIRefAttributeCertificationLevelDAO
-
findLevelByProcessusAndAttributeKeyName
public Integer findLevelByProcessusAndAttributeKeyName(String processusCode, String attributeKeyName, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
findLevelByProcessusAndAttributeKeyNamein interfaceIRefAttributeCertificationLevelDAO
-