| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CurrentTaxLotService
| Method Summary | |
|---|---|
|  void | clearAllCurrentTaxLotRecords()clears all the records from the CurrentTaxLotBalance table. | 
|  CurrentTaxLotBalance | copyHoldingTaxLotToCurrentTaxLotBalance(HoldingTaxLot holdingTaxLot)Method to copy HoldingTaxLot record to currentTaxLotBalance record | 
|  Collection<CurrentTaxLotBalance> | getAllCurrentTaxLotBalance()Retrieves all the records from END_CURR_TAX_LOT_BAL_T | 
|  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 | 
|  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. | 
|  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 | 
|  BigDecimal | getRemainderOfFiscalYearEstimatedIncome(HoldingTaxLot holdingTaxLot,
                                                                               String securityId)Method to calculate remainder of fiscal year estimated income | 
|  void | updateCurrentTaxLotBalance(CurrentTaxLotBalance currentTaxLotBalance)updates a current tax lot | 
| Method Detail | 
|---|
CurrentTaxLotBalance getByPrimaryKey(String kemid,
                                     String securityId,
                                     String registrationCode,
                                     org.kuali.rice.kns.util.KualiInteger lotNumber,
                                     String ipIndicator)
kemid - securityId - registrationCode - lotNumber - ipIndicator - 
Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesBySecurityId(String securityId)
securityId - 
Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesForMatchingSecurityClassCode(String securityClassCode)
securityClassCode, - securityId
Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesForMatchingSecurityClassCodeAndSecurityId(String securityClassCode,
                                                                                                   String securityId)
securityClassCode, - securityId
Collection<CurrentTaxLotBalance> getCurrentTaxLotBalancesByIncomePrincipalIndicator(String incomePrincipalIndicator)
incomePrincipalIndicator - 
void updateCurrentTaxLotBalance(CurrentTaxLotBalance currentTaxLotBalance)
currentTaxLotBalances - void clearAllCurrentTaxLotRecords()
CurrentTaxLotBalance copyHoldingTaxLotToCurrentTaxLotBalance(HoldingTaxLot holdingTaxLot)
holdingTaxLot - 
BigDecimal getCurrentTaxLotBalanceSecurityUnitValue(String securityId)
securityId - 
BigDecimal getNextTwelveMonthsEstimatedValue(HoldingTaxLot holdingTaxLot,
                                             String securityId)
securityId - 
BigDecimal getRemainderOfFiscalYearEstimatedIncome(HoldingTaxLot holdingTaxLot,
                                                   String securityId)
securityId - 
BigDecimal getNextFiscalYearInvestmentIncome(HoldingTaxLot holdingTaxLot,
                                             String securityId)
securityId - 
BigDecimal getHoldingMarketValueSumForSecurity(String securityId)
securityId - the security for which we return the sum
Collection<CurrentTaxLotBalance> getAllCurrentTaxLotBalance()
BigDecimal getHoldingMarketValue(HoldingTaxLot holdingTaxLot,
                                 String securityId)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||