Package com.fifa.connectid.sdk.core
Interface FifaConnectIdClient
-
- All Known Implementing Classes:
FifaConnectIdClientImpl
public interface FifaConnectIdClientClient used to make request to FIFA Connect ID service. One instance allows to make multiple requests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PersonTypeaddRegistrations(AddRegistrationsRequestType request, Boolean force)Adds person registrationsBulkDeactivateRegistrationsResponseTypebulkDeactivateRegistrations(BulkDeactivateRegistrationsRequestType request)Bulk deactivate registrations given in request.FindFacilitiesResponseTypefindFacilities(FindFacilitiesRequestType request)Searches for facilities.FindOrganisationsResponseTypefindOrganisations(FindOrganisationsRequestType request)Searches for organisations.StringforceRegisterPerson(PersonData personData)Registers a new person even if possible duplicates are found.StringforceRegisterPerson(PersonData personData, String personLocalId)Registers a new person even if possible duplicates are found.NationalAssociationsOnboardedResponseTypegetAllNationalAssociationsOnboardedStatus()Asks Connect ID if specific organisation is onboarded.List<String>getDataHoldersOfPerson(String personFifaId)Gets systems registered as Data Holder for the given personFacilityLocalTypegetFacility(String facilityFifaId)Gets facility data associated with the specified FIFA Unique Identifier.List<FacilityLocalType>getFacilityDuplicates(FacilityLocalType facility)Gets a list of facilities this facility may be duplicated with.HashingServiceClientgetHashingClient()Returns current instance of HashingClientIdDirectoryServiceClientgetIdDirectoryClient()Returns current instance of IdDirectoryClientMemberAssociationResponseTypegetMemberAssociationForFifaId(String organisationFifaId)Gets FIFA Id and short name of the Member Association the searched organisation belongs to.List<String>getMergedSecondaryFifaIdsForPerson(String personFifaId)Gets secondary FIFA IDs directly merged into personNationalAssociationsOnboardedResponseTypegetNationalAssociationsOnboardedStatus(NationalAssociationsOnboardedRequestType request)Asks Connect ID if specific organisation is onboarded.OrganisationLocalTypegetOrganisation(String organisationFifaId)Gets organisation data associated with the specified FIFA Unique Identifier.List<OrganisationLocalType>getOrganisationDuplicates(OrganisationLocalType organisation)Gets a list of organisations this organisation may be duplicated with.PersonTypegetPerson(String personFifaId)Gets person data associated with the specified FIFA Unique Identifier.List<PersonDuplicateType>getPersonDuplicates(PersonData personData)Gets a list of people this person may be duplicated with.List<PersonDuplicateType>getPersonDuplicates(PersonData personData, List<String> organisationsIds)Gets a list of people this person may be duplicated with.GetDuplicatesOfRegisteredPersonResponseTypegetPersonDuplicatesExceptTrustedKnownDuplicates(String personFifaId, List<String> trustedOrganisationsIds)Gets a list of people this person may be duplicated with.RegistrationTypegetPrimaryDataProviderRegistrationType(String personFifaId)Gets registration belonging to the primary data provider of the person with the specified FIFA Unique Identifier.OrganisationLocalTypemergeOrganisations(String primaryOrganisationFifaId, String secondaryOrganisationFifaId)Merges two organisations.PersonTypemergePersons(String primaryPersonId, String secondaryPersonId)Merges two persons.voidregisterAsDataHolderOfPerson(String personFifaId)Registers current system as Data Holder for the given personStringregisterFacility(FacilityLocalType facility)Registers a new facility and assigns FIFA Unique Identifier.StringregisterFacility(FacilityLocalType facility, Boolean force)Registers a new facility and assigns FIFA Unique Identifier.StringregisterOrganisation(OrganisationLocalType organisation)Registers a new organisation and assigns FIFA Unique Identifier.StringregisterOrganisation(OrganisationLocalType organisation, Boolean force)Registers a new organisation and assigns FIFA Unique Identifier.StringregisterPerson(PersonData personData)Registers a new person and assigns FIFA Unique Identifier.StringregisterPerson(PersonData personData, String personLocalId)Registers a new person and assigns FIFA Unique Identifier.OrganisationLocalTypeunmergeOrganisations(String primaryOrganisationFifaId, String secondaryOrganisationFifaId)Reverts merge operation.PersonTypeunmergePersons(String primaryPersonId, String secondaryPersonId)Reverts merge operation.FacilityLocalTypeupdateFacility(FacilityLocalType facility)Updates the facility.FacilityLocalTypeupdateFacility(FacilityLocalType facility, Boolean force)Updates the facility.OrganisationLocalTypeupdateOrganisation(OrganisationLocalType organisation)Updates the organisation.OrganisationLocalTypeupdateOrganisation(OrganisationLocalType organisation, Boolean force)Updates the organisation.PersonTypeupdatePerson(String personId, List<PersonName> names, org.joda.time.LocalDate dateOfBirth, boolean force)Updates person data.PersonTypeupdatePerson(String personId, List<PersonName> names, org.joda.time.LocalDate dateOfBirth, String gender, boolean force)Updates person data.PersonTypeupdateRegistrations(UpdateRegistrationsRequestType request, Boolean force)Updates person registrations
-
-
-
Method Detail
-
getPerson
PersonType getPerson(String personFifaId) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, FifaEntityNotFoundException, InvalidClientDataException, FifaEntityDeletedException, ValidationException
Gets person data associated with the specified FIFA Unique Identifier.- Parameters:
personFifaId- FIFA Unique Identifier.- Throws:
InvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionFifaPersonMergedExceptionValidationExceptionTooManyRequestsExceptionFifaEntityDeletedException
-
getPrimaryDataProviderRegistrationType
RegistrationType getPrimaryDataProviderRegistrationType(String personFifaId) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, FifaEntityNotFoundException, InvalidClientDataException, FifaEntityDeletedException, ValidationException
Gets registration belonging to the primary data provider of the person with the specified FIFA Unique Identifier.- Parameters:
personFifaId- FIFA Unique Identifier.- Throws:
InvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionFifaPersonMergedExceptionValidationExceptionTooManyRequestsExceptionFifaEntityDeletedException
-
getPersonDuplicates
List<PersonDuplicateType> getPersonDuplicates(PersonData personData) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, ValidationException
Gets a list of people this person may be duplicated with. Uses 'PersonLocalType' as defined in FIFA Data Standard.- Parameters:
personData- - object containing information about local and international names of the person, as well as the date of birth.- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
getPersonDuplicates
List<PersonDuplicateType> getPersonDuplicates(PersonData personData, List<String> organisationsIds) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, ValidationException
Gets a list of people this person may be duplicated with. Uses 'PersonLocalType' as defined in FIFA Data Standard.- Parameters:
personData- - object containing information about local and international names of the person, as well as the date of birth.organisationsIds- - organisations' FIFA Unique Identifiers- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
getPersonDuplicatesExceptTrustedKnownDuplicates
GetDuplicatesOfRegisteredPersonResponseType getPersonDuplicatesExceptTrustedKnownDuplicates(String personFifaId, List<String> trustedOrganisationsIds) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, ValidationException
Gets a list of people this person may be duplicated with. Duplicates marked as known duplicate by trusted organisations would not be returned.- Parameters:
personFifaId- - Person FIFA Unique Identifier.trustedOrganisationsIds- - Trusted organisations' FIFA Unique Identifiers.- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
getOrganisationDuplicates
List<OrganisationLocalType> getOrganisationDuplicates(OrganisationLocalType organisation) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, ValidationException
Gets a list of organisations this organisation may be duplicated with. Uses 'OrganisationLocal' as defined in FIFA Data Standard.- Parameters:
organisation- - object containing information about organisation- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
getFacilityDuplicates
List<FacilityLocalType> getFacilityDuplicates(FacilityLocalType facility) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, ValidationException
Gets a list of facilities this facility may be duplicated with. Uses 'FacilityType' as defined in FIFA Data Standard.- Parameters:
facility- - object containing information about facility- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
registerPerson
String registerPerson(PersonData personData) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaDuplicatedPersonFoundException, ValidationException
Registers a new person and assigns FIFA Unique Identifier. If duplicates are found the person is not registered. Uses 'PersonLocalType' as defined in FIFA Data Standard.- Parameters:
personData- - object containing information about local and international names of the person, as well as the date of birth.- Throws:
InvalidClientDataExceptionFifaDuplicatedPersonFoundExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
registerPerson
String registerPerson(PersonData personData, String personLocalId) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaDuplicatedPersonFoundException, ValidationException
Registers a new person and assigns FIFA Unique Identifier. If duplicates are found the person is not registered. Uses 'PersonLocalType' as defined in FIFA Data Standard.- Parameters:
personData- - object containing information about local and international names of the person, as well as the date of birth.personLocalId-- Throws:
InvalidClientDataExceptionFifaDuplicatedPersonFoundExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
forceRegisterPerson
String forceRegisterPerson(PersonData personData) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, ValidationException
Registers a new person even if possible duplicates are found. Uses 'PersonLocalType' as defined in FIFA Data Standard.- Parameters:
personData- - object containing information about local and international names of the person, as well as the date of birth.- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
forceRegisterPerson
String forceRegisterPerson(PersonData personData, String personLocalId) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, ValidationException
Registers a new person even if possible duplicates are found. Uses 'PersonLocalType' as defined in FIFA Data Standard.- Parameters:
personData- - object containing information about local and international names of the person, as well as the date of birth.personLocalId- - Local identifier of person- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
updatePerson
PersonType updatePerson(String personId, List<PersonName> names, org.joda.time.LocalDate dateOfBirth, boolean force) throws com.fifa.connectservicebus.sdk.AuthenticationException, FifaDuplicateOfRegisteredPersonFoundException, FifaConnectIdException, UnauthorizedException, ValidationException
Updates person data.- Parameters:
personId- Fifa Identifier of personnames- Person names that need to be updateddateOfBirth- Person date of birth that need to be updatedforce- - when set to true updates a person even if possible duplicates are found- Throws:
InvalidClientDataExceptionFifaDuplicateOfRegisteredPersonFoundExceptionFifaConnectIdExceptionFifaEntityNotFoundExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
updatePerson
PersonType updatePerson(String personId, List<PersonName> names, org.joda.time.LocalDate dateOfBirth, String gender, boolean force) throws com.fifa.connectservicebus.sdk.AuthenticationException, FifaDuplicateOfRegisteredPersonFoundException, FifaConnectIdException, UnauthorizedException, ValidationException
Updates person data.- Parameters:
personId- Fifa Identifier of personnames- Person names that need to be updateddateOfBirth- Person date of birth that need to be updatedforce- - when set to true updates a person even if possible duplicates are foundgender- Sex of a person- Throws:
InvalidClientDataExceptionFifaDuplicateOfRegisteredPersonFoundExceptionFifaConnectIdExceptionFifaEntityNotFoundExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
addRegistrations
PersonType addRegistrations(AddRegistrationsRequestType request, Boolean force) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, ValidationException
Adds person registrations- Parameters:
request- - object containing registration informationforce- - when set to true validation of acting organisation will not be checked.- Throws:
InvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
updateRegistrations
PersonType updateRegistrations(UpdateRegistrationsRequestType request, Boolean force) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, ValidationException
Updates person registrations- Parameters:
request- - object containing registration informationforce- - when set to true validation of acting organisation will not be checked.- Throws:
InvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
getOrganisation
OrganisationLocalType getOrganisation(String organisationFifaId) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, FifaOrganisationMergedException, FifaEntityNotFoundException, InvalidClientDataException, ValidationException
Gets organisation data associated with the specified FIFA Unique Identifier.- Parameters:
organisationFifaId- FIFA Unique Identifier.- Throws:
InvalidClientDataExceptionFifaEntityNotFoundExceptionFifaOrganisationMergedExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
registerOrganisation
String registerOrganisation(OrganisationLocalType organisation, Boolean force) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, FifaDuplicatedOrganisationFoundException, UnauthorizedException, InvalidClientDataException, ValidationException
Registers a new organisation and assigns FIFA Unique Identifier. Uses organisation data as defined in FIFA Data Standard.- Parameters:
organisation- - object containing information about the organisation.force- - force register organisation- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionFifaDuplicatedOrganisationFoundExceptionValidationExceptionTooManyRequestsException
-
registerOrganisation
String registerOrganisation(OrganisationLocalType organisation) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, FifaDuplicatedOrganisationFoundException, UnauthorizedException, InvalidClientDataException, ValidationException
Registers a new organisation and assigns FIFA Unique Identifier. Uses organisation data as defined in FIFA Data Standard.- Parameters:
organisation- - object containing information about the organisation.- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionFifaDuplicatedOrganisationFoundExceptionValidationExceptionTooManyRequestsException
-
mergePersons
PersonType mergePersons(String primaryPersonId, String secondaryPersonId) throws FifaConnectIdException, FifaConflictException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, ValidationException
Merges two persons. Returns the primary person.- Parameters:
primaryPersonId- Primary person FIFA Unique IdentifiersecondaryPersonId- Secondary person FIFA Unique Identifier- Throws:
FifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionInvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConflictExceptionValidationExceptionTooManyRequestsException
-
unmergePersons
PersonType unmergePersons(String primaryPersonId, String secondaryPersonId) throws FifaConnectIdException, FifaConflictException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, ValidationException
Reverts merge operation. Returns the secondary person which will be active again when unmerge operations is completed.- Parameters:
primaryPersonId- Primary person FIFA Unique IdentifiersecondaryPersonId- Secondary person FIFA Unique Identifier- Throws:
FifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionInvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConflictExceptionValidationExceptionTooManyRequestsException
-
bulkDeactivateRegistrations
BulkDeactivateRegistrationsResponseType bulkDeactivateRegistrations(BulkDeactivateRegistrationsRequestType request) throws FifaConnectIdException, InvalidClientDataException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, ValidationException
Bulk deactivate registrations given in request.- Parameters:
request-- Throws:
FifaConnectIdExceptionInvalidClientDataExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
mergeOrganisations
OrganisationLocalType mergeOrganisations(String primaryOrganisationFifaId, String secondaryOrganisationFifaId) throws FifaConnectIdException, FifaConflictException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, ValidationException
Merges two organisations. Returns the primary organisation.- Parameters:
primaryOrganisationFifaId- Primary organisation FIFA Unique IdentifiersecondaryOrganisationFifaId- Secondary organisation FIFA Unique Identifier- Throws:
FifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionInvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConflictExceptionValidationExceptionTooManyRequestsException
-
unmergeOrganisations
OrganisationLocalType unmergeOrganisations(String primaryOrganisationFifaId, String secondaryOrganisationFifaId) throws FifaConnectIdException, FifaConflictException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, ValidationException
Reverts merge operation. Returns the secondary organisation when unmerge operations is completed.- Parameters:
primaryOrganisationFifaId- Primary organisation FIFA Unique IdentifiersecondaryOrganisationFifaId- Secondary organisation FIFA Unique Identifier- Throws:
FifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionInvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConflictExceptionValidationExceptionTooManyRequestsException
-
updateOrganisation
OrganisationLocalType updateOrganisation(OrganisationLocalType organisation, Boolean force) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, FifaDuplicatedOrganisationFoundException, ValidationException
Updates the organisation.- Parameters:
organisation- Object containing information about the organisation to updateforce- - force update organisation- Throws:
FifaConnectIdExceptionInvalidClientDataExceptionFifaEntityNotFoundExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionFifaDuplicatedOrganisationFoundExceptionValidationExceptionTooManyRequestsException
-
updateOrganisation
OrganisationLocalType updateOrganisation(OrganisationLocalType organisation) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, FifaDuplicatedOrganisationFoundException, ValidationException
Updates the organisation.- Parameters:
organisation- Object containing information about the organisation to update- Throws:
FifaConnectIdExceptionInvalidClientDataExceptionFifaEntityNotFoundExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionFifaDuplicatedOrganisationFoundExceptionValidationExceptionTooManyRequestsException
-
getFacility
FacilityLocalType getFacility(String facilityFifaId) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, ValidationException
Gets facility data associated with the specified FIFA Unique Identifier.- Parameters:
facilityFifaId- FIFA Unique Identifier.- Throws:
InvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
registerFacility
String registerFacility(FacilityLocalType facility, Boolean force) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, FifaDuplicatedFacilityFoundException, UnauthorizedException, InvalidClientDataException, ValidationException
Registers a new facility and assigns FIFA Unique Identifier. Uses facility data as defined in FIFA Data Standard.- Parameters:
facility- - object containing information about the facility.force- - force register facility- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionFifaDuplicatedFacilityFoundExceptionValidationExceptionTooManyRequestsException
-
registerFacility
String registerFacility(FacilityLocalType facility) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, FifaDuplicatedFacilityFoundException, UnauthorizedException, InvalidClientDataException, ValidationException
Registers a new facility and assigns FIFA Unique Identifier. Uses facility data as defined in FIFA Data Standard.- Parameters:
facility- - object containing information about the facility.- Throws:
InvalidClientDataExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionFifaDuplicatedFacilityFoundExceptionValidationExceptionTooManyRequestsException
-
updateFacility
FacilityLocalType updateFacility(FacilityLocalType facility, Boolean force) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, FifaDuplicatedFacilityFoundException, ValidationException
Updates the facility.- Parameters:
facility- Object containing information about the facility.force- - force update facility- Throws:
InvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionFifaDuplicatedFacilityFoundExceptionValidationExceptionTooManyRequestsException
-
updateFacility
FacilityLocalType updateFacility(FacilityLocalType facility) throws FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, FifaDuplicatedFacilityFoundException, ValidationException
Updates the facility.- Parameters:
facility- Object containing information about the facility.- Throws:
InvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionFifaDuplicatedFacilityFoundExceptionValidationExceptionTooManyRequestsException
-
findOrganisations
FindOrganisationsResponseType findOrganisations(FindOrganisationsRequestType request) throws FifaConnectIdException, IOException, com.fifa.connectservicebus.sdk.AuthenticationException, ValidationException
Searches for organisations.- Parameters:
request- - >Object containing search criteria- Returns:
- FindOrganisationsResponseType - Object containing a list of found organisations
- Throws:
FifaConnectIdExceptionIOExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionValidationExceptionTooManyRequestsException
-
findFacilities
FindFacilitiesResponseType findFacilities(FindFacilitiesRequestType request) throws FifaConnectIdException, IOException, com.fifa.connectservicebus.sdk.AuthenticationException, ValidationException
Searches for facilities.- Parameters:
request- - Object containing search criteria- Returns:
- FindFacilitiesResponseType - Object containing a list of found facilities
- Throws:
FifaConnectIdExceptionIOExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionValidationExceptionTooManyRequestsException
-
getAllNationalAssociationsOnboardedStatus
NationalAssociationsOnboardedResponseType getAllNationalAssociationsOnboardedStatus() throws IOException, UnauthorizedException, FifaEntityNotFoundException, IOException, com.fifa.connectservicebus.sdk.AuthenticationException, InvalidClientDataException, FifaConnectIdException
Asks Connect ID if specific organisation is onboarded.- Returns:
- NationalAssociationsOnboardedResponseType - Object containing list of all national associations fifa identifiers and corresponding onboarded statuses.
- Throws:
UnauthorizedExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionFifaConnectIdExceptionTooManyRequestsExceptionIOExceptionFifaEntityNotFoundExceptionInvalidClientDataException
-
getNationalAssociationsOnboardedStatus
NationalAssociationsOnboardedResponseType getNationalAssociationsOnboardedStatus(NationalAssociationsOnboardedRequestType request) throws IOException, UnauthorizedException, FifaEntityNotFoundException, com.fifa.connectservicebus.sdk.AuthenticationException, FifaConnectIdException, ValidationException
Asks Connect ID if specific organisation is onboarded.- Parameters:
request- - Object containing list of national association identifiers- Returns:
- NationalAssociationsOnboardedResponseType - Object containing list of national associations fifa identifiers and corresponding onboarded statuses.
- Throws:
UnauthorizedExceptionFifaEntityNotFoundExceptionInvalidClientDataExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionFifaConnectIdExceptionValidationExceptionTooManyRequestsExceptionIOException
-
getMemberAssociationForFifaId
MemberAssociationResponseType getMemberAssociationForFifaId(String organisationFifaId) throws InvalidClientDataException, FifaEntityNotFoundException, FifaConnectIdException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, ValidationException
Gets FIFA Id and short name of the Member Association the searched organisation belongs to.- Parameters:
organisationFifaId-- Returns:
- MemberAssociationResponseType
- Throws:
InvalidClientDataExceptionFifaEntityNotFoundExceptionFifaConnectIdExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionValidationExceptionTooManyRequestsException
-
registerAsDataHolderOfPerson
void registerAsDataHolderOfPerson(String personFifaId) throws ValidationException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaPersonMergedException, FifaEntityNotFoundException, FifaEntityDeletedException, FifaConnectIdException
Registers current system as Data Holder for the given person- Parameters:
personFifaId- Person FIFA Unique Identifier- Throws:
ValidationExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionInvalidClientDataExceptionFifaPersonMergedExceptionFifaEntityNotFoundExceptionFifaEntityDeletedExceptionFifaConnectIdException
-
getDataHoldersOfPerson
List<String> getDataHoldersOfPerson(String personFifaId) throws ValidationException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaPersonMergedException, FifaEntityNotFoundException, FifaEntityDeletedException, FifaConnectIdException
Gets systems registered as Data Holder for the given person- Parameters:
personFifaId- Person FIFA Unique Identifier- Returns:
- List of data holders
- Throws:
ValidationExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionInvalidClientDataExceptionFifaPersonMergedExceptionFifaEntityNotFoundExceptionFifaEntityDeletedExceptionFifaConnectIdException
-
getMergedSecondaryFifaIdsForPerson
List<String> getMergedSecondaryFifaIdsForPerson(String personFifaId) throws ValidationException, com.fifa.connectservicebus.sdk.AuthenticationException, UnauthorizedException, InvalidClientDataException, FifaEntityNotFoundException, FifaConnectIdException
Gets secondary FIFA IDs directly merged into person- Parameters:
personFifaId- Person FIFA Unique Identifier- Returns:
- List of merged secondary FIFA IDs
- Throws:
ValidationExceptioncom.fifa.connectservicebus.sdk.AuthenticationExceptionUnauthorizedExceptionInvalidClientDataExceptionFifaEntityNotFoundExceptionFifaEntityDeletedExceptionFifaConnectIdException
-
getHashingClient
HashingServiceClient getHashingClient()
Returns current instance of HashingClient
-
getIdDirectoryClient
IdDirectoryServiceClient getIdDirectoryClient()
Returns current instance of IdDirectoryClient
-
-