org.kuali.kfs.module.bc.document.service
Interface BudgetOrganizationTreeService

All Known Implementing Classes:
BudgetOrganizationTreeServiceImpl

public interface BudgetOrganizationTreeService

This interface defines methods that manipulate objects used by the Organization Selection screens. Manipulated objects include BudgetConstructionPullup with methods that populate and depopulate the associated table for a specific user.


Method Summary
 void buildPullup(String principalName, String chartOfAccountsCode, String organizationCode)
          This method populates BudgetConstructionPullup with rows that represent the subtree of the passed in point of view organization for a user.
 void buildPullupSql(String principalName, String chartOfAccountsCode, String organizationCode)
          This method populates BudgetConstructionPullup with rows that represent the subtree of the passed in point of view organization for a user.
 void cleanPullup(String principalName)
          This method depopulates BudgetConstructionPullup of any rows associated with the user
 List<BudgetConstructionPullup> getPullupChildOrgs(String principalId, String chartOfAccountsCode, String organizationCode)
          This method returns a list of child organizations for the passed in organization and user
 List<BudgetConstructionPullup> getSelectedOrgs(String principalId)
          This method returns a list of selected BudgetConstructionPullup rows for the user.
 void resetPullFlag(String principalId)
          This method resets the pullflag for the BudgetConstructionPullup set of records owned by the user
 

Method Detail

buildPullup

void buildPullup(String principalName,
                 String chartOfAccountsCode,
                 String organizationCode)
This method populates BudgetConstructionPullup with rows that represent the subtree of the passed in point of view organization for a user. All organizations reporting to the point of view are inserted.

Parameters:
principalName -
chartOfAccountsCode -
organizationCode -

buildPullupSql

void buildPullupSql(String principalName,
                    String chartOfAccountsCode,
                    String organizationCode)
This method populates BudgetConstructionPullup with rows that represent the subtree of the passed in point of view organization for a user. All organizations reporting to the point of view are inserted. This uses raw SQL

Parameters:
principalName -
chartOfAccountsCode -
organizationCode -

cleanPullup

void cleanPullup(String principalName)
This method depopulates BudgetConstructionPullup of any rows associated with the user

Parameters:
principalName -

getPullupChildOrgs

List<BudgetConstructionPullup> getPullupChildOrgs(String principalId,
                                                  String chartOfAccountsCode,
                                                  String organizationCode)
This method returns a list of child organizations for the passed in organization and user

Parameters:
principalId -
chartOfAccountsCode -
organizationCode -
Returns:

resetPullFlag

void resetPullFlag(String principalId)
This method resets the pullflag for the BudgetConstructionPullup set of records owned by the user

Parameters:
principalId -

getSelectedOrgs

List<BudgetConstructionPullup> getSelectedOrgs(String principalId)
This method returns a list of selected BudgetConstructionPullup rows for the user.

Parameters:
principalId -
Returns:


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