001/* 002 * Copyright 2006 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.ole.module.purap.batch.service; 017 018/** 019 * This interface defines the batch job that would be run to look at current 020 * REQs, POs, PREQs, and VCMs for statusCode and move them to the workflow side. 021 * It will do the following: 022 * 1. Get the existing PURAP documents and look at statusCode where statusCode exists 023 * 2. Using the document number, look for the document in KREW_DOC_HDR_T and update 024 * APP_DOC_STAT and APP_DOC_STAT_MDFN_DT columns if data does not exist in these columns. 025 * 3. STAT_CD columns in purap documents will be set to null. 026 * 4. The documents in KREW_DOC_HDR_EXT_T table will be reindexed. 027 */ 028public interface MigratePurapStatCodeToWorkflowDocumentService { 029 /** 030 * Migrate STAT_CD from PURAP documents to the corresponding 031 * workflow documents column APP_DOC_STAT 032 */ 033 public boolean migratePurapStatCodeToWorkflowDocuments(); 034}