1 /* 2 * Copyright 2005-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.gl.batch.service; 17 18 import org.kuali.rice.core.api.datetime.DateTimeService; 19 20 /** 21 * An interface of methods to run the Poster 22 */ 23 public interface PosterService { 24 /** 25 * a poster mode, where the poster will post entries 26 */ 27 public static int MODE_ENTRIES = 1; 28 /** 29 * a poster mode, where the poster will post reversals that are due to reverse 30 */ 31 public static int MODE_REVERSAL = 2; 32 /** 33 * a poster mode, where the poster will post indirect cost recovery entries 34 */ 35 public static int MODE_ICR = 3; 36 37 /** 38 * Post scrubbed GL entries to GL tables. 39 */ 40 public void postMainEntries(); 41 42 /** 43 * Post reversal GL entries to GL tables. 44 */ 45 public void postReversalEntries(); 46 47 /** 48 * Post ICR GL entries to GL tables. 49 */ 50 public void postIcrEntries(); 51 52 /** 53 * Generate ICR GL entries. 54 */ 55 public void generateIcrTransactions(); 56 57 /** 58 * Sets the dateTimeAttribute of the service 59 * 60 * @param dateTimeService the dateTimeService implementation to set 61 */ 62 public void setDateTimeService(DateTimeService dateTimeService); 63 }