|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.module.endow.document.service.impl.HoldingTaxLotServiceImpl
@Transactional public class HoldingTaxLotServiceImpl
| Field Summary | |
|---|---|
protected org.kuali.rice.kns.service.BusinessObjectService |
businessObjectService
|
protected ClassCodeService |
classCodeService
|
protected HoldingTaxLotDao |
holdingTaxLotDao
|
protected KEMService |
kEMService
|
protected SecurityService |
securityService
|
| Constructor Summary | |
|---|---|
HoldingTaxLotServiceImpl()
|
|
| 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: kemId 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. |
protected org.kuali.rice.kns.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService. |
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. |
protected ClassCodeService |
getClassCodeService()
Gets the classCodeService. |
String |
getClassCodeType(String securityId)
Gets class code type based on securityId. |
protected HoldingTaxLotDao |
getHoldingTaxLotDao()
Gets the holdingTaxLotDao. |
protected KEMService |
getkEMService()
gets the kEMService. |
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). |
protected SecurityService |
getSecurityService()
Gets the securityService. |
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 |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService. |
void |
setClassCodeService(ClassCodeService classCodeService)
Sets the classCodeService. |
void |
setHoldingTaxLotDao(HoldingTaxLotDao holdingTaxLotDao)
Sets the holdingTaxLotDao. |
void |
setkEMService(KEMService kEMService)
Sets the kEMService. |
void |
setSecurityService(SecurityService securityService)
Sets the securityService. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected HoldingTaxLotDao holdingTaxLotDao
protected org.kuali.rice.kns.service.BusinessObjectService businessObjectService
protected SecurityService securityService
protected ClassCodeService classCodeService
protected KEMService kEMService
| Constructor Detail |
|---|
public HoldingTaxLotServiceImpl()
| Method Detail |
|---|
public HoldingTaxLot getByPrimaryKey(String kemid,
String securityId,
String registrationCode,
int lotNumber,
String ipIndicator)
HoldingTaxLotService
getByPrimaryKey in interface HoldingTaxLotServiceHoldingTaxLotService.getByPrimaryKey(java.lang.String, java.lang.String,
java.lang.String, int, java.lang.String)
public List<HoldingTaxLot> getAllTaxLots(String kemid,
String securityId,
String registrationCode,
String ipIndicator)
HoldingTaxLotService
getAllTaxLots in interface HoldingTaxLotServiceHoldingTaxLotService.getAllTaxLots(java.lang.String, java.lang.String,
java.lang.String, java.lang.String)public List<HoldingTaxLot> getAllTaxLots()
HoldingTaxLotService
getAllTaxLots in interface HoldingTaxLotServiceHoldingTaxLotService.getAllTaxLots()
public List<HoldingTaxLot> getAllTaxLotsOrderByAcquiredDate(String kemid,
String securityId,
String registrationCode,
String ipIndicator,
boolean sortAscending)
HoldingTaxLotService
getAllTaxLotsOrderByAcquiredDate in interface HoldingTaxLotServiceipIndicator - returned in the descending order
HoldingTaxLotService.getAllTaxLotsOrderByAcquiredDate(java.lang.String,
java.lang.String, java.lang.String, java.lang.String, boolean)
public List<HoldingTaxLot> getAllTaxLotsByKemIdAdndIPIndicator(String kemid,
String ipIndicator)
getAllTaxLotsByKemIdAdndIPIndicator in interface HoldingTaxLotServicekemid - ipIndicator -
public List<HoldingTaxLot> getAllTaxLotsWithPositiveUnits(String kemid,
String securityId,
String registrationCode,
String ipIndicator)
HoldingTaxLotService
getAllTaxLotsWithPositiveUnits in interface HoldingTaxLotServiceHoldingTaxLotService.getAllTaxLotsWithPositiveUnits(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)
public List<HoldingTaxLot> getAllTaxLotsWithPositiveCost(String kemid,
String securityId,
String registrationCode,
String ipIndicator)
HoldingTaxLotService
getAllTaxLotsWithPositiveCost in interface HoldingTaxLotServiceHoldingTaxLotService.getAllTaxLotsWithPositiveCost(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)public String getClassCodeType(String securityId)
HoldingTaxLotService
getClassCodeType in interface HoldingTaxLotServiceid -
Gets class code type based on
securityId. Based on security ID, you search END_SEC_T Table to get END_SEC_T:SEC_CLS_CD, then, based on class code, you
search END_CLS_CD_T, to get END_CLS_CD_T:CLS_CD_TYPpublic BigDecimal getMarketValueForCashEquivalentsForAvailableIncomeCash(String kemId)
HoldingTaxLotService
getMarketValueForCashEquivalentsForAvailableIncomeCash in interface HoldingTaxLotServiceThe 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.public BigDecimal getMarketValueForPooledInvestmentForAvailableIncomeCash(String kemId)
HoldingTaxLotService
getMarketValueForPooledInvestmentForAvailableIncomeCash in interface HoldingTaxLotServiceThe 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).public BigDecimal getMarketValueForCashEquivalentsForAvailablePrincipalCash(String kemId)
HoldingTaxLotService
getMarketValueForCashEquivalentsForAvailablePrincipalCash in interface HoldingTaxLotServiceThe 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.public BigDecimal getMarketValueForPooledInvestmentForAvailablePrincipalCash(String kemId)
HoldingTaxLotService
getMarketValueForPooledInvestmentForAvailablePrincipalCash in interface HoldingTaxLotServiceThe 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).public List<HoldingTaxLot> getAllTaxLotsWithAccruedIncomeGreaterThanZeroPerSecurity(String securityId)
HoldingTaxLotService
getAllTaxLotsWithAccruedIncomeGreaterThanZeroPerSecurity in interface HoldingTaxLotServicesecurityId - the id of the security for which to retrieve the tax lots
HoldingTaxLotService.getAllTaxLotsWithAccruedIncomeGreaterThanZeroPerSecurity(java.lang.String)public List<HoldingTaxLot> getTaxLotsPerSecurityIDWithUnitsGreaterThanZero(String securityId)
HoldingTaxLotService
getTaxLotsPerSecurityIDWithUnitsGreaterThanZero in interface HoldingTaxLotServiceHoldingTaxLotService.getTaxLotsPerSecurityIDWithUnitsGreaterThanZero(java.lang.String)public boolean removeAllHoldingTaxLots()
HoldingTaxLotService
removeAllHoldingTaxLots in interface HoldingTaxLotServiceHoldingTaxLotService.removeAllHoldingTaxLots()protected org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService - protected HoldingTaxLotDao getHoldingTaxLotDao()
public void setHoldingTaxLotDao(HoldingTaxLotDao holdingTaxLotDao)
holdingTaxLotDao - protected SecurityService getSecurityService()
public void setSecurityService(SecurityService securityService)
securityService - protected ClassCodeService getClassCodeService()
public void setClassCodeService(ClassCodeService classCodeService)
classCodeService - protected KEMService getkEMService()
kEMService - public void setkEMService(KEMService kEMService)
kEMService -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||