public class FileConverter extends Object
| Constructor and Description | 
|---|
| FileConverter() | 
| Modifier and Type | Method and Description | 
|---|---|
| static DataSource | getDataSource(HashMap settingsMap)Creates the data source from the settings map | 
| void | processDocumentRow(String docId,
                  String docCntnt,
                  EncryptionService encryptServ,
                  String runMode)Called for each row in the processRow method of the spring query. | 
| void | runFileConversion(HashMap settingsMap,
                 String runMode,
                 String fromRange,
                 String toRange,
                 boolean hasRangeParameters)Selects all the encrypted xml documents from krns_maint_doc_t, decrypts them, runs the rules to upgrade them,
 encrypt them and update krns_maint_doc_t with the upgraded xml. | 
public FileConverter()
public void runFileConversion(HashMap settingsMap, String runMode, String fromRange, String toRange, boolean hasRangeParameters) throws Exception
settingsMap - - the settingsExceptionpublic static DataSource getDataSource(HashMap settingsMap)
settingsMap - - the settingMap containing the db connection settingspublic void processDocumentRow(String docId, String docCntnt, EncryptionService encryptServ, String runMode)
docId - - the document id stringdocCntnt - - the old xml stringencryptServ - - the encryption service used to encrypt/decrypt the xmlCopyright © 2005–2016 The Kuali Foundation. All rights reserved.