public interface ISuspiciousIdentityDAO
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkIfContainsSuspicious(List<String> customerIds,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Verify if at least one customer ID within a list is identified as suspicious
|
boolean |
checkIfExcluded(String firstCuid,
List<String> cuids,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Verify if suspicious identities are already marked as excluded
|
boolean |
checkIfExcluded(String firstCuid,
String secondCuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Verify if suspicious identities are already marked as excluded
|
int |
countSuspiciousIdentities(int ruleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the number of pending suspicious identities for a given rule.
|
void |
delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
delete(String customerId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(SuspiciousIdentity suspiciousIdentity,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
insertExcluded(String firstCuid,
String secondCuid,
String authorType,
String authorName,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Optional<SuspiciousIdentity> |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
boolean |
manageLock(String customerId,
boolean lock,
String authorType,
String authorName,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
purge(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Truncates duplicate suspicions
|
void |
purgeLocks(fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
removeExcludedIdentities(String cuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
removeExcludedIdentities(String firstCuid,
String secondCuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
SuspiciousIdentity |
selectByCustomerID(String customerId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of suspiciousIdentity with customerID matching argument
|
List<ExcludedIdentities> |
selectExcludedIdentitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the excluded identities objects and returns them as a list
|
List<ExcludedIdentities> |
selectExcludedIdentitiesList(String customerId,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<Integer> |
selectIdSuspiciousIdentitysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the suspiciousIdentity objects and returns them as a list
|
List<String> |
selectSuspiciousIdentityCuidsList(String ruleCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<SuspiciousIdentity> |
selectSuspiciousIdentitysList(String ruleCode,
int max,
Integer priority,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the suspiciousIdentity objects and returns them as a list
|
List<SuspiciousIdentity> |
selectSuspiciousIdentitysList(String ruleCode,
List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes,
Integer max,
Integer priority,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the suspiciousIdentity objects and returns them as a list
|
List<SuspiciousIdentity> |
selectSuspiciousIdentitysListByIds(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
|
fr.paris.lutece.util.ReferenceList |
selectSuspiciousIdentitysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the suspiciousIdentity objects and returns them as a referenceList
|
void |
store(SuspiciousIdentity suspiciousIdentity,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(SuspiciousIdentity suspiciousIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
suspiciousIdentity - instance of the SuspiciousIdentity object to insertplugin - the Pluginvoid store(SuspiciousIdentity suspiciousIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
suspiciousIdentity - the reference of the SuspiciousIdentityplugin - the Pluginvoid delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - The identifier of the SuspiciousIdentity to deleteplugin - the Pluginvoid delete(String customerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
customerId - The identifier of the SuspiciousIdentity to deleteplugin - the Pluginvoid insertExcluded(String firstCuid, String secondCuid, String authorType, String authorName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
boolean checkIfExcluded(String firstCuid, String secondCuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
firstCuid - cuid of the firstCuid identitysecondCuid - cuid of the secondCuid identityplugin - boolean checkIfExcluded(String firstCuid, List<String> cuids, fr.paris.lutece.portal.service.plugin.Plugin plugin)
firstCuid - cuid of the firstCuid identitycuids - cuids of the potential secondCuid identityplugin - boolean checkIfContainsSuspicious(List<String> customerIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)
customerIds - list of cuidsplugin - Optional<SuspiciousIdentity> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the suspiciousIdentityplugin - the PluginList<SuspiciousIdentity> selectSuspiciousIdentitysList(String ruleCode, int max, Integer priority, fr.paris.lutece.portal.service.plugin.Plugin plugin) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
max - maximum number of SuspiciousIdentity to returnplugin - the Pluginfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionList<SuspiciousIdentity> selectSuspiciousIdentitysList(String ruleCode, List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes, Integer max, Integer priority, fr.paris.lutece.portal.service.plugin.Plugin plugin) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
attributes - attribute keys and values to filter onmax - maximum number of SuspiciousIdentity to returnplugin - the Pluginfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionList<ExcludedIdentities> selectExcludedIdentitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Integer> selectIdSuspiciousIdentitysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginfr.paris.lutece.util.ReferenceList selectSuspiciousIdentitysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<SuspiciousIdentity> selectSuspiciousIdentitysListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds)
plugin - the PluginlistIds - liste of idsSuspiciousIdentity selectByCustomerID(String customerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PlugincustomerId - id of the customervoid purge(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - int countSuspiciousIdentities(int ruleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
ruleId - the rule IDboolean manageLock(String customerId, boolean lock, String authorType, String authorName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
void purgeLocks(fr.paris.lutece.portal.service.plugin.Plugin plugin)
List<String> selectSuspiciousIdentityCuidsList(String ruleCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
void removeExcludedIdentities(String firstCuid, String secondCuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
void removeExcludedIdentities(String cuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
List<ExcludedIdentities> selectExcludedIdentitiesList(String customerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copyright © 2023 City of Paris. All rights reserved.