public class IdentityAttributeService extends Object
| Constructor and Description |
|---|
IdentityAttributeService() |
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeStatus |
createAttribute(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeDto attributeToCreate,
Identity identity,
String clientCode)
Private method used to create an attribute for an identity.
|
void |
createAttributeKey(AttributeKey attributeKey) |
void |
deleteAttributeKey(AttributeKey attributeKey) |
List<AttributeKey> |
getAllAtributeKeys()
Get all attributes
|
AttributeKey |
getAttributeKey(String keyName)
Get
AttributeKey from its key name. |
AttributeKey |
getAttributeKeySafe(String keyName)
Get
AttributeKey from its key name. |
List<AttributeKey> |
getCommonAttributeKeys(String keyName) |
List<AttributeKey> |
getPivotAttributeKeys()
Get all
AttributeKey that are flaged as PIVOT. |
static IdentityAttributeService |
instance() |
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeStatus |
uncertifyAttribute(IdentityAttribute attribute)
Dé-certification d'un attribut.
Une identité ne pouvant pas posséder d'attributs non-certifiés, une dé-certification implique la certification de l'attribut avec le processus défini par la property : identitystore.identity.uncertify.processus (par défaut : "dec", qui correspond au niveau le plus faible de certification
(auto-déclaratif)) |
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeStatus |
updateAttribute(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeDto attributeToUpdate,
Identity identity,
String clientCode)
private method used to update an attribute of an identity
|
void |
updateAttributeKey(AttributeKey attributeKey) |
public static IdentityAttributeService instance()
public List<AttributeKey> getAllAtributeKeys() throws IdentityAttributeNotFoundException
IdentityAttributeNotFoundExceptionpublic AttributeKey getAttributeKey(String keyName) throws IdentityAttributeNotFoundException
AttributeKey from its key name.keyName - the key nameAttributeKeyIdentityAttributeNotFoundException - if no AttributeKey exists for the provided key name.public AttributeKey getAttributeKeySafe(String keyName)
AttributeKey from its key name.keyName - the key nameAttributeKey, or null if no AttributeKey exists for the provided key name.public List<AttributeKey> getPivotAttributeKeys() throws IdentityAttributeNotFoundException
AttributeKey that are flaged as PIVOT.ListIdentityAttributeNotFoundExceptionpublic List<AttributeKey> getCommonAttributeKeys(String keyName)
public void createAttributeKey(AttributeKey attributeKey) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic void updateAttributeKey(AttributeKey attributeKey) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic void deleteAttributeKey(AttributeKey attributeKey) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeStatus createAttribute(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeDto attributeToCreate,
Identity identity,
String clientCode)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
attributeToCreate - identity - clientCode - IdentityAttributeNotFoundExceptionfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeStatus updateAttribute(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeDto attributeToUpdate,
Identity identity,
String clientCode)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
attributeToUpdate - identity - clientCode - fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeStatus uncertifyAttribute(IdentityAttribute attribute) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
identitystore.identity.uncertify.processus (par défaut : "dec", qui correspond au niveau le plus faible de certification
(auto-déclaratif))attribute - l'attribut à dé-certifierfr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionCopyright © 2024 City of Paris. All rights reserved.