org.lexgrid.loader.lexbigadmin
Class AbstractLexEvsUtilityTasklet

java.lang.Object
  extended by org.lexgrid.loader.logging.LoggingBean
      extended by org.lexgrid.loader.lexbigadmin.AbstractLexEvsUtilityTasklet
All Implemented Interfaces:
org.springframework.batch.core.step.tasklet.Tasklet
Direct Known Subclasses:
IndexingTasklet, MetadataLoadingTasklet, RegisteringTasklet, TransitivityBuildingTasklet

public abstract class AbstractLexEvsUtilityTasklet
extends LoggingBean
implements org.springframework.batch.core.step.tasklet.Tasklet

The Class IndexingTasklet.

Author:
Kevin Peterson

Constructor Summary
AbstractLexEvsUtilityTasklet()
           
 
Method Summary
protected abstract  org.springframework.batch.repeat.RepeatStatus doExecute(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext)
           
 org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext)
           
 CodingSchemeIdSetter getCodingSchemeIdSetter()
           
 LexEvsDatabaseOperations getConnectionManager()
           
protected  CodingScheme getCurrentCodingScheme()
          Gets the current coding scheme.
protected  java.lang.String getCurrentCodingSchemeUri()
          Gets the current coding scheme uri.
protected  java.lang.String getCurrentCodingSchemeVersion()
          Gets the current coding scheme version.
 DatabaseServiceManager getDatabaseServiceManager()
           
 void setCodingSchemeIdSetter(CodingSchemeIdSetter codingSchemeIdSetter)
           
 void setConnectionManager(LexEvsDatabaseOperations connectionManager)
           
 void setDatabaseServiceManager(DatabaseServiceManager databaseServiceManager)
           
 
Methods inherited from class org.lexgrid.loader.logging.LoggingBean
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLexEvsUtilityTasklet

public AbstractLexEvsUtilityTasklet()
Method Detail

execute

public org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution,
                                                             org.springframework.batch.core.scope.context.ChunkContext chunkContext)
                                                      throws java.lang.Exception
Specified by:
execute in interface org.springframework.batch.core.step.tasklet.Tasklet
Throws:
java.lang.Exception

doExecute

protected abstract org.springframework.batch.repeat.RepeatStatus doExecute(org.springframework.batch.core.StepContribution contribution,
                                                                           org.springframework.batch.core.scope.context.ChunkContext chunkContext)
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

getCurrentCodingSchemeUri

protected java.lang.String getCurrentCodingSchemeUri()
                                              throws java.lang.Exception
Gets the current coding scheme uri.

Returns:
the current coding scheme uri
Throws:
java.lang.Exception - the exception

getCurrentCodingSchemeVersion

protected java.lang.String getCurrentCodingSchemeVersion()
                                                  throws java.lang.Exception
Gets the current coding scheme version.

Returns:
the current coding scheme version
Throws:
java.lang.Exception - the exception

getCurrentCodingScheme

protected CodingScheme getCurrentCodingScheme()
                                       throws java.lang.Exception
Gets the current coding scheme.

Returns:
the current coding scheme
Throws:
java.lang.Exception - the exception

getCodingSchemeIdSetter

public CodingSchemeIdSetter getCodingSchemeIdSetter()

setCodingSchemeIdSetter

public void setCodingSchemeIdSetter(CodingSchemeIdSetter codingSchemeIdSetter)

setConnectionManager

public void setConnectionManager(LexEvsDatabaseOperations connectionManager)

getConnectionManager

public LexEvsDatabaseOperations getConnectionManager()

setDatabaseServiceManager

public void setDatabaseServiceManager(DatabaseServiceManager databaseServiceManager)

getDatabaseServiceManager

public DatabaseServiceManager getDatabaseServiceManager()

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.