|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.Impl.exporters.BaseExporter
org.LexGrid.LexBIG.Impl.exporters.LexGridExport
public class LexGridExport
Exporter for LexGrid XML files.
Field Summary | |
---|---|
static java.lang.String |
name
|
Fields inherited from class org.LexGrid.LexBIG.Impl.exporters.BaseExporter |
---|
ASYNC_OPTION, description_, FAIL_ON_ERROR_OPTION, name_, OVERWRITE_OPTION, provider_, version_ |
Constructor Summary | |
---|---|
LexGridExport()
|
Method Summary | |
---|---|
protected OptionHolder |
declareAllowedOptions(OptionHolder holder)
|
protected void |
doExport()
|
void |
export(AbsoluteCodingSchemeVersionReference source,
java.net.URI destination,
boolean overwrite,
boolean stopOnErrors,
boolean async)
Export content from the underlying LexGrid repository. |
protected void |
exportCodingSchemeData()
|
void |
exportPickListDefinition(java.lang.String pickListId,
java.net.URI destination,
boolean overwrite,
boolean stopOnErros,
boolean async)
Export content of PickList Definition from the underlying LexGrid repository. |
protected void |
exportPickListDefinitionData()
|
void |
exportValueSetDefinition(java.net.URI valueSetDefinitionURI,
java.lang.String valueSetDefinitionRevisionId,
java.net.URI destination,
boolean overwrite,
boolean stopOnErros,
boolean async)
Export Value Set Definition from the underlying LexGrid repository. |
protected void |
exportValueSetDefinitionData()
|
void |
exportValueSetResolution(java.net.URI valueSetDefinitionURI,
java.lang.String valueSetDefinitionRevisionId,
java.net.URI destination,
boolean overwrite,
boolean stopOnErros,
boolean async)
Exports expanded contents of Value Set Definition from the underlying LexGrid repository. |
protected void |
exportValueSetResolutionData()
|
OptionHolder |
getOptions()
|
java.net.URI |
getSchemaURL()
Return a reference to the XML Schema that this loader supports. |
java.lang.String |
getSchemaVersion()
Return the version identifier of the schema that this loader supports. |
static void |
register()
|
void |
setCng(CodedNodeGraph cng)
|
void |
setCns(CodedNodeSet cns)
|
Methods inherited from class org.LexGrid.LexBIG.Impl.exporters.BaseExporter |
---|
baseExport, clearLog, export, exportPickListDefinition, exportValueSetDefinition, exportValueSetResolution, getDescription, getLog, getLogger, getMessageDirector, getName, getPickListId, getProvider, getReferences, getResourceUri, getSource, getStatus, getValueSetDefinitionRevisionId, getValueSetDefinitionURI, getVersion, isExportValueSetResolution, setExportValueSetResolution, setPickListId, setResourceUri, setSource, setValueSetDefinitionRevisionId, setValueSetDefinitionURI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Export.Exporter |
---|
clearLog, export, exportPickListDefinition, exportValueSetDefinition, getLog, getReferences, getStatus |
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Extendable |
---|
getDescription, getName, getProvider, getVersion |
Field Detail |
---|
public static final java.lang.String name
Constructor Detail |
---|
public LexGridExport()
Method Detail |
---|
public void setCns(CodedNodeSet cns)
public void setCng(CodedNodeGraph cng)
public static void register() throws LBParameterException, LBException
LBParameterException
LBException
protected void doExport()
doExport
in class BaseExporter
protected void exportCodingSchemeData()
protected void exportValueSetResolutionData()
protected void exportValueSetDefinitionData()
protected void exportPickListDefinitionData()
public java.net.URI getSchemaURL()
LexGrid_Exporter
getSchemaURL
in interface LexGrid_Exporter
public java.lang.String getSchemaVersion()
LexGrid_Exporter
getSchemaVersion
in interface LexGrid_Exporter
protected OptionHolder declareAllowedOptions(OptionHolder holder)
declareAllowedOptions
in class BaseExporter
public OptionHolder getOptions()
getOptions
in interface Exporter
getOptions
in class BaseExporter
public void export(AbsoluteCodingSchemeVersionReference source, java.net.URI destination, boolean overwrite, boolean stopOnErrors, boolean async) throws LBException
LexGrid_Exporter
export
in interface LexGrid_Exporter
source
- The absolute version identifier of the coding scheme to export.destination
- URI corresponding to the XML file to write.overwrite
- True indicates to overwrite an existing file if present. False
indicates to stop if the destination file already exists.stopOnErrors
- True means stop if any export error is detected. False means
attempt to continue writing what can be exported if
recoverable errors are encountered.async
- Flag controlling whether export occurs in the calling thread.
If true, the export will occur in a separate asynchronous
process. If false, this method blocks until the export
operation completes or fails. Regardless of setting, the
getStatus and getLog calls are used to fetch results.
LBException
public void exportPickListDefinition(java.lang.String pickListId, java.net.URI destination, boolean overwrite, boolean stopOnErros, boolean async) throws LBException
LexGrid_Exporter
exportPickListDefinition
in interface LexGrid_Exporter
pickListId
- ID of the pick list definition to export.destination
- URI corresponding to the XML file to write.overwrite
- True indicates to overwrite an existing file if present. False
indicates to stop if the destination file already exists.async
- Flag controlling whether export occurs in the calling thread.
If true, the export will occur in a separate asynchronous
process. If false, this method blocks until the export
operation completes or fails. Regardless of setting, the
getStatus and getLog calls are used to fetch results.
LBException
public void exportValueSetDefinition(java.net.URI valueSetDefinitionURI, java.lang.String valueSetDefinitionRevisionId, java.net.URI destination, boolean overwrite, boolean stopOnErros, boolean async) throws LBException
LexGrid_Exporter
exportValueSetDefinition
in interface LexGrid_Exporter
valueSetDefinitionURI
- URI of the value set definition to export.valueSetDefinitionRevisionId
- RevisionId of the value set definition to export.destination
- URI corresponding to the XML file to write.overwrite
- True indicates to overwrite an existing file if present. False
indicates to stop if the destination file already exists.async
- Flag controlling whether export occurs in the calling thread.
If true, the export will occur in a separate asynchronous
process. If false, this method blocks until the export
operation completes or fails. Regardless of setting, the
getStatus and getLog calls are used to fetch results.
LBException
public void exportValueSetResolution(java.net.URI valueSetDefinitionURI, java.lang.String valueSetDefinitionRevisionId, java.net.URI destination, boolean overwrite, boolean stopOnErros, boolean async) throws LBException
LexGrid_Exporter
exportValueSetResolution
in interface LexGrid_Exporter
valueSetDefinitionURI
- URI of the value set definition to export.valueSetDefinitionRevisionId
- RevisionId of the value set definition to export.destination
- URI corresponding to the XML file to write.overwrite
- True indicates to overwrite an existing file if present. False
indicates to stop if the destination file already exists.async
- Flag controlling whether export occurs in the calling thread.
If true, the export will occur in a separate asynchronous
process. If false, this method blocks until the export
operation completes or fails. Regardless of setting, the
getStatus and getLog calls are used to fetch results.
LBException
|
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. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |