public interface IIdentityTransportProvider
| Modifier and Type | Method and Description |
|---|---|
IdentityDto |
createIdentity(IdentityChangeDto identityChange)
Creates an identity only if the identity does not already exist.
|
ResponseDto |
deleteIdentity(String strConnectionId,
String strApplicationCode)
Deletes an identity from the specified connectionId
|
InputStream |
downloadFileAttribute(String strConnectionId,
String strCustomerId,
String strAttributeKey,
String strClientAppCode) |
ApplicationRightsDto |
getApplicationRights(String strClientAppCode) |
List<IdentityDto> |
getIdentities(Map<String,List<String>> mapAttributeValues,
List<String> listAttributeKeyNames,
String strClientCode)
returns a list of identity from combination of attributes
|
IdentityDto |
getIdentity(String strConnectionId,
String strCustomerId,
String strApplicationCode)
get identity matching connectionId and customerId for provided application code
|
IdentityDto |
updateIdentity(IdentityChangeDto identityChange,
Map<String,org.apache.commons.fileupload.FileItem> mapFileItem)
apply changes to an identity
|
IdentityDto getIdentity(String strConnectionId, String strCustomerId, String strApplicationCode) throws IdentityNotFoundException, fr.paris.lutece.portal.service.util.AppException
strConnectionId - connection Id (can be null if strCustomerId is provided)strCustomerId - customer Id (can be null if strConnectionId is provided)strApplicationCode - application code of calling applicationIdentityNotFoundException - if no identity found for input parametersfr.paris.lutece.portal.service.util.AppException - if inconsitent parmeters provided, or errors occurs...IdentityDto updateIdentity(IdentityChangeDto identityChange, Map<String,org.apache.commons.fileupload.FileItem> mapFileItem) throws IdentityNotFoundException, fr.paris.lutece.portal.service.util.AppException
identityChange - change to apply to identitymapFileItem - file map to uploadfr.paris.lutece.portal.service.util.AppException - if error occured while updating identityIdentityNotFoundException - if no identity found for input parametersIdentityDto createIdentity(IdentityChangeDto identityChange) throws fr.paris.lutece.portal.service.util.AppException
identityChange - change to apply to identityfr.paris.lutece.portal.service.util.AppException - if error occurred while updating identityResponseDto deleteIdentity(String strConnectionId, String strApplicationCode) throws IdentityNotFoundException, fr.paris.lutece.portal.service.util.AppException
strConnectionId - the connection idstrApplicationCode - the application codeResponseDto objectIdentityNotFoundException - if no identity found for input parametersfr.paris.lutece.portal.service.util.AppException - if inconsistent parameters provided, or errors occurs...InputStream downloadFileAttribute(String strConnectionId, String strCustomerId, String strAttributeKey, String strClientAppCode)
strConnectionId - connection Id (can be null if strCustomerId is provided)strCustomerId - customer Id (can be null if strConnectionId is provided)strAttributeKey - attribute Key (must match a an attribute of type file)strClientAppCode - application code of calling applicationfr.paris.lutece.portal.service.util.AppException - if error occured while retrieving file attributeIdentityNotFoundException - if no identity found for input parametersApplicationRightsDto getApplicationRights(String strClientAppCode) throws fr.paris.lutece.portal.service.util.AppException
strClientAppCode - fr.paris.lutece.portal.service.util.AppException - if error occuredList<IdentityDto> getIdentities(Map<String,List<String>> mapAttributeValues, List<String> listAttributeKeyNames, String strClientCode)
mapAttributeValues - a map that associates list of values to search for some attributeslistAttributeKeyNames - a list of attributes to retrieve in identitiesstrClientCode - application code who requested identitiesCopyright © 2021 City of Paris. All rights reserved.