org.kuali.kfs.module.bc.document.service.impl
Class OrganizationBCDocumentSearchServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.bc.document.service.impl.OrganizationBCDocumentSearchServiceImpl
All Implemented Interfaces:
OrganizationBCDocumentSearchService

@Transactional
public class OrganizationBCDocumentSearchServiceImpl
extends Object
implements OrganizationBCDocumentSearchService

This class...


Constructor Summary
OrganizationBCDocumentSearchServiceImpl()
           
 
Method Summary
 int buildAccountManagerDelegateList(String principalName, Integer universityFiscalYear)
          Builds temporary table 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, Integer universityFiscalYear)
          This method depopulates BudgetConstructionAccountSelect rows associated with the user.
 void setOrganizationBCDocumentSearchDao(OrganizationBCDocumentSearchDao organizationBCDocumentSearchDao)
          Sets the organizationBCDocumentSearchDao attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationBCDocumentSearchServiceImpl

public OrganizationBCDocumentSearchServiceImpl()
Method Detail

buildAccountSelectPullList

public int buildAccountSelectPullList(String principalName,
                                      Integer universityFiscalYear)
Description copied from interface: OrganizationBCDocumentSearchService
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.

Specified by:
buildAccountSelectPullList in interface OrganizationBCDocumentSearchService
See Also:
OrganizationBCDocumentSearchService.buildAccountSelectPullList(java.lang.String, java.lang.Integer)

buildBudgetedAccountsAbovePointsOfView

public int buildBudgetedAccountsAbovePointsOfView(String principalName,
                                                  Integer universityFiscalYear,
                                                  String chartOfAccountsCode,
                                                  String organizationCode)
Description copied from interface: OrganizationBCDocumentSearchService
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).

Specified by:
buildBudgetedAccountsAbovePointsOfView in interface OrganizationBCDocumentSearchService
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
See Also:
OrganizationBCDocumentSearchService.buildBudgetedAccountsAbovePointsOfView(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String)

buildAccountManagerDelegateList

public int buildAccountManagerDelegateList(String principalName,
                                           Integer universityFiscalYear)
Description copied from interface: OrganizationBCDocumentSearchService
Builds temporary table with accounts that the given user is a manager or delegate for. Returns the number of rows inserted.

Specified by:
buildAccountManagerDelegateList in interface OrganizationBCDocumentSearchService
Parameters:
principalName - manager or delegate universal identifier
universityFiscalYear - budget fiscal year
See Also:
OrganizationBCDocumentSearchService.buildAccountManagerDelegateList(java.lang.String, java.lang.Integer)

cleanAccountSelectPullList

public void cleanAccountSelectPullList(String principalName,
                                       Integer universityFiscalYear)
Description copied from interface: OrganizationBCDocumentSearchService
This method depopulates BudgetConstructionAccountSelect rows associated with the user.

Specified by:
cleanAccountSelectPullList in interface OrganizationBCDocumentSearchService
See Also:
OrganizationBCDocumentSearchService.cleanAccountSelectPullList(java.lang.String, java.lang.Integer)

setOrganizationBCDocumentSearchDao

public void setOrganizationBCDocumentSearchDao(OrganizationBCDocumentSearchDao organizationBCDocumentSearchDao)
Sets the organizationBCDocumentSearchDao attribute value.

Parameters:
organizationBCDocumentSearchDao - The organizationBCDocumentSearchDao to set.


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