public final class SuspiciousIdentityHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
countSuspiciousIdentity(int ruleId) |
static SuspiciousIdentity |
create(SuspiciousIdentity suspiciousIdentity)
Create an instance of the suspiciousIdentity class
|
static void |
exclude(String firstCuid,
String secondCuid,
String authorType,
String authorName)
Update of the suspiciousIdentity which is specified in parameter
|
static boolean |
excluded(String firstCuid,
List<String> cuids)
Check if a couple of suspicious identities are marked as excluded
|
static boolean |
excluded(String firstCuid,
String secondCuid)
Check if a couple of suspicious identities are marked as excluded
|
static Optional<SuspiciousIdentity> |
findByPrimaryKey(int nKey)
Returns an instance of a suspiciousIdentity whose identifier is specified in parameter
|
static List<ExcludedIdentities> |
getExcludedIdentitiesList()
Load the data of all the excluded identities objects and returns them as a list
|
static List<ExcludedIdentities> |
getExcludedIdentitiesList(String customerId)
Load the data of all the excluded identities objects and returns them as a list
|
static List<Integer> |
getIdSuspiciousIdentitysList()
Load the id of all the suspiciousIdentity objects and returns them as a list
|
static List<String> |
getSuspiciousIdentityCuidsList(String ruleCode)
Load the data of all the suspiciousIdentity objects and returns them as a list
|
static List<SuspiciousIdentity> |
getSuspiciousIdentitysList(String ruleCode,
int max,
Integer priority)
Load the data of all the suspiciousIdentity objects and returns them as a list
|
static List<SuspiciousIdentity> |
getSuspiciousIdentitysList(String ruleCode,
List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes,
Integer max,
Integer priority)
Load the data of all the suspiciousIdentity objects and returns them as a list
|
static List<SuspiciousIdentity> |
getSuspiciousIdentitysListByIds(List<Integer> listIds)
Load the data of all the avant objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getSuspiciousIdentitysReferenceList()
Load the data of all the suspiciousIdentity objects and returns them as a referenceList
|
static boolean |
hasSuspicious(List<String> customerIds)
Verify if at least one customer ID within a list is identified as suspicious
|
static boolean |
manageLock(String customerId,
String authorName,
String authorType,
boolean lock) |
static void |
purge() |
static void |
purgeLocks() |
static void |
remove(int nId)
Remove the suspiciousIdentity whose identifier is specified in parameter
|
static void |
remove(String customerId)
Remove the suspiciousIdentity whose identifier is specified in parameter
|
static void |
removeExcludedIdentities(String cuid) |
static void |
removeExcludedIdentities(String firstCuid,
String secondCuid) |
static SuspiciousIdentity |
selectByCustomerID(String customerId) |
static SuspiciousIdentity |
update(SuspiciousIdentity suspiciousIdentity)
Update of the suspiciousIdentity which is specified in parameter
|
public static SuspiciousIdentity create(SuspiciousIdentity suspiciousIdentity)
suspiciousIdentity - The instance of the SuspiciousIdentity which contains the informations to storepublic static SuspiciousIdentity update(SuspiciousIdentity suspiciousIdentity)
suspiciousIdentity - The instance of the SuspiciousIdentity which contains the data to storepublic static void exclude(String firstCuid, String secondCuid, String authorType, String authorName)
firstCuid - The CUID of the SuspiciousIdentity which contains the data to storesecondCuid - The CUID of the SuspiciousIdentity which contains the data to storepublic static boolean excluded(String firstCuid, String secondCuid)
firstCuid - The CUID of the SuspiciousIdentity which contains the data to storesecondCuid - The CUID of the SuspiciousIdentity which contains the data to storepublic static boolean excluded(String firstCuid, List<String> cuids)
firstCuid - The CUID of the SuspiciousIdentity which contains the data to storecuids - The CUIDs of the SuspiciousIdentities which contains the data to storepublic static boolean hasSuspicious(List<String> customerIds)
customerIds - The list of CUIDpublic static void remove(int nId)
nId - The suspiciousIdentity customer Idpublic static void remove(String customerId)
customerId - The suspiciousIdentity customer Idpublic static Optional<SuspiciousIdentity> findByPrimaryKey(int nKey)
nKey - The suspiciousIdentity primary keypublic static List<SuspiciousIdentity> getSuspiciousIdentitysList(String ruleCode, int max, Integer priority) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
max - max number of suspicious identities to returnfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic static List<SuspiciousIdentity> getSuspiciousIdentitysList(String ruleCode, List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> attributes, Integer max, Integer priority) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
attributes - attributes to filter the results onmax - max number of suspicious identities to returnfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic static List<ExcludedIdentities> getExcludedIdentitiesList()
public static List<ExcludedIdentities> getExcludedIdentitiesList(String customerId)
public static void removeExcludedIdentities(String firstCuid, String secondCuid)
public static void removeExcludedIdentities(String cuid)
public static List<String> getSuspiciousIdentityCuidsList(String ruleCode)
ruleCode - code of the duplicate rulepublic static List<Integer> getIdSuspiciousIdentitysList()
public static fr.paris.lutece.util.ReferenceList getSuspiciousIdentitysReferenceList()
public static List<SuspiciousIdentity> getSuspiciousIdentitysListByIds(List<Integer> listIds)
listIds - liste of idspublic static SuspiciousIdentity selectByCustomerID(String customerId)
public static void purge()
public static int countSuspiciousIdentity(int ruleId)
public static boolean manageLock(String customerId, String authorName, String authorType, boolean lock) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic static void purgeLocks()
Copyright © 2024 City of Paris. All rights reserved.