org.lexgrid.loader.lexbigadmin
Class RegisteringTasklet

java.lang.Object
  extended by org.lexgrid.loader.logging.LoggingBean
      extended by org.lexgrid.loader.lexbigadmin.AbstractLexEvsUtilityTasklet
          extended by org.lexgrid.loader.lexbigadmin.RegisteringTasklet
All Implemented Interfaces:
org.springframework.batch.core.step.tasklet.Tasklet

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

The Class RegisteringTasklet.

Author:
Kevin Peterson

Constructor Summary
RegisteringTasklet()
           
 
Method Summary
protected  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)
           
protected  java.lang.String getCurrentCodingSchemeUri()
          Gets the current coding scheme uri.
protected  java.lang.String getCurrentCodingSchemeVersion()
          Gets the current coding scheme version.
 java.lang.String getPrefix()
           
 boolean isRetry()
           
 void setPrefix(java.lang.String prefix)
           
 void setRetry(boolean retry)
           
 
Methods inherited from class org.lexgrid.loader.lexbigadmin.AbstractLexEvsUtilityTasklet
getCodingSchemeIdSetter, getConnectionManager, getCurrentCodingScheme, getDatabaseServiceManager, setCodingSchemeIdSetter, setConnectionManager, setDatabaseServiceManager
 
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

RegisteringTasklet

public RegisteringTasklet()
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
Overrides:
execute in class AbstractLexEvsUtilityTasklet
Throws:
java.lang.Exception

getCurrentCodingSchemeUri

protected java.lang.String getCurrentCodingSchemeUri()
                                              throws java.lang.Exception
Description copied from class: AbstractLexEvsUtilityTasklet
Gets the current coding scheme uri.

Overrides:
getCurrentCodingSchemeUri in class AbstractLexEvsUtilityTasklet
Returns:
the current coding scheme uri
Throws:
java.lang.Exception - the exception

getCurrentCodingSchemeVersion

protected java.lang.String getCurrentCodingSchemeVersion()
                                                  throws java.lang.Exception
Description copied from class: AbstractLexEvsUtilityTasklet
Gets the current coding scheme version.

Overrides:
getCurrentCodingSchemeVersion in class AbstractLexEvsUtilityTasklet
Returns:
the current coding scheme version
Throws:
java.lang.Exception - the exception

doExecute

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

setRetry

public void setRetry(boolean retry)

isRetry

public boolean isRetry()

setPrefix

public void setPrefix(java.lang.String prefix)

getPrefix

public java.lang.String getPrefix()

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.