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.bc.document.dataaccess;
017
018 /**
019 * This class defines methods an BudgetPullupDao must provide
020 */
021 public interface BudgetPullupDao {
022
023 public void buildSubTree(String principalName, String chartOfAccountsCode, String organizationCode, int currentLevel);
024
025 // /**
026 // * This method initializes the root of the subtree in the temp table for the user
027 // *
028 // * @param principalName
029 // * @param chartOfAccountsCode
030 // * @param organizationCode
031 // * @param currentLevel
032 // */
033 // public void initPointOfView(String principalName, String chartOfAccountsCode, String organizationCode, int currentLevel);
034 //
035 // /**
036 // * This method fills out the subtree for the root node already found in the temp table for the user.
037 // * It is assumed the root node is already in the table initialized as the level 0 organization.
038 // * The report flag field is used to keep track of the levels of the organizations during the build process.
039 // * The report flag field is reset to zero at the end
040 // *
041 // * @param principalName
042 // * @param previousLevel
043 // */
044 // public void insertChildOrgs(String principalName, int previousLevel);
045
046 /**
047 * Deletes rows in the Pullup temp table for the user
048 *
049 * @param principalName
050 */
051 public void cleanGeneralLedgerObjectSummaryTable(String principalName);
052
053 }
054