1 /* 2 * Copyright 2006 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.opensource.org/licenses/ecl2.php 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.kuali.ole.module.purap.batch.service; 17 18 /** 19 * This interface defines the batch job that would be run to look at current 20 * REQs, POs, PREQs, and VCMs for statusCode and move them to the workflow side. 21 * It will do the following: 22 * 1. Get the existing PURAP documents and look at statusCode where statusCode exists 23 * 2. Using the document number, look for the document in KREW_DOC_HDR_T and update 24 * APP_DOC_STAT and APP_DOC_STAT_MDFN_DT columns if data does not exist in these columns. 25 * 3. STAT_CD columns in purap documents will be set to null. 26 * 4. The documents in KREW_DOC_HDR_EXT_T table will be reindexed. 27 */ 28 public interface MigratePurapStatCodeToWorkflowDocumentService { 29 /** 30 * Migrate STAT_CD from PURAP documents to the corresponding 31 * workflow documents column APP_DOC_STAT 32 */ 33 public boolean migratePurapStatCodeToWorkflowDocuments(); 34 }