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> |
findByAttributeValue(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 |
remove(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 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 remove(int nIdentityId)
nIdentityId
- The identity Idpublic 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 Identity findByCustomerId(String strCustomerId, String strClientAppCode)
strCustomerId
- The customer IDstrClientAppCode
- code of application client which requires infospublic static List<Identity> findByAttributeValue(String strAttributeValue)
strAttributeValue
- The attribute valuestrClientAppCode
- code of application client which requires infospublic 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 © 2017 City of Paris. All rights reserved.