org.kuali.kfs.module.bc.document.dataaccess
Interface OrganizationBCDocumentSearchDao

All Known Implementing Classes:
OrganizationBCDocumentSearchDaoJdbc

public interface OrganizationBCDocumentSearchDao

This class...


Method Summary
 int buildAccountManagerDelegateList(String principalName, Integer universityFiscalYear)
          Populates BudgetConstructionAccountSelect with accounts that the given user is a manager or delegate for.
 int buildAccountSelectPullList(String principalName, Integer universityFiscalYear)
          This method populates BudgetConstructionAccountSelect with rows associated with a set of selected organizations in the Organization Tree for the user and where Budget Documents exist.
 int buildBudgetedAccountsAbovePointsOfView(String principalName, Integer universityFiscalYear, String chartOfAccountsCode, String organizationCode)
          Populates BudgetConstructionAccountSelect with accounts that are above the user's current point of view and returns the number of rows inserted (which equates to number of accounts above).
 void cleanAccountSelectPullList(String principalName)
          This method depopulates BudgetConstructionAccountSelect rows associated with the user.
 

Method Detail

buildAccountSelectPullList

int buildAccountSelectPullList(String principalName,
                               Integer universityFiscalYear)
This method populates BudgetConstructionAccountSelect with rows associated with a set of selected organizations in the Organization Tree for the user and where Budget Documents exist.

Parameters:
principalName -
universityFiscalYear -

buildBudgetedAccountsAbovePointsOfView

int buildBudgetedAccountsAbovePointsOfView(String principalName,
                                           Integer universityFiscalYear,
                                           String chartOfAccountsCode,
                                           String organizationCode)
Populates BudgetConstructionAccountSelect with accounts that are above the user's current point of view and returns the number of rows inserted (which equates to number of accounts above).

Parameters:
principalName - user who we are building the list for
universityFiscalYear - budget year for records to look at
chartOfAccountsCode - chart code of user's current point of view
organizationCode - organization code of user's current point of view
Returns:
int number of rows inserted

buildAccountManagerDelegateList

int buildAccountManagerDelegateList(String principalName,
                                    Integer universityFiscalYear)
Populates BudgetConstructionAccountSelect with accounts that the given user is a manager or delegate for. Returns the number of rows inserted.

Parameters:
principalName - manager or delegate universal identifier
universityFiscalYear - budget fiscal year

cleanAccountSelectPullList

void cleanAccountSelectPullList(String principalName)
This method depopulates BudgetConstructionAccountSelect rows associated with the user.

Parameters:
principalName -


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.