Package org.emau.icmvc.ttp.epix.service
Schnittstelle EPIXManagementService
public interface EPIXManagementService
- Autor:
- geidell
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaddIdentifierDomain
(IdentifierDomainDTO identifierDomain) long
countIdentityHistoriesForDomain
(String domainName, PaginationConfig paginationConfig) Counts matchingIdentityHistoryDTO
entries.long
countPossibleMatchHistoriesForDomain
(String domainName, PaginationConfig paginationConfig) Counts matchingPossibleMatchHistoryDTO
entries.void
deleteDomain
(String domainName, boolean force) void
deleteIdentifierDomain
(String identifierDomainName) void
deleteSource
(String sourceName) Parses a matching configuration encoded as XML into aConfigurationContainer
.getConfigurationForDomain
(String domainName) getDeacticatedIdentitiesForDomain
(String domainName) getDeactivatedPersonsForDomain
(String domainName) getDefinedDeduplicationReasons
(String domainName) getHistoryForContact
(long contactId) getHistoryForIdentifier
(String identifierDomainName, String value) getHistoryForIdentity
(long identityId) getHistoryForPerson
(String domainName, String mpiId) getIdentifierDomain
(String identifierDomainName) getIdentityById
(long id) getIdentityHistoriesForDomain
(String domainName) getIdentityHistoriesForDomainFiltered
(String domainName, Map<IdentityField, String> filter, boolean filterIsCaseSensitive) getIdentityHistoriesForDomainPaginated
(String domainName, PaginationConfig paginationConfig) Returns matchingIdentityHistoryDTO
entries.getIdentityHistoryByPersonId
(Long personId) getPersonById
(long id) getPossibleMatchHistoryByIdentity
(long identityId) getPossibleMatchHistoryForPerson
(String domainName, String mpiId) getPossibleMatchHistoryForUpdatedIdentity
(long updatedIdentityId) Parses a matching configuration encoded as XML into aConfigurationContainer
.updateDomain
(DomainDTO domain) updateDomainInUse
(String domainName, String label, String description) updateIdentifierDomain
(IdentifierDomainDTO identifierDomain) updateSource
(SourceDTO source)
-
Methodendetails
-
addIdentifierDomain
IdentifierDomainDTO addIdentifierDomain(IdentifierDomainDTO identifierDomain) throws DuplicateEntryException, InvalidParameterException, MPIException -
getIdentifierDomain
IdentifierDomainDTO getIdentifierDomain(String identifierDomainName) throws UnknownObjectException, InvalidParameterException -
getIdentifierDomains
List<IdentifierDomainDTO> getIdentifierDomains() -
updateIdentifierDomain
IdentifierDomainDTO updateIdentifierDomain(IdentifierDomainDTO identifierDomain) throws InvalidParameterException, MPIException, UnknownObjectException -
deleteIdentifierDomain
void deleteIdentifierDomain(String identifierDomainName) throws InvalidParameterException, MPIException, ObjectInUseException, UnknownObjectException -
addDomain
DomainDTO addDomain(DomainDTO domain) throws DuplicateEntryException, InvalidParameterException, MPIException, UnknownObjectException -
getDomain
-
getDomains
-
updateDomain
DomainDTO updateDomain(DomainDTO domain) throws InvalidParameterException, MPIException, ObjectInUseException, UnknownObjectException -
updateDomainInUse
DomainDTO updateDomainInUse(String domainName, String label, String description) throws InvalidParameterException, MPIException, UnknownObjectException -
deleteDomain
void deleteDomain(String domainName, boolean force) throws InvalidParameterException, MPIException, ObjectInUseException, UnknownObjectException -
addSource
SourceDTO addSource(SourceDTO source) throws DuplicateEntryException, InvalidParameterException, MPIException -
getSource
-
getSources
-
updateSource
SourceDTO updateSource(SourceDTO source) throws InvalidParameterException, MPIException, UnknownObjectException -
deleteSource
void deleteSource(String sourceName) throws InvalidParameterException, MPIException, ObjectInUseException, UnknownObjectException -
getPersonById
- Löst aus:
UnknownObjectException
-
getIdentityById
- Löst aus:
UnknownObjectException
-
getDeactivatedPersonsForDomain
List<PersonDTO> getDeactivatedPersonsForDomain(String domainName) throws InvalidParameterException, UnknownObjectException -
getDeacticatedIdentitiesForDomain
List<IdentityOutDTO> getDeacticatedIdentitiesForDomain(String domainName) throws InvalidParameterException, UnknownObjectException -
getHistoryForPerson
List<PersonHistoryDTO> getHistoryForPerson(String domainName, String mpiId) throws InvalidParameterException, UnknownObjectException -
getIdentityHistoriesForDomain
List<IdentityHistoryDTO> getIdentityHistoriesForDomain(String domainName) throws InvalidParameterException, UnknownObjectException -
getIdentityHistoriesForDomainFiltered
List<IdentityHistoryDTO> getIdentityHistoriesForDomainFiltered(String domainName, Map<IdentityField, String> filter, boolean filterIsCaseSensitive) throws InvalidParameterException, UnknownObjectException -
getIdentityHistoriesForDomainPaginated
List<IdentityHistoryDTO> getIdentityHistoriesForDomainPaginated(String domainName, PaginationConfig paginationConfig) throws InvalidParameterException, UnknownObjectException Returns matchingIdentityHistoryDTO
entries. IfIdentityField.NONE
is the only key in the filter map, then search for the corresponding pattern in all required fields (as defined in the configuration container) linked by OR (disjunction), otherwise search in all given fields for the respective pattern linked by AND (conjunction).- Parameter:
domainName
- the name of the domainpaginationConfig
- the pagination configuration- Gibt zurück:
- matching
IdentityHistoryDTO
entries. - Löst aus:
UnknownObjectException
- for a wrong domain nameInvalidParameterException
-
countIdentityHistoriesForDomain
long countIdentityHistoriesForDomain(String domainName, PaginationConfig paginationConfig) throws InvalidParameterException, UnknownObjectException Counts matchingIdentityHistoryDTO
entries. IfIdentityField.NONE
is the only key in the filter map, then search for the corresponding pattern in all required fields (as defined in the configuration container) linked by OR (disjunction), otherwise search in all given fields for the respective pattern linked by AND (conjunction).- Parameter:
domainName
- the name of the domainpaginationConfig
- the pagination configuration- Gibt zurück:
- number of matching
IdentityHistoryDTO
entries. - Löst aus:
UnknownObjectException
- for a wrong domain nameInvalidParameterException
-
countPossibleMatchHistoriesForDomain
long countPossibleMatchHistoriesForDomain(String domainName, PaginationConfig paginationConfig) throws UnknownObjectException, InvalidParameterException Counts matchingPossibleMatchHistoryDTO
entries. w.r.t the given domain and pagination config.Currently only the domain and the solution filter will be used for the search! A later implementation also should respect the identity filter map.
- Parameter:
domainName
- the name of the domainpaginationConfig
- the pagination configuration- Gibt zurück:
- number of matching
PossibleMatchHistoryDTO
entries - Löst aus:
UnknownObjectException
- for a wrong domain nameInvalidParameterException
-
getHistoryForIdentity
- Löst aus:
UnknownObjectException
-
getHistoryForContact
- Löst aus:
UnknownObjectException
-
getHistoryForIdentifier
List<IdentifierHistoryDTO> getHistoryForIdentifier(String identifierDomainName, String value) throws UnknownObjectException - Löst aus:
UnknownObjectException
-
getPossibleMatchHistoryForPerson
List<PossibleMatchHistoryDTO> getPossibleMatchHistoryForPerson(String domainName, String mpiId) throws InvalidParameterException, UnknownObjectException -
getPossibleMatchHistoryForUpdatedIdentity
List<PossibleMatchHistoryDTO> getPossibleMatchHistoryForUpdatedIdentity(long updatedIdentityId) throws InvalidParameterException, UnknownObjectException -
getPossibleMatchHistoryByIdentity
List<PossibleMatchHistoryDTO> getPossibleMatchHistoryByIdentity(long identityId) throws InvalidParameterException, UnknownObjectException -
getConfigurationForDomain
ConfigurationContainer getConfigurationForDomain(String domainName) throws InvalidParameterException, UnknownObjectException -
getIdentityHistoryByPersonId
- Löst aus:
UnknownObjectException
-
getDefinedDeduplicationReasons
List<ReasonDTO> getDefinedDeduplicationReasons(String domainName) throws InvalidParameterException, UnknownObjectException -
parseMatchingConfiguration
ConfigurationContainer parseMatchingConfiguration(String xml) throws InvalidParameterException, MPIException Parses a matching configuration encoded as XML into aConfigurationContainer
.- Parameter:
xml
- the configuration XML- Gibt zurück:
- a
ConfigurationContainer
describing the configuration - Löst aus:
InvalidParameterException
- if the XML is null or emptyMPIException
- if parsing failed
-
encodeMatchingConfiguration
String encodeMatchingConfiguration(ConfigurationContainer config) throws InvalidParameterException, MPIException Parses a matching configuration encoded as XML into aConfigurationContainer
.- Parameter:
config
- aConfigurationContainer
describing the configuration- Gibt zurück:
- the configuration as XML
- Löst aus:
InvalidParameterException
- if the config is nullMPIException
- if encoding failed
-