|
||||||||||
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.EndowmentTransactionDocumentServiceImpl
public class EndowmentTransactionDocumentServiceImpl
This class is the service implementation for the EndowmentTransactionCodeService. This is the default, Kuali provided implementation.
Constructor Summary | |
---|---|
EndowmentTransactionDocumentServiceImpl()
|
Method Summary | |
---|---|
org.kuali.rice.kns.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService. |
EndowmentTransactionCodeService |
getEndowmentTransactionCodeService()
Gets the endowmentTransactionCodeService. |
KEMIDService |
getKemidService()
Gets the kemidService. |
String[] |
getSecurity(String securityID)
This method gets an endowment transaction by the primary key: endowment transaction code |
String[] |
getSecurityForHoldingHistoryValueAdjustment(String securityId)
Gets the security, class and valuationMethod details based on the securityId. |
boolean |
matchChartBetweenKEMIDAndETranCode(String kemid,
String etranCode,
String ipIndicator)
Check if there is a GLLink record in the EndowmentTransactionCode that the chart code in the record matches the chart code in the KemidGeneralLedgerAccount associated with a KEMID given the IP indicator info. |
boolean |
matchChartBetweenSecurityAndETranCode(Security security,
String kemid,
String ipIndicator)
Check if there is a GLLink record in the EndowmentTransactionCode that the chart code in the record matches the chart code in the GeneralLedgerAccount associated with a Security given the IP indicator info. |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService |
void |
setEndowmentTransactionCodeService(EndowmentTransactionCodeService endowmentTransactionCodeService)
Sets the endowmentTransactionCodeService. |
void |
setKemidService(KEMIDService kemidService)
Sets the kemidService. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EndowmentTransactionDocumentServiceImpl()
Method Detail |
---|
public String[] getSecurity(String securityID)
EndowmentTransactionDocumentService
getSecurity
in interface EndowmentTransactionDocumentService
public String[] getSecurityForHoldingHistoryValueAdjustment(String securityId)
getSecurityForHoldingHistoryValueAdjustment
in interface EndowmentTransactionDocumentService
EndowmentTransactionDocumentService.getSecurity(java.lang.String)
public boolean matchChartBetweenKEMIDAndETranCode(String kemid, String etranCode, String ipIndicator)
EndowmentTransactionDocumentService
matchChartBetweenKEMIDAndETranCode
in interface EndowmentTransactionDocumentService
Check if the chart code matches based on the following rule:
The ETRAN Code used must have an appropriately identified general ledger object code record;
one that matches the Chart for the KEMID associated general ledger account.
- If the END_TRAN_LN_T: TRAN_IP_IND_CD is equal to I, the chart must match the chart of the active END_KEMID_GL_LNK_T record where the IP_IND_CD is equal to I.
- If the END_TRAN_LN_T: TRAN_IP_IND_CD is equal to P, the chart must match the chart of the active END_KEMID_GL_LNK_T record where the IP_IND_CD is equal to P.
Assume that all inputs are valid.
public boolean matchChartBetweenSecurityAndETranCode(Security security, String kemid, String ipIndicator)
EndowmentTransactionDocumentService
matchChartBetweenSecurityAndETranCode
in interface EndowmentTransactionDocumentService
Check if the chart code matches based on the following rule:
The Securities ETRAN Code used must have an appropriately identified general ledger object code record;
one that matches the Chart for the KEMID associated general ledger account.
- If the END_TRAN_LN_T: TRAN_IP_IND_CD is equal to I, the chart must match the chart of the active END_KEMID_GL_LNK_T record where the IP_IND_CD is equal to I.
- If the END_TRAN_LN_T: TRAN_IP_IND_CD is equal to P, the chart must match the chart of the active END_KEMID_GL_LNK_T record where the IP_IND_CD is equal to P.
Assume that all inputs are valid.
public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService
- public KEMIDService getKemidService()
public void setKemidService(KEMIDService kemidService)
kemidService
- public EndowmentTransactionCodeService getEndowmentTransactionCodeService()
public void setEndowmentTransactionCodeService(EndowmentTransactionCodeService endowmentTransactionCodeService)
endowmentTransactionCodeService
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |