public final class IdentityAttributeHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addAttributeChangeHistory(AttributeChange attributeChange)
add an attribute change event in history table
|
static IdentityAttribute |
create(IdentityAttribute identityAttribute)
Create an instance of the identityAttribute class
|
static IdentityAttribute |
findByPrimaryKey(int nIdentityId,
int nAttributeId)
Returns an instance of a identityAttribute whose identifier is specified in parameter
|
static IdentityAttribute |
getAttribute(int nIdentityId,
String strAttributeKey,
String strApplicationCode)
Load the data of an attribute for a given identity ID and attribute key which is allowed for the client application provided
|
static List<AttributeChange> |
getAttributeChangeHistory(int nIdentityId,
String strAttributeKey)
get attribute change event in history table from the newest to the latest change
|
static Map<String,IdentityAttribute> |
getAttributes(int nIdentityId)
Deprecated.
Use
getAttributes(int, String ) method instead |
static Map<String,IdentityAttribute> |
getAttributes(int nIdentityId,
String strApplicationCode)
Load the data of all attributes for a given identity ID which are allowed for the client application provided
|
static fr.paris.lutece.util.ReferenceList |
getIdentityAttributesReferenceList()
Load the data of all the identityAttribute objects and returns them as a referenceList
|
static int |
getLastIdHistory(String strConnectionId,
String strCertifierName)
return last id of history change for a given connection_id and certifier_name USE for gru_certifier id generation
|
static void |
remove(int nIdentityId,
int nAttributeId)
Remove the identityAttribute whose identifier is specified in parameter
|
static void |
removeAllAttributes(int nIdentityId)
Remove all the identityAttribute of an identity
|
static IdentityAttribute |
update(IdentityAttribute identityAttribute)
Update of the identityAttribute which is specified in parameter
|
public static IdentityAttribute create(IdentityAttribute identityAttribute)
identityAttribute
- The instance of the IdentityAttribute which contains the informations to storepublic static IdentityAttribute update(IdentityAttribute identityAttribute)
identityAttribute
- The instance of the IdentityAttribute which contains the data to storepublic static void remove(int nIdentityId, int nAttributeId)
nIdentityId
- The identity IDnAttributeId
- The Attribute IDpublic static void removeAllAttributes(int nIdentityId)
nIdentityId
- The identity IDpublic static IdentityAttribute findByPrimaryKey(int nIdentityId, int nAttributeId)
nIdentityId
- The identity IDnAttributeId
- The Attribute IDpublic static Map<String,IdentityAttribute> getAttributes(int nIdentityId, String strApplicationCode)
nIdentityId
- The identity IDstrApplicationCode
- code of client applicationpublic static Map<String,IdentityAttribute> getAttributes(int nIdentityId)
getAttributes(int, String )
method insteadnIdentityId
- The identity IDpublic static IdentityAttribute getAttribute(int nIdentityId, String strAttributeKey, String strApplicationCode)
nIdentityId
- The identity IDstrApplicationCode
- code of client applicationstrAttributeKey
- attribute keypublic static fr.paris.lutece.util.ReferenceList getIdentityAttributesReferenceList()
public static void addAttributeChangeHistory(AttributeChange attributeChange)
attributeChange
- attribute change eventpublic static List<AttributeChange> getAttributeChangeHistory(int nIdentityId, String strAttributeKey)
strAttributeKey
- attributekeynIdentityId
- identityIdpublic static int getLastIdHistory(String strConnectionId, String strCertifierName)
strConnectionId
- connection id of the identitystrCertifierName
- name of the certifierCopyright © 2018 City of Paris. All rights reserved.