|
||||||||||
| 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
org.kuali.kfs.module.endow.document.service.impl.EndowmentTransactionLinesDocumentServiceImpl
public class EndowmentTransactionLinesDocumentServiceImpl
| Constructor Summary | |
|---|---|
EndowmentTransactionLinesDocumentServiceImpl()
|
|
| Method Summary | |
|---|---|
boolean |
canKEMIDHaveAPrincipalActivity(String kemid,
String ipIndicator)
Check if a KEMID can have a principal activity |
boolean |
getCorpusIndicatorValueforAnEndowmentTransactionLine(String kemid,
String etranCode,
String ipIndicator)
Get the value of CorpusIndicator |
EndowmentTransactionCodeService |
getEndowmentTransactionCodeService()
Gets the endowmentTransactionCodeService. |
KEMIDService |
getKemidService()
Gets the kemidService. |
void |
setEndowmentTransactionCodeService(EndowmentTransactionCodeService endowmentTransactionCodeService)
Sets the endowmentTransactionCodeService. |
void |
setKemidService(KEMIDService kemidService)
Sets the kemidService. |
| Methods inherited from class org.kuali.kfs.module.endow.document.service.impl.EndowmentTransactionDocumentServiceImpl |
|---|
getBusinessObjectService, getSecurity, getSecurityForHoldingHistoryValueAdjustment, matchChartBetweenKEMIDAndETranCode, matchChartBetweenSecurityAndETranCode, setBusinessObjectService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.kuali.kfs.module.endow.document.service.EndowmentTransactionDocumentService |
|---|
getSecurity, getSecurityForHoldingHistoryValueAdjustment, matchChartBetweenKEMIDAndETranCode, matchChartBetweenSecurityAndETranCode |
| Constructor Detail |
|---|
public EndowmentTransactionLinesDocumentServiceImpl()
| Method Detail |
|---|
public boolean getCorpusIndicatorValueforAnEndowmentTransactionLine(String kemid,
String etranCode,
String ipIndicator)
EndowmentTransactionLinesDocumentService
getCorpusIndicatorValueforAnEndowmentTransactionLine in interface EndowmentTransactionLinesDocumentServiceGet the value of CorpusIndicator based on the following rule:
If the KEMID is a true endowment (the END_KEMID_T: TYP_CD has an END_TYP_T: PRIN_RESTR_CD where the END_TYP_RESTR_CD_T: PERM is equal to Yes,)
AND if the ETRAN code record has the END_ETRAN_CD_T: CORPUS_IND set to Yes,
then transaction lines where the END_TRAN_LN_T: TRAN_IP_IND_CD is equal to P will affect the corpus value for the KEMID.
Upon adding the transaction line, the END_TRAN_LN_T: CORPUS_IND for the transaction line will be set to Yes.
public boolean canKEMIDHaveAPrincipalActivity(String kemid,
String ipIndicator)
EndowmentTransactionLinesDocumentService
canKEMIDHaveAPrincipalActivity in interface EndowmentTransactionLinesDocumentServiceIF the END _TRAN_LN_T: TRAN_IP_IND_CD for the transaction line is equal to P, then the KEMID must have a type code (END_KEMID_T: TYP_CD)
that does not have the END_TYPE_T: TYP_PRIN_RESTR_CD equal to NA which implies that the KEMID cannot have any activity in Principal.
This would guarantee that the KEMID has an active general ledger account with the Income/Principal indicator equal to "P".public KEMIDService getKemidService()
getKemidService in class EndowmentTransactionDocumentServiceImplpublic void setKemidService(KEMIDService kemidService)
setKemidService in class EndowmentTransactionDocumentServiceImplkemidService - public EndowmentTransactionCodeService getEndowmentTransactionCodeService()
getEndowmentTransactionCodeService in class EndowmentTransactionDocumentServiceImplpublic void setEndowmentTransactionCodeService(EndowmentTransactionCodeService endowmentTransactionCodeService)
setEndowmentTransactionCodeService in class EndowmentTransactionDocumentServiceImplendowmentTransactionCodeService -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||