org.kuali.kfs.module.endow.document.service.impl
Class CurrentTaxLotServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.endow.document.service.impl.CurrentTaxLotServiceImpl
All Implemented Interfaces:
CurrentTaxLotService

@Transactional
public class CurrentTaxLotServiceImpl
extends Object
implements CurrentTaxLotService

Implementation to provide services for CurrentTaxLotBalance business object.


Field Summary
protected  org.kuali.rice.kns.service.BusinessObjectService businessObjectService
           
protected  CurrentTaxLotBalanceDao currentTaxLotBalanceDao
           
protected  KEMService kEMService
           
protected  SecurityService securityService
           
protected  TransactionArchiveDao transactionArchiveDao
           
 
Constructor Summary
CurrentTaxLotServiceImpl()
           
 
Method Summary
protected  Date calculateLastPaymentAnnuallyDate(Date currentDate, Date fiscalYearEndDate, String dayOfMonth, String month)
          Method to calculate the last payment date for Annually frequency code
protected  Date calculateLastPaymentMonthlyDate(Date currentDate, Date fiscalYearEndDate, String dayOfMonth)
          Method to calculate the last payment date for semimonthly frequency code
protected  Date calculateLastPaymentQuarterlyDate(Date currentDate, Date fiscalYearEndDate, String dayOfMonth, String month)
          Method to calculate the last payment date for quarterly frequency code
protected  Date calculateLastPaymentSemiAnnuallyDate(Date currentDate, Date fiscalYearEndDate, String dayOfMonth, String month)
          Method to calculate the last payment date for SemiAnnually frequency code
protected  Date calculateLastPaymentSemiMonthlyDate(Date currentDate, Date fiscalYearEndDate, String dayOfSemiMonthly)
          Method to calculate the last payment date for semimonthly frequency code
protected  Date calculateLastPaymentWeekDate(Date currentDate, Date fiscalYearEndDate)
          Method to calculate the last payment date for WEEKLY frequency code
protected  int checkMaximumDaysInFebruary()
          This method will check and return either maximum days in the month as 28 or 29 for leap year.
protected  int checkMaximumDaysInMonth(int monthNumber)
          This method will check and return maximum days in a month.
 void clearAllCurrentTaxLotRecords()
          clears all the records from the CurrentTaxLotBalance table.
 CurrentTaxLotBalance copyHoldingTaxLotToCurrentTaxLotBalance(HoldingTaxLot holdingTaxLot)
          Service Method to create a new current tax lot balance record and copy HoldingTaxLot record to it
 Collection<CurrentTaxLotBalance> getAllCurrentTaxLotBalance()
          Retrieves all the records from END_CURR_TAX_LOT_BAL_T
protected  org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
          Gets the businessObjectService.
 CurrentTaxLotBalance getByPrimaryKey(String kemid, String securityId, String registrationCode, org.kuali.rice.kns.util.KualiInteger lotNumber, String ipIndicator)
          Gets a current tax lot based on primary keys: kemid, security id, registration code, lot number and IP indicator.
 Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesByIncomePrincipalIndicator(String incomePrincipalIndicator)
          Gets matching records from END_CRNT_TAX_LOT_BAL_T table
 Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesBySecurityId(String securityId)
          Gets matching records from END_CRNT_TAX_LOT_BAL_T table
 BigDecimal getCurrentTaxLotBalanceSecurityUnitValue(String securityId)
          Method to get the security unit value for the current balance tax lot record
 Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesForMatchingSecurityClassCode(String securityClassCode)
          Gets matching records from END_CRNT_TAX_LOT_BAL_T table
 Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesForMatchingSecurityClassCodeAndSecurityId(String securityClassCode, String securityId)
          Gets matching records from END_CRNT_TAX_LOT_BAL_T table
protected  Date getFiscalYearEndDate()
          Helper method to get the system parameter FISCAL_YEAR_END_DAY_AND_MONTH and convert the value into a date value
 BigDecimal getHoldingMarketValue(HoldingTaxLot holdingTaxLot, String securityId)
          Gets the holding market value as follows: Class type code = B => MV = Units x Unit value / 100 Class type code = A => Market Valuation (END_SEC_T: SEC_VAL_BY_MKT) minus the total cash activity (income and principal) since the last value date (END_SEC_T: SEC_VAL_DT) Class type code = O => Units x Unit value
 BigDecimal getHoldingMarketValueSumForSecurity(String securityId)
          Gets the Sum of the HLDG _MVAL for all records for the Security in END_CURR_TAX_LOT_BAL_T.
protected  KEMService getkEMService()
          gets the kEMService.
protected  Date getLastPaymentDate(String incomePayFrequency, Date fiscalYearEndDate)
          Helper method to examine the SEC_INC_PAY_FREQ and determine the date of the last payment to be made in the fiscal year.
 BigDecimal getNextFiscalYearInvestmentIncome(HoldingTaxLot holdingTaxLot, String securityId)
          Method to calculate next fiscal year investment income
 BigDecimal getNextTwelveMonthsEstimatedValue(HoldingTaxLot holdingTaxLot, String securityId)
          Method to calculate Next Twelve Months Estimated value
protected  int getNumberOfMonthsRemaining(Date fiscalYearEndDate, Date nextIncomeDueDate)
          Helper method to calculate the number of months
protected  long getNumberOfPaymentsRemainingForAnnuallyDate(Date nextIncomeDueDate, Date lastPaymentDate, String dayOfMonth, String month)
          Method to calculate the last payment date for Annually frequency code
protected  long getNumberOfPaymentsRemainingForMonthlyFrequency(Date nextIncomeDueDate, Date lastPaymentDate, String dayOfMonth)
          Method to calculate the last payment date for monthly frequency code
protected  long getNumberOfPaymentsRemainingForQuarterlyFrequency(Date nextIncomeDueDate, Date lastPaymentDate, String dayOfMonth, String month)
          Method to calculate the last payment date for quarterly frequency code
protected  long getNumberOfPaymentsRemainingForSemiAnnuallyDate(Date nextIncomeDueDate, Date lastPaymentDate, String dayOfMonth, String month)
          Method to calculate the last payment date for SemiAnnually frequency code
protected  int getQuartersLeftToFiscalYear(Date fiscalYearEndDate)
          Helper method to calculate the quarter number of the fiscal year.
 BigDecimal getRemainderOfFiscalYearEstimatedIncome(HoldingTaxLot holdingTaxLot, String securityId)
          Method to calculate remainder of fiscal year estimated income
protected  BigDecimal getRemainderOfFiscalYearEstimatedIncomeForBonds(Security security, HoldingTaxLot holdingTaxLot)
          calculates the remainder of fiscal year estimated income for bonds
protected  BigDecimal getRemainderOfFiscalYearEstimatedIncomeForCash(Security security, HoldingTaxLot holdingTaxLot)
          calculates the remainder of fiscal year estimated income for cash
protected  BigDecimal getRemainderOfFiscalYearEstimatedIncomeForPooledFunds(Security security, HoldingTaxLot holdingTaxLot)
          calculates the remainder of fiscal year estimated income for pooled funds
protected  BigDecimal getRemainderOfFiscalYearEstimatedIncomeForStocks(Security security, HoldingTaxLot holdingTaxLot)
          calculates the remainder of fiscal year estimated income for stocks
protected  SecurityService getSecurityService()
          Gets the securityService.
protected  long getTotalDaysToLastPayment(Date lastPaymentDate, Date nextIncomeDueDate)
          Helper method to calculate the number of days to the last payment
protected  long getTotalPaymentsRemaining(Date lastPaymentDate, Date fiscalYearEndDate, String incomePayFrequency, Date nextIncomeDueDate)
          Helper method to calculate the remaining payments till the last payment date for the fiscal year
protected  TransactionArchiveDao getTransactionArchiveDao()
          Gets the transactionArchiveDao attribute.
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService.
protected  Calendar setCaledarWithMonth(String month, Date lastPaymentDate)
          This method will check the current month and set the calendar to that month
protected  void setCalendarWithDays(Calendar calendar, String dayOfMonth)
          This method will check the current month and set the calendar to that month
 void setCurrentTaxLotBalanceDao(CurrentTaxLotBalanceDao currentTaxLotBalanceDao)
           
 void setkEMService(KEMService kEMService)
          Sets the kEMService.
 void setSecurityService(SecurityService securityService)
          Sets the securityService.
 void setTransactionArchiveDao(TransactionArchiveDao transactionArchiveDao)
          Sets the transactionArchiveDao attribute value.
 void updateCurrentTaxLotBalance(CurrentTaxLotBalance currentTaxLotBalance)
          updates a current tax lot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

businessObjectService

protected org.kuali.rice.kns.service.BusinessObjectService businessObjectService

securityService

protected SecurityService securityService

kEMService

protected KEMService kEMService

currentTaxLotBalanceDao

protected CurrentTaxLotBalanceDao currentTaxLotBalanceDao

transactionArchiveDao

protected TransactionArchiveDao transactionArchiveDao
Constructor Detail

CurrentTaxLotServiceImpl

public CurrentTaxLotServiceImpl()
Method Detail

getByPrimaryKey

public CurrentTaxLotBalance getByPrimaryKey(String kemid,
                                            String securityId,
                                            String registrationCode,
                                            org.kuali.rice.kns.util.KualiInteger lotNumber,
                                            String ipIndicator)
Description copied from interface: CurrentTaxLotService
Gets a current tax lot based on primary keys: kemid, security id, registration code, lot number and IP indicator.

Specified by:
getByPrimaryKey in interface CurrentTaxLotService
Returns:
the corresponding tax lot
See Also:
org.kuali.kfs.module.endow.document.service.CurrentTaxLotService#getByPrimaryKey(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String)

getCurrentTaxLotBalancesForMatchingSecurityClassCode

public Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesForMatchingSecurityClassCode(String securityClassCode)
Description copied from interface: CurrentTaxLotService
Gets matching records from END_CRNT_TAX_LOT_BAL_T table

Specified by:
getCurrentTaxLotBalancesForMatchingSecurityClassCode in interface CurrentTaxLotService
Returns:
currentTaxLotBal Records from the table matching the securityClassCode, securityId

getCurrentTaxLotBalancesForMatchingSecurityClassCodeAndSecurityId

public Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesForMatchingSecurityClassCodeAndSecurityId(String securityClassCode,
                                                                                                          String securityId)
Description copied from interface: CurrentTaxLotService
Gets matching records from END_CRNT_TAX_LOT_BAL_T table

Specified by:
getCurrentTaxLotBalancesForMatchingSecurityClassCodeAndSecurityId in interface CurrentTaxLotService
Returns:
currentTaxLotBal Records from the table matching the securityClassCode, securityId

getCurrentTaxLotBalancesBySecurityId

public Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesBySecurityId(String securityId)
Description copied from interface: CurrentTaxLotService
Gets matching records from END_CRNT_TAX_LOT_BAL_T table

Specified by:
getCurrentTaxLotBalancesBySecurityId in interface CurrentTaxLotService
Returns:
currentTaxLotBal Records from the table matching the securityId

getCurrentTaxLotBalancesByIncomePrincipalIndicator

public Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesByIncomePrincipalIndicator(String incomePrincipalIndicator)
Description copied from interface: CurrentTaxLotService
Gets matching records from END_CRNT_TAX_LOT_BAL_T table

Specified by:
getCurrentTaxLotBalancesByIncomePrincipalIndicator in interface CurrentTaxLotService
Returns:
currentTaxLotBalances Records from the table matching the incomePrincipalIndicator

getAllCurrentTaxLotBalance

public Collection<CurrentTaxLotBalance> getAllCurrentTaxLotBalance()
Description copied from interface: CurrentTaxLotService
Retrieves all the records from END_CURR_TAX_LOT_BAL_T

Specified by:
getAllCurrentTaxLotBalance in interface CurrentTaxLotService
Returns:
currentBalances

copyHoldingTaxLotToCurrentTaxLotBalance

public CurrentTaxLotBalance copyHoldingTaxLotToCurrentTaxLotBalance(HoldingTaxLot holdingTaxLot)
Service Method to create a new current tax lot balance record and copy HoldingTaxLot record to it

Specified by:
copyHoldingTaxLotToCurrentTaxLotBalance in interface CurrentTaxLotService
Parameters:
holdingTaxLot -
Returns:
currentTaxLotBalance

updateCurrentTaxLotBalance

public void updateCurrentTaxLotBalance(CurrentTaxLotBalance currentTaxLotBalance)
Description copied from interface: CurrentTaxLotService
updates a current tax lot

Specified by:
updateCurrentTaxLotBalance in interface CurrentTaxLotService
See Also:
org.kuali.kfs.module.endow.document.service.CurrentTaxLotService#getByPrimaryKey(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String)

clearAllCurrentTaxLotRecords

public void clearAllCurrentTaxLotRecords()
Description copied from interface: CurrentTaxLotService
clears all the records from the CurrentTaxLotBalance table.

Specified by:
clearAllCurrentTaxLotRecords in interface CurrentTaxLotService
See Also:
clears all the records from the CurrentTaxLotBalance table.

getCurrentTaxLotBalanceSecurityUnitValue

public BigDecimal getCurrentTaxLotBalanceSecurityUnitValue(String securityId)
Description copied from interface: CurrentTaxLotService
Method to get the security unit value for the current balance tax lot record

Specified by:
getCurrentTaxLotBalanceSecurityUnitValue in interface CurrentTaxLotService
Parameters:
securityId -
Returns:
securityUnitValue
See Also:
Method to get the security unit value for the current balance tax lot record

getNextTwelveMonthsEstimatedValue

public BigDecimal getNextTwelveMonthsEstimatedValue(HoldingTaxLot holdingTaxLot,
                                                    String securityId)
Description copied from interface: CurrentTaxLotService
Method to calculate Next Twelve Months Estimated value

Specified by:
getNextTwelveMonthsEstimatedValue in interface CurrentTaxLotService
Parameters:
securityId -
Returns:
nextTwelveMonthsEstimatedValue
See Also:
Method to calculate Next Twelve Months Estimated value

getRemainderOfFiscalYearEstimatedIncome

public BigDecimal getRemainderOfFiscalYearEstimatedIncome(HoldingTaxLot holdingTaxLot,
                                                          String securityId)
Description copied from interface: CurrentTaxLotService
Method to calculate remainder of fiscal year estimated income

Specified by:
getRemainderOfFiscalYearEstimatedIncome in interface CurrentTaxLotService
Parameters:
securityId -
Returns:
remainderOfFiscalYearEstimatedIncome
See Also:
Method to calculate remainder of fiscal year estimated income

getNextFiscalYearInvestmentIncome

public BigDecimal getNextFiscalYearInvestmentIncome(HoldingTaxLot holdingTaxLot,
                                                    String securityId)
Description copied from interface: CurrentTaxLotService
Method to calculate next fiscal year investment income

Specified by:
getNextFiscalYearInvestmentIncome in interface CurrentTaxLotService
Parameters:
securityId -
Returns:
nextFiscalyearInvestmentIncome
See Also:
Method to calculate next fiscal year investment income

getRemainderOfFiscalYearEstimatedIncomeForBonds

protected BigDecimal getRemainderOfFiscalYearEstimatedIncomeForBonds(Security security,
                                                                     HoldingTaxLot holdingTaxLot)
calculates the remainder of fiscal year estimated income for bonds

Parameters:
security -
holdingTaxLot -
Returns:
amount

getNumberOfMonthsRemaining

protected int getNumberOfMonthsRemaining(Date fiscalYearEndDate,
                                         Date nextIncomeDueDate)
Helper method to calculate the number of months

Parameters:
fiscalYearEndDate -
nextIncomeDueDate -
Returns:
numberOfMonths

getFiscalYearEndDate

protected Date getFiscalYearEndDate()
Helper method to get the system parameter FISCAL_YEAR_END_DAY_AND_MONTH and convert the value into a date value


getRemainderOfFiscalYearEstimatedIncomeForCash

protected BigDecimal getRemainderOfFiscalYearEstimatedIncomeForCash(Security security,
                                                                    HoldingTaxLot holdingTaxLot)
calculates the remainder of fiscal year estimated income for cash

Parameters:
security -
holdingTaxLot -
Returns:
amount

getTotalDaysToLastPayment

protected long getTotalDaysToLastPayment(Date lastPaymentDate,
                                         Date nextIncomeDueDate)
Helper method to calculate the number of days to the last payment


getLastPaymentDate

protected Date getLastPaymentDate(String incomePayFrequency,
                                  Date fiscalYearEndDate)
Helper method to examine the SEC_INC_PAY_FREQ and determine the date of the last payment to be made in the fiscal year.


calculateLastPaymentWeekDate

protected Date calculateLastPaymentWeekDate(Date currentDate,
                                            Date fiscalYearEndDate)
Method to calculate the last payment date for WEEKLY frequency code

Parameters:
currentDate, - fiscalYearEndDate
Returns:
lastPaymentDate

calculateLastPaymentSemiMonthlyDate

protected Date calculateLastPaymentSemiMonthlyDate(Date currentDate,
                                                   Date fiscalYearEndDate,
                                                   String dayOfSemiMonthly)
Method to calculate the last payment date for semimonthly frequency code

Parameters:
currentDate, - fiscalYearEndDate, dayOfSemiMonthly
Returns:
lastPaymentDate

calculateLastPaymentMonthlyDate

protected Date calculateLastPaymentMonthlyDate(Date currentDate,
                                               Date fiscalYearEndDate,
                                               String dayOfMonth)
Method to calculate the last payment date for semimonthly frequency code

Parameters:
currentDate, - fiscalYearEndDate, dayOfMonth
Returns:
lastPaymentDate

calculateLastPaymentQuarterlyDate

protected Date calculateLastPaymentQuarterlyDate(Date currentDate,
                                                 Date fiscalYearEndDate,
                                                 String dayOfMonth,
                                                 String month)
Method to calculate the last payment date for quarterly frequency code

Parameters:
currentDate, - fiscalYearEndDate, dayOfMonth
Returns:
lastPaymentDate

calculateLastPaymentSemiAnnuallyDate

protected Date calculateLastPaymentSemiAnnuallyDate(Date currentDate,
                                                    Date fiscalYearEndDate,
                                                    String dayOfMonth,
                                                    String month)
Method to calculate the last payment date for SemiAnnually frequency code

Parameters:
currentDate, - fiscalYearEndDate, dayOfMonth
Returns:
lastPaymentDate

calculateLastPaymentAnnuallyDate

protected Date calculateLastPaymentAnnuallyDate(Date currentDate,
                                                Date fiscalYearEndDate,
                                                String dayOfMonth,
                                                String month)
Method to calculate the last payment date for Annually frequency code

Parameters:
currentDate, - fiscalYearEndDate, dayOfMonth
Returns:
lastPaymentDate

setCaledarWithMonth

protected Calendar setCaledarWithMonth(String month,
                                       Date lastPaymentDate)
This method will check the current month and set the calendar to that month

Parameters:
month - month to set the calendar, currentDate currentDate
Returns:
calendar calendar is set to the month selected

setCalendarWithDays

protected void setCalendarWithDays(Calendar calendar,
                                   String dayOfMonth)
This method will check the current month and set the calendar to that month

Parameters:
month, - dayOfMonth month to set the calendar, dayOfMonth day of the month to set to

checkMaximumDaysInFebruary

protected int checkMaximumDaysInFebruary()
This method will check and return either maximum days in the month as 28 or 29 for leap year. It first sets the month to February and then checks the maximum days..

Returns:
maxDays Maximum number of days in the month of February for calendar.

checkMaximumDaysInMonth

protected int checkMaximumDaysInMonth(int monthNumber)
This method will check and return maximum days in a month.

Parameters:
monthNumber - The number of the month to test for maximum days..
Returns:
maxDays Maximum number of days in the month of February for calendar.

getRemainderOfFiscalYearEstimatedIncomeForPooledFunds

protected BigDecimal getRemainderOfFiscalYearEstimatedIncomeForPooledFunds(Security security,
                                                                           HoldingTaxLot holdingTaxLot)
calculates the remainder of fiscal year estimated income for pooled funds

Parameters:
security -
holdingTaxLot -
Returns:
amount

getTotalPaymentsRemaining

protected long getTotalPaymentsRemaining(Date lastPaymentDate,
                                         Date fiscalYearEndDate,
                                         String incomePayFrequency,
                                         Date nextIncomeDueDate)
Helper method to calculate the remaining payments till the last payment date for the fiscal year

Parameters:
lastPaymentDate, - fiscalYearEndDate, incomePayFrequency
Returns:
totalPaymentsRemaining

getNumberOfPaymentsRemainingForMonthlyFrequency

protected long getNumberOfPaymentsRemainingForMonthlyFrequency(Date nextIncomeDueDate,
                                                               Date lastPaymentDate,
                                                               String dayOfMonth)
Method to calculate the last payment date for monthly frequency code

Parameters:
currentDate, - fiscalYearEndDate, dayOfMonth
Returns:
totalPayments

getNumberOfPaymentsRemainingForQuarterlyFrequency

protected long getNumberOfPaymentsRemainingForQuarterlyFrequency(Date nextIncomeDueDate,
                                                                 Date lastPaymentDate,
                                                                 String dayOfMonth,
                                                                 String month)
Method to calculate the last payment date for quarterly frequency code

Parameters:
currentDate, - fiscalYearEndDate, dayOfMonth
Returns:
lastPaymentDate

getNumberOfPaymentsRemainingForSemiAnnuallyDate

protected long getNumberOfPaymentsRemainingForSemiAnnuallyDate(Date nextIncomeDueDate,
                                                               Date lastPaymentDate,
                                                               String dayOfMonth,
                                                               String month)
Method to calculate the last payment date for SemiAnnually frequency code

Parameters:
currentDate, - fiscalYearEndDate, dayOfMonth
Returns:
lastPaymentDate

getNumberOfPaymentsRemainingForAnnuallyDate

protected long getNumberOfPaymentsRemainingForAnnuallyDate(Date nextIncomeDueDate,
                                                           Date lastPaymentDate,
                                                           String dayOfMonth,
                                                           String month)
Method to calculate the last payment date for Annually frequency code

Parameters:
currentDate, - fiscalYearEndDate, dayOfMonth
Returns:
lastPaymentDate

getRemainderOfFiscalYearEstimatedIncomeForStocks

protected BigDecimal getRemainderOfFiscalYearEstimatedIncomeForStocks(Security security,
                                                                      HoldingTaxLot holdingTaxLot)
calculates the remainder of fiscal year estimated income for stocks

Parameters:
security -
holdingTaxLot -
Returns:
amount

getQuartersLeftToFiscalYear

protected int getQuartersLeftToFiscalYear(Date fiscalYearEndDate)
Helper method to calculate the quarter number of the fiscal year.

Parameters:
nextIncomeDueDate -
Returns:
quarterOfFiscalYear

getHoldingMarketValueSumForSecurity

public BigDecimal getHoldingMarketValueSumForSecurity(String securityId)
Description copied from interface: CurrentTaxLotService
Gets the Sum of the HLDG _MVAL for all records for the Security in END_CURR_TAX_LOT_BAL_T.

Specified by:
getHoldingMarketValueSumForSecurity in interface CurrentTaxLotService
Parameters:
securityId - the security for which we return the sum
Returns:
the Sum of the HLDG _MVAL for all records for the Security
See Also:
CurrentTaxLotService.getHoldingMarketValueSumForSecurity(java.lang.String)

getHoldingMarketValue

public BigDecimal getHoldingMarketValue(HoldingTaxLot holdingTaxLot,
                                        String securityId)
Description copied from interface: CurrentTaxLotService
Gets the holding market value as follows: Class type code = B => MV = Units x Unit value / 100 Class type code = A => Market Valuation (END_SEC_T: SEC_VAL_BY_MKT) minus the total cash activity (income and principal) since the last value date (END_SEC_T: SEC_VAL_DT) Class type code = O => Units x Unit value

Specified by:
getHoldingMarketValue in interface CurrentTaxLotService
See Also:
CurrentTaxLotService.getHoldingMarketValue(HoldingTaxLot, String)

getBusinessObjectService

protected org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
Gets the businessObjectService.

Returns:
businessObjectService

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService.

Parameters:
businessObjectService -

getSecurityService

protected SecurityService getSecurityService()
Gets the securityService.

Returns:
securityService

setSecurityService

public void setSecurityService(SecurityService securityService)
Sets the securityService.

Parameters:
securityService -

getkEMService

protected KEMService getkEMService()
gets the kEMService.

Parameters:
kEMService -

setkEMService

public void setkEMService(KEMService kEMService)
Sets the kEMService.

Parameters:
kEMService -

setCurrentTaxLotBalanceDao

public void setCurrentTaxLotBalanceDao(CurrentTaxLotBalanceDao currentTaxLotBalanceDao)

getTransactionArchiveDao

protected TransactionArchiveDao getTransactionArchiveDao()
Gets the transactionArchiveDao attribute.

Returns:
Returns the transactionArchiveDao.

setTransactionArchiveDao

public void setTransactionArchiveDao(TransactionArchiveDao transactionArchiveDao)
Sets the transactionArchiveDao attribute value.

Parameters:
transactionArchiveDao - The transactionArchiveDao to set.


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