/*
 * Copyright (c) 2004, 2005 The National Association of College and University Business Officers,
 * Cornell University, Trustees of Indiana University, Michigan State University Board of Trustees,
 * Trustees of San Joaquin Delta College, University of Hawai'i, The Arizona Board of Regents on
 * behalf of the University of Arizona, and the r*smart group.
 * 
 * Licensed under the Educational Community License Version 1.0 (the "License"); By obtaining,
 * using and/or copying this Original Work, you agree that you have read, understand, and will
 * comply with the terms and conditions of the Educational Community License.
 * 
 * You may obtain a copy of the License at:
 * 
 * http://kualiproject.org/license.html
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
 * AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 */
package org.kuali.module.gl;

/**
 * This class...
 * @author Kuali Nervous System Team (kualidev@oncourse.iu.edu)
 */
public class GLConstants{
    public static final String DASH_ORGANIZATION_REFERENCE_ID = "--------";
    
    public static class DummyBusinessObject {
        static final public String COST_SHARE_OPTION = "dummyBusinessObject.costShareOption";
        static final public String PENDING_ENTRY_OPTION = "dummyBusinessObject.pendingEntryOption";
        static final public String CONSOLIDATION_OPTION = "dummyBusinessObject.consolidationOption";
        static final public String LINK_BUTTON_OPTION = "dummyBusinessObject.linkButtonOption";
    }
    
    public static class PendingEntryOptions {
        static final public String APPROVED = "Approved";
        static final public String ALL = "All";
    }
    
    public static class ColumnNames {
        static final public String SUB_ACCOUNT_NUMBER = "SUB_ACCT_NBR";
        static final public String CURRENT_BDLN_BALANCE_AMOUNT = "CURR_BDLN_BAL_AMT";
        static final public String ACCOUNTING_LINE_ACTUALS_BALANCE_AMOUNT = "ACLN_ACTLS_BAL_AMT";
        static final public String ACCOUNTING_LINE_ENCUMBRANCE_BALANCE_AMOUNT = "ACLN_ENCUM_BAL_AMT";
        static final public String CONSOLIDATION_OBJECT_CODE = "FIN_CONS_OBJ_CD";
        static final public String REPORT_SORT_CODE = "FIN_REPORT_SORT_CD";
        static final public String CONSOLIDATION_REPORT_SORT_CODE = "CONS_FIN_REPORT_SORT_CD";
        static final public String OBJECT_LEVEL_CODE = "FIN_OBJ_LVL_CD";
        static final public String OBJECT_LEVEL_CODE2 = "FIN_OBJ_LEVEL_CD";
        static final public String OBJECT_CODE = "FIN_OBJECT_CD";
        
        static final public String UNIVERSITY_FISCAL_YEAR = "UNIV_FISCAL_YR";
        static final public String CHART_OF_ACCOUNTS_CODE = "FIN_COA_CD";
        static final public String ACCOUNT_NUMBER = "ACCOUNT_NBR";
        static final public String SUB_OBJECT_CODE = "FIN_SUB_OBJ_CD";
        static final public String OBJECT_TYPE_CODE = "FIN_OBJ_TYP_CD";
        static final public String BALANCE_TYPE_CODE = "FIN_BALANCE_TYP_CD";
        static final public String DEBIT_CREDIT_CODE = "TRN_DEBIT_CRDT_CD";
        static final public String OBJECT_TYPE_DEBIT_CREDIT_CODE = "FIN_OBJTYP_DBCR_CD";
        static final public String OFFSET_GENERATION_CODE = "FIN_OFFST_GNRTN_CD";
        static final public String TRANSACTION_LEDGER_ENTRY_AMOUNT = "TRN_LDGR_ENTR_AMT";
        
    	static final public String TRANSACTION_DT = "TRANSACTION_DT";
    	static final public String FIN_OBJ_TYP_CODE = "FIN_OBJ_TYP_CODE";
    	static final public String NET_EXP_OBJECT_CD = "NET_EXP_OBJECT_CD";
    	static final public String NET_REV_OBJECT_CD = "NET_REV_OBJECT_CD";
    	static final public String FUND_BAL_OBJ_TYP_CD = "FUND_BAL_OBJ_TYP_CD";
    	static final public String FUND_BAL_OBJECT_CD = "FUND_BAL_OBJECT_CD";
	    static final public String UNIV_DT = "UNIV_DT";

    }

    public static class BalanceInquiryDrillDowns {
        static final public String OBJECT_LEVEL_CODE = "financialObject.financialObjectLevel.financialObjectLevelCode";
        static final public String REPORTING_SORT_CODE = "financialObject.financialObjectLevel.financialReportingSortCode";
        static final public String CONSOLIDATION_OBJECT_CODE = "financialObject.financialObjectLevel.financialConsolidationObject.finConsolidationObjectCode";
    }
    
    public static class LookupableBeanKeys {
        static final public String PENDING_ENTRY = "glPendingEntryLookupableImpl";
    }
    
}

@@ -1242,122 +1242,409 @@
 l;%0A%0A
-/**%0A * This class...%0A * @author Kuali Nervous System Team (kualidev@oncourse.iu.edu)%0A */%0Apublic class GLConstants%7B
+import java.util.Arrays;%0Aimport java.util.List;%0A%0Aimport org.kuali.core.service.KualiConfigurationService;%0Aimport org.kuali.core.util.SpringServiceLocator;%0A%0A/**%0A * This class...%0A * @author Kuali Nervous System Team (kualidev@oncourse.iu.edu)%0A */%0Apublic class GLConstants%7B%0A    public static final KualiConfigurationService kualiConfigurationService = SpringServiceLocator.getKualiConfigurationService();
 %0A   
@@ -5091,10 +5091,426 @@
  %7D%0A    %0A
+    public static List%3CString%3E getEncumbranceBalanceTypeCodeList() %7B         %0A        String%5B%5D balanceTypesAsArray = %0A            kualiConfigurationService.getApplicationParameterValues(%0A                    %22Kuali.GeneralLedger.AvailableBalanceInquiry%22, %0A                    %22GeneralLedger.BalanceInquiry.AvailableBalances.EncumbranceDrillDownBalanceTypes%22);%0A        return Arrays.asList(balanceTypesAsArray);%0A    %7D%0A
 %7D%0A

Add a few of new entries.