org.LexGrid.LexBIG.Extensions.Export
Interface Exporter

All Superinterfaces:
Extendable, java.io.Serializable, StatusReporter
All Known Subinterfaces:
LexGrid_Exporter, OBO_Exporter, OWL_Exporter
All Known Implementing Classes:
LexGridExport, OBOExport, OwlRdfExporterImpl

public interface Exporter
extends Extendable, StatusReporter

Defines a class of object used to export content from the underlying LexGrid repository to another repository or file format.


Method Summary
 void clearLog()
          Clears any associated log entries.
 void export(AbsoluteCodingSchemeVersionReference source, java.net.URI destination)
          Export a CodingScheme resource to a URI destination.
 void exportPickListDefinition(java.lang.String pickListId, java.net.URI destination)
          Export a Pick List Definition resource to a URI destination.
 void exportValueSetDefinition(java.net.URI valueSetDefinitionURI, java.lang.String valueSetDefinitionVersion, java.net.URI destination)
          Export a Value Set Definition resource to a URI destination.
 LogEntry[] getLog(LogLevel level)
          Returns log entries for the current or most recent export operation that match a particular status; null if no operation has been attempted.
 OptionHolder getOptions()
           
 java.net.URI[] getReferences()
          Returns absolute references for resources written by the most recent operation; empty if not applicable.
 ExportStatus getStatus()
          Returns status of the current or most recent export operation; null if no operation has been attempted.
 
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Extendable
getDescription, getName, getProvider, getVersion
 

Method Detail

getOptions

OptionHolder getOptions()

clearLog

void clearLog()
Clears any associated log entries.


getReferences

java.net.URI[] getReferences()
Returns absolute references for resources written by the most recent operation; empty if not applicable.


getLog

LogEntry[] getLog(LogLevel level)
Returns log entries for the current or most recent export operation that match a particular status; null if no operation has been attempted.

Specified by:
getLog in interface StatusReporter
Parameters:
status - One of several log levels defined by the system, or null to return all log entries.

getStatus

ExportStatus getStatus()
Returns status of the current or most recent export operation; null if no operation has been attempted.

Specified by:
getStatus in interface StatusReporter

export

void export(AbsoluteCodingSchemeVersionReference source,
            java.net.URI destination)
Export a CodingScheme resource to a URI destination.

Parameters:
source - the source
destination - the destination

exportValueSetDefinition

void exportValueSetDefinition(java.net.URI valueSetDefinitionURI,
                              java.lang.String valueSetDefinitionVersion,
                              java.net.URI destination)
Export a Value Set Definition resource to a URI destination.

Parameters:
URI - of value set definition
version - of value set definition
destination - the destination

exportPickListDefinition

void exportPickListDefinition(java.lang.String pickListId,
                              java.net.URI destination)
Export a Pick List Definition resource to a URI destination.

Parameters:
Id - of Pick List Definition
destination - the destination

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.