org.dspace.app.oai
Class DSpaceRecordFactory

java.lang.Object
  extended by ORG.oclc.oai.server.catalog.RecordFactory
      extended by org.dspace.app.oai.DSpaceRecordFactory

public class DSpaceRecordFactory
extends ORG.oclc.oai.server.catalog.RecordFactory

Implementation of the OAICat RecordFactory base class for DSpace items.

Version:
$Revision$
Author:
Robert Tansley

Field Summary
 
Fields inherited from class ORG.oclc.oai.server.catalog.RecordFactory
debug
 
Constructor Summary
DSpaceRecordFactory(Properties properties)
           
 
Method Summary
 String fromOAIIdentifier(String identifier)
           
 Iterator getAbouts(Object nativeItem)
           
 String getDatestamp(Object nativeItem)
           
 String getOAIIdentifier(Object nativeItem)
           
 Iterator getSetSpecs(Object nativeItem)
           
 boolean isDeleted(Object nativeItem)
           
 String quickCreate(Object nativeItem, String schemaURL, String metadataPrefix)
           
 
Methods inherited from class ORG.oclc.oai.server.catalog.RecordFactory
create, create, create, create, createHeader, createHeader, createHeader, createMetadata, createMetadata, createMetadata, getCrosswalks, getLocalIdentifier, getSchemaLocations, quickCreateMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSpaceRecordFactory

public DSpaceRecordFactory(Properties properties)
Method Detail

fromOAIIdentifier

public String fromOAIIdentifier(String identifier)
Specified by:
fromOAIIdentifier in class ORG.oclc.oai.server.catalog.RecordFactory

quickCreate

public String quickCreate(Object nativeItem,
                          String schemaURL,
                          String metadataPrefix)
                   throws IllegalArgumentException,
                          ORG.oclc.oai.server.verb.CannotDisseminateFormatException
Specified by:
quickCreate in class ORG.oclc.oai.server.catalog.RecordFactory
Throws:
IllegalArgumentException
ORG.oclc.oai.server.verb.CannotDisseminateFormatException

getOAIIdentifier

public String getOAIIdentifier(Object nativeItem)
Specified by:
getOAIIdentifier in class ORG.oclc.oai.server.catalog.RecordFactory

getDatestamp

public String getDatestamp(Object nativeItem)
Specified by:
getDatestamp in class ORG.oclc.oai.server.catalog.RecordFactory

getSetSpecs

public Iterator getSetSpecs(Object nativeItem)
Specified by:
getSetSpecs in class ORG.oclc.oai.server.catalog.RecordFactory

isDeleted

public boolean isDeleted(Object nativeItem)
Specified by:
isDeleted in class ORG.oclc.oai.server.catalog.RecordFactory

getAbouts

public Iterator getAbouts(Object nativeItem)
Specified by:
getAbouts in class ORG.oclc.oai.server.catalog.RecordFactory


Copyright © 2013 DuraSpace. All Rights Reserved.