Class DuplicateRuleDAO
java.lang.Object
fr.paris.lutece.plugins.identitystore.business.rules.duplicate.DuplicateRuleDAO
- All Implemented Interfaces:
IDuplicateRuleDAO
This class provides Data Access methods for IdentityAttribute objects
-
Field Summary
Fields inherited from interface fr.paris.lutece.plugins.identitystore.business.rules.duplicate.IDuplicateRuleDAO
BEAN_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nRuleId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.select(int nRuleId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectAllCodes(fr.paris.lutece.portal.service.plugin.Plugin plugin) selectAllIds(fr.paris.lutece.portal.service.plugin.Plugin plugin) selectByCode(String ruleCode, fr.paris.lutece.portal.service.plugin.Plugin plugin) selectByName(String ruleName, fr.paris.lutece.portal.service.plugin.Plugin plugin) voidupdate(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the tablevoidupdateLastUpdateAuthor(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
-
Constructor Details
-
DuplicateRuleDAO
public DuplicateRuleDAO()
-
-
Method Details
-
insert
public void insert(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIDuplicateRuleDAO- Parameters:
duplicateRule- instance of the IdentityAttribute object to insertplugin- the Plugin
-
select
Load the data from the table- Specified by:
selectin interfaceIDuplicateRuleDAO- Parameters:
nRuleId- The rule IDplugin- the Plugin- Returns:
- The instance of the identityAttribute
-
selectAll
Description copied from interface:IDuplicateRuleDAOLoad the data from the table- Specified by:
selectAllin interfaceIDuplicateRuleDAO- Parameters:
plugin- the Plugin- Returns:
- The instance of the identityAttribute
-
selectAllIds
- Specified by:
selectAllIdsin interfaceIDuplicateRuleDAO
-
selectByName
public DuplicateRule selectByName(String ruleName, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
selectByNamein interfaceIDuplicateRuleDAO
-
selectByCode
public DuplicateRule selectByCode(String ruleCode, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
selectByCodein interfaceIDuplicateRuleDAO
-
selectAllCodes
- Specified by:
selectAllCodesin interfaceIDuplicateRuleDAO
-
update
public void update(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Specified by:
updatein interfaceIDuplicateRuleDAO- Parameters:
duplicateRule- the reference of the IdentityAttributeplugin- the Plugin
-
updateLastUpdateAuthor
public void updateLastUpdateAuthor(DuplicateRule duplicateRule, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
updateLastUpdateAuthorin interfaceIDuplicateRuleDAO
-
delete
public void delete(int nRuleId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIDuplicateRuleDAO- Parameters:
nRuleId- The rule IDplugin- the Plugin
-