org.lexevs.cts2.admin.load
Interface ValueSetLoadOperation

All Known Implementing Classes:
ValueSetLoadOperationImpl

public interface ValueSetLoadOperation

LexEVS CTS 2 Value Set Load Operation.

Author:
Sridhar Dwarkanath

Method Summary
 java.util.List<java.lang.String> getSupportedLoaderNames()
          Returns list of Loader names supported by this LexEVS instance.
 URNVersionPair[] load(java.net.URI source, java.net.URI releaseURI, java.lang.String loaderName, java.lang.Boolean stopOnErrors)
          Load the value set definition.
 java.lang.String load(ValueSetDefinition valueSetDefinition, java.net.URI releaseURI, java.lang.Boolean stopOnErrors)
          Load value set definition.
 

Method Detail

load

URNVersionPair[] load(java.net.URI source,
                      java.net.URI releaseURI,
                      java.lang.String loaderName,
                      java.lang.Boolean stopOnErrors)
                      throws LBException
Load the value set definition.

Parameters:
source - location of the source file
releaseURI - Release URI the loaded contents belong to
loaderName - Name of the loader to be used. Call getSupportedLoaderNames() to get list of loaders supported by this instance of LexEVS.
stopOnErrors - True means stop if any load error is detected. False means attempt to load what can be loaded if recoverable errors are encountered.
Throws:
LBException

load

java.lang.String load(ValueSetDefinition valueSetDefinition,
                      java.net.URI releaseURI,
                      java.lang.Boolean stopOnErrors)
                      throws LBException
Load value set definition.

Parameters:
valueSetDefinition - Value Set Definition object to be loaded
releaseURI - Release URI the loaded contents belong to
stopOnErrors - True means stop if any load error is detected. False means attempt to load what can be loaded if recoverable errors are encountered.
Throws:
LBException

getSupportedLoaderNames

java.util.List<java.lang.String> getSupportedLoaderNames()
                                                         throws LBException
Returns list of Loader names supported by this LexEVS instance.

Returns:
List of supported Loader names
Throws:
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.