public final class IdentityHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Identity |
create(Identity identity)
Create an instance of the identity class
|
static List<Identity> |
findAllByConnectionId(String strConnectionId)
Find all identities by connection ID.
|
static List<Identity> |
findAllByCustomerId(String strCustomerId)
Find all identities by customer ID.
|
static List<Identity> |
findByAllAttributesValue(String strAttributeValue)
Find all identities matching the query on all Attributes, connection_id and customer_id fields..
|
static List<Identity> |
findByAttributesValueForApiSearch(Map<String,List<String>> mapAttributes)
Find all identities matching one of the values defined on each of the selected Attributes.
|
static List<Identity> |
findByAttributeValue(String strAttributeId,
String strAttributeValue)
Find by attribute value
|
static Identity |
findByConnectionId(String strConnectionId)
Find by connection ID
|
static Identity |
findByConnectionId(String strConnectionId,
String strClientAppCode)
Find by connection ID
|
static Identity |
findByCustomerId(String strCustomerId,
String strClientAppCode)
Find by customer ID
|
static Identity |
findByPrimaryKey(int nKey)
Returns an instance of a identity whose identifier is specified in parameter
|
static int |
findIdByConnectionId(String strConnectionId)
Find an identity ID from the specified connection ID
|
static List<String> |
getCustomerIdList(int nStart,
int nLimit)
Load the data of nLimit customerIds from the nStart identity and returns them as a list If nLimit is set to -1, no limit is used
|
static List<String> |
getCustomerIdsList()
Load the customer id of all the identity objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getIdentitysReferenceList()
Load the data of all the identity objects and returns them as a referenceList
|
static void |
hardRemove(int nIdentityId)
Remove the identity whose identifier is specified in parameter
|
static int |
removeByConnectionId(String strConnectionId)
Removes the identity whose identifier is specified in parameter
|
static void |
softRemove(int nIdentityId) |
static Identity |
update(Identity identity)
Update of the identity which is specified in parameter
|
public static Identity create(Identity identity)
identity - The instance of the Identity which contains the informations to storepublic static Identity update(Identity identity)
identity - The instance of the Identity which contains the data to storepublic static int removeByConnectionId(String strConnectionId)
strConnectionId - the connection idpublic static void hardRemove(int nIdentityId)
nIdentityId - The identity Idpublic static void softRemove(int nIdentityId)
public static int findIdByConnectionId(String strConnectionId)
strConnectionId - the connection IDpublic static Identity findByPrimaryKey(int nKey)
nKey - The identity primary keypublic static Identity findByConnectionId(String strConnectionId)
strConnectionId - The connection IDpublic static Identity findByConnectionId(String strConnectionId, String strClientAppCode)
strConnectionId - The connection IDstrClientAppCode - code of application client which requires infospublic static List<Identity> findAllByConnectionId(String strConnectionId)
strConnectionId - The connection IDpublic static Identity findByCustomerId(String strCustomerId, String strClientAppCode)
strCustomerId - The customer IDstrClientAppCode - code of application client which requires infospublic static List<Identity> findAllByCustomerId(String strCustomerId)
strCustomerId - The connection IDpublic static List<Identity> findByAttributeValue(String strAttributeId, String strAttributeValue)
strAttributeId - The attribute identifierstrAttributeValue - The attribute valuepublic static List<Identity> findByAllAttributesValue(String strAttributeValue)
strAttributeValue - The attribute valuepublic static List<Identity> findByAttributesValueForApiSearch(Map<String,List<String>> mapAttributes)
mapAttributes - A map that associates the id of each attributes selected with the list of valuespublic static List<String> getCustomerIdList(int nStart, int nLimit)
nStart - the count of customerId from where startednLimit - the max count of customerId to retrievepublic static List<String> getCustomerIdsList()
public static fr.paris.lutece.util.ReferenceList getIdentitysReferenceList()
Copyright © 2022 City of Paris. All rights reserved.