org.kuali.kfs.coa.service
Interface SubFundGroupService

All Known Implementing Classes:
SubFundGroupServiceImpl

public interface SubFundGroupService

This service interface defines methods necessary for retrieving fully populated SubFundGroup business objects from the database that are necessary for transaction processing in the application.


Method Summary
 SubFundGroup getByChartAndAccount(String chartCode, String accountNumber)
          Retrieves the SubFundGroupCode for the Account with the given chart and account codes.
 SubFundGroup getByPrimaryId(String subFundGroupCode)
          Retrieves a SubFundGroupCode by it's primary key - the sub fund group code.
 String getContractsAndGrantsDenotingAttributeLabel()
          This retrieves the attribute label for Contracts and Grants
 String getContractsAndGrantsDenotingValue(SubFundGroup subFundGroup)
          Extracts the appropriate value from the sub fund group for the C&G method selected.
 String getContractsAndGrantsDenotingValueForMessage()
          This retrieves the SubFundGroupCodes of Contracts and Grants
 List<String> getContractsAndGrantsDenotingValues()
          This check is the specified code is related to Contracts and Grants
 boolean isForContractsAndGrants(SubFundGroup subFundGroup)
          This checks to see if a particular SubFundGroup is related to Contracts and Grants through its Account
 

Method Detail

getByPrimaryId

SubFundGroup getByPrimaryId(String subFundGroupCode)
Retrieves a SubFundGroupCode by it's primary key - the sub fund group code.

Parameters:
subFundGroupCode -
Returns:
the sub fund group specfied by its code

getByChartAndAccount

SubFundGroup getByChartAndAccount(String chartCode,
                                  String accountNumber)
Retrieves the SubFundGroupCode for the Account with the given chart and account codes.

Parameters:
chartCode -
accountNumber -
Returns:
the sub fund group specified by a chart and and account number

isForContractsAndGrants

boolean isForContractsAndGrants(SubFundGroup subFundGroup)
This checks to see if a particular SubFundGroup is related to Contracts and Grants through its Account

Parameters:
subFundGroup -
Returns:
true if it is for contracts and grants

getContractsAndGrantsDenotingAttributeLabel

String getContractsAndGrantsDenotingAttributeLabel()
This retrieves the attribute label for Contracts and Grants

Returns:
string representation of Contracts and Grants label

getContractsAndGrantsDenotingValue

String getContractsAndGrantsDenotingValue(SubFundGroup subFundGroup)
Extracts the appropriate value from the sub fund group for the C&G method selected.

Parameters:
subFundGroup -
Returns:
string representation of either Fund Group code or SubFund Group code

getContractsAndGrantsDenotingValues

List<String> getContractsAndGrantsDenotingValues()
This check is the specified code is related to Contracts and Grants

Returns:
string representation of the Contracts and Grants value

getContractsAndGrantsDenotingValueForMessage

String getContractsAndGrantsDenotingValueForMessage()
This retrieves the SubFundGroupCodes of Contracts and Grants

Returns:
string representation of Contracts and Grants value formatted for messages This method...


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