Class MetadataMonitorServiceImpl

java.lang.Object
org.lockss.ws.metadata.MetadataMonitorServiceImpl
All Implemented Interfaces:
MetadataMonitorService

@Service public class MetadataMonitorServiceImpl extends Object implements MetadataMonitorService
The Metadata Monitor SOAP web service implementation.
  • Constructor Details

    • MetadataMonitorServiceImpl

      public MetadataMonitorServiceImpl()
  • Method Details

    • getPublisherNames

      public List<String> getPublisherNames() throws org.lockss.ws.entities.LockssWebServicesFault
      Provides the names of the publishers in the database.
      Specified by:
      getPublisherNames in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the DOI prefixes for the publishers in the database with multiple DOI prefixes.
      Specified by:
      getPublishersWithMultipleDoiPrefixes in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the publisher names linked to DOI prefixes in the database that are linked to multiple publishers.
      Specified by:
      getDoiPrefixesWithMultiplePublishers in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the DOI prefixes for the Archival Units in the database with multiple DOI prefixes.
      Specified by:
      getAuIdsWithMultipleDoiPrefixes in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the DOI prefixes for the Archival Units in the database with multiple DOI prefixes.
      Specified by:
      getAuNamesWithMultipleDoiPrefixes in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the ISBNs for the publications in the database with more than two ISBNS.
      Specified by:
      getPublicationsWithMoreThan2Isbns in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the ISSNs for the publications in the database with more than two ISSNS.
      Specified by:
      getPublicationsWithMoreThan2Issns in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the ISSNs for the publications in the database with more than two ISSNS.
      Specified by:
      getIdPublicationsWithMoreThan2Issns in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the publication names linked to ISBNs in the database that are linked to multiple publications.
      Specified by:
      getIsbnsWithMultiplePublications in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the publication names linked to ISSNs in the database that are linked to multiple publications.
      Specified by:
      getIssnsWithMultiplePublications in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the ISSNs for books in the database.
      Specified by:
      getBooksWithIssns in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the ISBNs for periodicals in the database.
      Specified by:
      getPeriodicalsWithIsbns in interface MetadataMonitorService
      Returns:
      a List<KeyValueListPair> with the ISBNs keyed by the publication name.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • getUnknownProviderAuIds

      public List<String> getUnknownProviderAuIds() throws org.lockss.ws.entities.LockssWebServicesFault
      Provides the Archival Units in the database with an unknown provider.
      Specified by:
      getUnknownProviderAuIds in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the journal articles in the database whose parent is not a journal.
      Specified by:
      getMismatchedParentJournalArticles in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the book chapters in the database whose parent is not a book or a book series.
      Specified by:
      getMismatchedParentBookChapters in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the book volumes in the database whose parent is not a book or a book series.
      Specified by:
      getMismatchedParentBookVolumes in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the publishers for the Archival Units in the database with multiple publishers.
      Specified by:
      getAuIdsWithMultiplePublishers in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the publishers for the Archival Units in the database with multiple publishers.
      Specified by:
      getAuNamesWithMultiplePublishers in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the metadata items in the database that do not have a name.
      Specified by:
      getUnnamedItems in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the proprietary identifiers for the publications in the database with multiple proprietary identifiers.
      Specified by:
      getPublicationsWithMultiplePids in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the non-parent metadata items in the database that have no DOI.
      Specified by:
      getNoDoiItems in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the non-parent metadata items in the database that have no Access URL.
      Specified by:
      getNoAccessUrlItems in interface MetadataMonitorService
      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

      public List<String> getNoItemsAuIds() throws org.lockss.ws.entities.LockssWebServicesFault
      Provides the Archival Units in the database with no metadata items.
      Specified by:
      getNoItemsAuIds in interface MetadataMonitorService
      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:
      getAuMetadata in interface MetadataMonitorService
      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.LockssWebServicesFault
      Provides the Archival Units that exist in the database but that have been deleted from the daemon.
      Specified by:
      getDbArchivalUnitsDeletedFromDaemon in interface MetadataMonitorService
      Returns:
      a List<AuMetadataWsResult> with the Archival unit data.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.