Package org.lockss.ws.metadata
Class MetadataMonitorServiceImpl
java.lang.Object
org.lockss.ws.metadata.MetadataMonitorServiceImpl
- All Implemented Interfaces:
MetadataMonitorService
The Metadata Monitor SOAP web service implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.lockss.ws.entities.KeyValueListPair>Provides the DOI prefixes for the Archival Units in the database with multiple DOI prefixes.List<org.lockss.ws.entities.KeyValueListPair>Provides the publishers for the Archival Units in the database with multiple publishers.org.lockss.ws.entities.AuMetadataWsResultgetAuMetadata(String auId) Provides the metadata information of an archival unit in the system.List<org.lockss.ws.entities.KeyValueListPair>Provides the DOI prefixes for the Archival Units in the database with multiple DOI prefixes.List<org.lockss.ws.entities.KeyValueListPair>Provides the publishers for the Archival Units in the database with multiple publishers.List<org.lockss.ws.entities.KeyValueListPair>Provides the ISSNs for books in the database.List<org.lockss.ws.entities.AuMetadataWsResult>Provides the Archival Units that exist in the database but that have been deleted from the daemon.List<org.lockss.ws.entities.KeyValueListPair>Provides the publisher names linked to DOI prefixes in the database that are linked to multiple publishers.List<org.lockss.ws.entities.PkNamePairIdNamePairListPair>Provides the ISSNs for the publications in the database with more than two ISSNS.List<org.lockss.ws.entities.KeyValueListPair>Provides the publication names linked to ISBNs in the database that are linked to multiple publications.List<org.lockss.ws.entities.KeyValueListPair>Provides the publication names linked to ISSNs in the database that are linked to multiple publications.List<org.lockss.ws.entities.MismatchedMetadataChildWsResult>Provides the book chapters in the database whose parent is not a book or a book series.List<org.lockss.ws.entities.MismatchedMetadataChildWsResult>Provides the book volumes in the database whose parent is not a book or a book series.List<org.lockss.ws.entities.MismatchedMetadataChildWsResult>Provides the journal articles in the database whose parent is not a journal.List<org.lockss.ws.entities.MetadataItemWsResult>Provides the non-parent metadata items in the database that have no Access URL.List<org.lockss.ws.entities.MetadataItemWsResult>Provides the non-parent metadata items in the database that have no DOI.Provides the Archival Units in the database with no metadata items.List<org.lockss.ws.entities.KeyValueListPair>Provides the ISBNs for periodicals in the database.List<org.lockss.ws.entities.KeyIdNamePairListPair>Provides the ISBNs for the publications in the database with more than two ISBNS.List<org.lockss.ws.entities.KeyIdNamePairListPair>Provides the ISSNs for the publications in the database with more than two ISSNS.List<org.lockss.ws.entities.KeyValueListPair>Provides the proprietary identifiers for the publications in the database with multiple proprietary identifiers.Provides the names of the publishers in the database.List<org.lockss.ws.entities.KeyValueListPair>Provides the DOI prefixes for the publishers in the database with multiple DOI prefixes.Provides the Archival Units in the database with an unknown provider.List<org.lockss.ws.entities.UnnamedItemWsResult>Provides the metadata items in the database that do not have a name.
-
Constructor Details
-
MetadataMonitorServiceImpl
public MetadataMonitorServiceImpl()
-
-
Method Details
-
getPublisherNames
Provides the names of the publishers in the database.- Specified by:
getPublisherNamesin interfaceMetadataMonitorService- Returns:
- a
List<String>with the publisher names. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getPublishersWithMultipleDoiPrefixes
public List<org.lockss.ws.entities.KeyValueListPair> getPublishersWithMultipleDoiPrefixes() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the DOI prefixes for the publishers in the database with multiple DOI prefixes.- Specified by:
getPublishersWithMultipleDoiPrefixesin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the DOI prefixes keyed by the publisher name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getDoiPrefixesWithMultiplePublishers
public List<org.lockss.ws.entities.KeyValueListPair> getDoiPrefixesWithMultiplePublishers() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the publisher names linked to DOI prefixes in the database that are linked to multiple publishers.- Specified by:
getDoiPrefixesWithMultiplePublishersin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the publisher names keyed by the DOI prefixes to which they are linked. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getAuIdsWithMultipleDoiPrefixes
public List<org.lockss.ws.entities.KeyValueListPair> getAuIdsWithMultipleDoiPrefixes() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the DOI prefixes for the Archival Units in the database with multiple DOI prefixes.- Specified by:
getAuIdsWithMultipleDoiPrefixesin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the DOI prefixes keyed by the Archival Unit identifier. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getAuNamesWithMultipleDoiPrefixes
public List<org.lockss.ws.entities.KeyValueListPair> getAuNamesWithMultipleDoiPrefixes() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the DOI prefixes for the Archival Units in the database with multiple DOI prefixes.- Specified by:
getAuNamesWithMultipleDoiPrefixesin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the DOI prefixes keyed by the Archival Unit name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getPublicationsWithMoreThan2Isbns
public List<org.lockss.ws.entities.KeyIdNamePairListPair> getPublicationsWithMoreThan2Isbns() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the ISBNs for the publications in the database with more than two ISBNS.- Specified by:
getPublicationsWithMoreThan2Isbnsin interfaceMetadataMonitorService- Returns:
- a
List<KeyIdNamePairListPair>with the ISBNs keyed by the publication name. The IdNamePair objects contain the ISBN as the identifier and the ISBN type as the name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getPublicationsWithMoreThan2Issns
public List<org.lockss.ws.entities.KeyIdNamePairListPair> getPublicationsWithMoreThan2Issns() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the ISSNs for the publications in the database with more than two ISSNS.- Specified by:
getPublicationsWithMoreThan2Issnsin interfaceMetadataMonitorService- Returns:
- a
List<KeyIdNamePairListPair>with the ISSNs keyed by the publication name. The IdNamePair objects contain the ISSN as the identifier and the ISSN type as the name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getIdPublicationsWithMoreThan2Issns
public List<org.lockss.ws.entities.PkNamePairIdNamePairListPair> getIdPublicationsWithMoreThan2Issns() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the ISSNs for the publications in the database with more than two ISSNS.- Specified by:
getIdPublicationsWithMoreThan2Issnsin interfaceMetadataMonitorService- Returns:
- a
List<PkNamePairIdNamePairListPair>with the ISSNs keyed by the publication PK/name pair. The IdNamePair objects contain the ISSN as the identifier and the ISSN type as the name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getIsbnsWithMultiplePublications
public List<org.lockss.ws.entities.KeyValueListPair> getIsbnsWithMultiplePublications() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the publication names linked to ISBNs in the database that are linked to multiple publications.- Specified by:
getIsbnsWithMultiplePublicationsin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the publication names keyed by the ISBNs to which they are linked. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getIssnsWithMultiplePublications
public List<org.lockss.ws.entities.KeyValueListPair> getIssnsWithMultiplePublications() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the publication names linked to ISSNs in the database that are linked to multiple publications.- Specified by:
getIssnsWithMultiplePublicationsin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the publication names keyed by the ISSNs to which they are linked. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getBooksWithIssns
public List<org.lockss.ws.entities.KeyValueListPair> getBooksWithIssns() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the ISSNs for books in the database.- Specified by:
getBooksWithIssnsin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the ISSNs keyed by the publication name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getPeriodicalsWithIsbns
public List<org.lockss.ws.entities.KeyValueListPair> getPeriodicalsWithIsbns() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the ISBNs for periodicals in the database.- Specified by:
getPeriodicalsWithIsbnsin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the ISBNs keyed by the publication name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getUnknownProviderAuIds
Provides the Archival Units in the database with an unknown provider.- Specified by:
getUnknownProviderAuIdsin interfaceMetadataMonitorService- Returns:
- a
List<String>with the sorted Archival Unit names. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getMismatchedParentJournalArticles
public List<org.lockss.ws.entities.MismatchedMetadataChildWsResult> getMismatchedParentJournalArticles() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the journal articles in the database whose parent is not a journal.- Specified by:
getMismatchedParentJournalArticlesin interfaceMetadataMonitorService- Returns:
- a
List<MismatchedChildWsResult>with the mismatched journal articles sorted by Archival Unit, parent name and child name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getMismatchedParentBookChapters
public List<org.lockss.ws.entities.MismatchedMetadataChildWsResult> getMismatchedParentBookChapters() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the book chapters in the database whose parent is not a book or a book series.- Specified by:
getMismatchedParentBookChaptersin interfaceMetadataMonitorService- Returns:
- a
List<MismatchedChildWsResult>with the mismatched book chapters sorted by Archival Unit, parent name and child name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getMismatchedParentBookVolumes
public List<org.lockss.ws.entities.MismatchedMetadataChildWsResult> getMismatchedParentBookVolumes() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the book volumes in the database whose parent is not a book or a book series.- Specified by:
getMismatchedParentBookVolumesin interfaceMetadataMonitorService- Returns:
- a
List<MismatchedChildWsResult>with the mismatched book volumes sorted by Archival Unit, parent name and child name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getAuIdsWithMultiplePublishers
public List<org.lockss.ws.entities.KeyValueListPair> getAuIdsWithMultiplePublishers() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the publishers for the Archival Units in the database with multiple publishers.- Specified by:
getAuIdsWithMultiplePublishersin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the publishers keyed by the Archival Unit identifier. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getAuNamesWithMultiplePublishers
public List<org.lockss.ws.entities.KeyValueListPair> getAuNamesWithMultiplePublishers() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the publishers for the Archival Units in the database with multiple publishers.- Specified by:
getAuNamesWithMultiplePublishersin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the publishers keyed by the Archival Unit name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getUnnamedItems
public List<org.lockss.ws.entities.UnnamedItemWsResult> getUnnamedItems() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the metadata items in the database that do not have a name.- Specified by:
getUnnamedItemsin interfaceMetadataMonitorService- Returns:
- a
List<UnnamedItemWsResult>with the unnamed metadata items sorted by publisher, Archival Unit, parent type, parent name and item type. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getPublicationsWithMultiplePids
public List<org.lockss.ws.entities.KeyValueListPair> getPublicationsWithMultiplePids() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the proprietary identifiers for the publications in the database with multiple proprietary identifiers.- Specified by:
getPublicationsWithMultiplePidsin interfaceMetadataMonitorService- Returns:
- a
List<KeyValueListPair>with the proprietary identifiers keyed by the publication name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getNoDoiItems
public List<org.lockss.ws.entities.MetadataItemWsResult> getNoDoiItems() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the non-parent metadata items in the database that have no DOI.- Specified by:
getNoDoiItemsin interfaceMetadataMonitorService- Returns:
- a
List<MetadataItemWsResult>with the non-parent metadata items that have no DOI sorted by publisher, Archival Unit, parent type, parent name, item type and item name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getNoAccessUrlItems
public List<org.lockss.ws.entities.MetadataItemWsResult> getNoAccessUrlItems() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the non-parent metadata items in the database that have no Access URL.- Specified by:
getNoAccessUrlItemsin interfaceMetadataMonitorService- Returns:
- a
List<MetadataItemWsResult>with the non-parent metadata items that have no Access URL sorted by publisher, Archival Unit, parent type, parent name, item type and item name. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getNoItemsAuIds
Provides the Archival Units in the database with no metadata items.- Specified by:
getNoItemsAuIdsin interfaceMetadataMonitorService- Returns:
- a
List<String>with the sorted Archival Unit names. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getAuMetadata
public org.lockss.ws.entities.AuMetadataWsResult getAuMetadata(String auId) throws org.lockss.ws.entities.LockssWebServicesFault Provides the metadata information of an archival unit in the system.- Specified by:
getAuMetadatain interfaceMetadataMonitorService- Parameters:
auId- A String with the identifier of the archival unit.- Returns:
- an AuMetadataWsResult with the metadata information of the archival unit.
- Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getDbArchivalUnitsDeletedFromDaemon
public List<org.lockss.ws.entities.AuMetadataWsResult> getDbArchivalUnitsDeletedFromDaemon() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the Archival Units that exist in the database but that have been deleted from the daemon.- Specified by:
getDbArchivalUnitsDeletedFromDaemonin interfaceMetadataMonitorService- Returns:
- a
List<AuMetadataWsResult>with the Archival unit data. - Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-