|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HoldingTaxLotService
Method Summary | |
---|---|
List<HoldingTaxLot> |
getAllTaxLots()
Gets all tax lots. |
List<HoldingTaxLot> |
getAllTaxLots(String kemid,
String securityId,
String registrationCode,
String ipIndicator)
Gets the holding tax lot based on the following criteria: kemid, security id, registration code, and IP indicator. |
List<HoldingTaxLot> |
getAllTaxLotsByKemIdAdndIPIndicator(String kemid,
String ipIndicator)
Gets all tax lots on the following criteria: kemi and IPindicator. |
List<HoldingTaxLot> |
getAllTaxLotsOrderByAcquiredDate(String kemid,
String securityId,
String registrationCode,
String ipIndicator,
boolean sortAscending)
Gets the holding tax lot based on the following criteria: kemid, security id, registration code, and IP indicator and orders them ascending or descending based on the acquired date. |
List<HoldingTaxLot> |
getAllTaxLotsWithAccruedIncomeGreaterThanZeroPerSecurity(String securityId)
Get all tax lots for the given security that have an accrued income greater than zero. |
List<HoldingTaxLot> |
getAllTaxLotsWithPositiveCost(String kemid,
String securityId,
String registrationCode,
String ipIndicator)
Gets all tax lots with positive cost based on the following criteria: kemid, security id, registration code, and IP indicator. |
List<HoldingTaxLot> |
getAllTaxLotsWithPositiveUnits(String kemid,
String securityId,
String registrationCode,
String ipIndicator)
Gets all tax lots with positive units based on the following criteria: kemid, security id, registration code, and IP indicator. |
HoldingTaxLot |
getByPrimaryKey(String kemid,
String securityId,
String registrationCode,
int lotNumber,
String ipIndicator)
Gets a holding tax lot based on primary keys: kemid, security id, registration code, lot number and IP indicator. |
String |
getClassCodeType(String securityId)
Gets class code type based on securityId. |
BigDecimal |
getMarketValueForCashEquivalentsForAvailableIncomeCash(String kemId)
The Market Value of the KEMID END_HLDG_TAX_LOT_T records with a CLS_CD_TYP of Cash Equivalents (C), and with the HLDG_IP_IND equal to I. |
BigDecimal |
getMarketValueForCashEquivalentsForAvailablePrincipalCash(String kemId)
The Market Value of the KEMID END_HLDG_TAX_LOT_T records with a CLS_CD_TYP of Cash Equivalents (C), and with the HLDG_IP_IND equal to P. |
BigDecimal |
getMarketValueForPooledInvestmentForAvailableIncomeCash(String kemId)
The Market Value of the KEMID END_HLDG_TAX_LOT_T records with a CLS_CD_TYP of Pooled Investment (P) and with the HLDG_IP_IND equal to I times the value in the Available Cash Percent institutional parameter (accounts for only a percentage of the market value allowing for pricing changes). |
BigDecimal |
getMarketValueForPooledInvestmentForAvailablePrincipalCash(String kemId)
The Market Value of the KEMID END_HLDG_TAX_LOT_T records with a CLS_CD_TYP of Pooled Investment (P) and with the HLDG_IP_IND equal to P times the value in the Available Cash Percent institutional parameter (accounts for only a percentage of the market value allowing for pricing changes). |
List<HoldingTaxLot> |
getTaxLotsPerSecurityIDWithUnitsGreaterThanZero(String securityId)
Gets all the tax lots for the given security that have units greater than zero. |
boolean |
removeAllHoldingTaxLots()
Removes all HoldingTaxLot records from END_HLDG_TAX_LOT_T |
Method Detail |
---|
HoldingTaxLot getByPrimaryKey(String kemid, String securityId, String registrationCode, int lotNumber, String ipIndicator)
kemid
- securityId
- registrationCode
- lotNumber
- ipIndicator
-
List<HoldingTaxLot> getAllTaxLots(String kemid, String securityId, String registrationCode, String ipIndicator)
kemid
- securityId
- registrationCode
- ipIndicator
-
List<HoldingTaxLot> getAllTaxLotsWithPositiveUnits(String kemid, String securityId, String registrationCode, String ipIndicator)
kemid
- securityId
- registrationCode
- ipIndicator
-
List<HoldingTaxLot> getAllTaxLotsOrderByAcquiredDate(String kemid, String securityId, String registrationCode, String ipIndicator, boolean sortAscending)
kemid
- securityId
- registrationCode
- ipIndicator
- returned in the descending order
List<HoldingTaxLot> getAllTaxLotsWithPositiveCost(String kemid, String securityId, String registrationCode, String ipIndicator)
kemid
- securityId
- registrationCode
- ipIndicator
-
List<HoldingTaxLot> getAllTaxLotsByKemIdAdndIPIndicator(String kemid, String ipIndicator)
kemid
- ipIndicator
-
String getClassCodeType(String securityId)
id
-
BigDecimal getMarketValueForCashEquivalentsForAvailableIncomeCash(String kemId)
kemId
-
BigDecimal getMarketValueForPooledInvestmentForAvailableIncomeCash(String kemId)
BigDecimal getMarketValueForCashEquivalentsForAvailablePrincipalCash(String kemId)
kemId
-
BigDecimal getMarketValueForPooledInvestmentForAvailablePrincipalCash(String kemId)
List<HoldingTaxLot> getAllTaxLots()
List<HoldingTaxLot> getAllTaxLotsWithAccruedIncomeGreaterThanZeroPerSecurity(String securityId)
securityId
- the id of the security for which to retrieve the tax lots
List<HoldingTaxLot> getTaxLotsPerSecurityIDWithUnitsGreaterThanZero(String securityId)
securityId
-
boolean removeAllHoldingTaxLots()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |