001 /*
002 * Copyright 2011 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 */
016 package org.kuali.kfs.module.ld.batch.service;
017
018 import org.kuali.kfs.gl.businessobject.OriginEntryGroup;
019 import org.kuali.rice.kns.service.DateTimeService;
020
021 /**
022 * Defines methods that must be implemented by classes providing a LaborScrubberServiceImpl.
023 */
024 public interface LaborScrubberService {
025
026 /**
027 * Nightly process to scrub incoming Labor transactions before posting to Labor tables
028 */
029 public void scrubEntries();
030
031 /**
032 * This process will call the scrubber in a read only mode. It will scrub a single group, won't create any output in origin
033 * entry. It will create a the scrubber report
034 */
035 public void scrubGroupReportOnly(String fileName, String documentNumber);
036
037 /**
038 * Sets the dateTimeService attribute value.
039 *
040 * @param dateTimeService The dateTimeService to set.
041 */
042 public void setDateTimeService(DateTimeService dateTimeService);
043
044 public void performDemerger();
045 }