|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.rules.DocumentRuleBase
org.kuali.rice.kns.rules.TransactionalDocumentRuleBase
org.kuali.kfs.module.endow.document.validation.impl.EndowmentTransactionalDocumentBaseRule
org.kuali.kfs.module.endow.document.validation.impl.EndowmentTransactionLinesDocumentBaseRules
org.kuali.kfs.module.endow.document.validation.impl.HoldingAdjustmentDocumentRules
public class HoldingAdjustmentDocumentRules
| Constructor Summary | |
|---|---|
HoldingAdjustmentDocumentRules()
|
|
| Method Summary | |
|---|---|
protected boolean |
canOnlyAddSourceOrTargetTransactionLines(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument,
EndowmentTransactionLine transLine,
int index)
Validates that the user can only enter to or from transaction lines not both. |
protected boolean |
checkIfBothTransactionAmountAndUnitAdjustmentAmountEmpty(EndowmentTransactionLine line,
int index)
Check if the transaction amount and unit adjustment amount are empty |
protected boolean |
checkIfBothTransactionAmountAndUnitAdjustmentAmountEntered(EndowmentTransactionLine line,
int index)
Check if the transaction amount and unit adjustment amount are filled in then do not allow the validation to succeed |
protected boolean |
hasOnlySourceOrTargetTransactionLines(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument)
Validates that the document has only source or target transaction lines, not both. |
boolean |
processAddTransactionLineRules(EndowmentTransactionLinesDocument document,
EndowmentTransactionLine line)
|
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
|
boolean |
processDeleteTaxLotLineRules(EndowmentTaxLotLinesDocument endowmentTaxLotLinesDocument,
EndowmentTransactionTaxLotLine endowmentTransactionTaxLotLine,
EndowmentTransactionLine endowmentTransactionLine,
Number transLineIndex,
Number taxLotLineIndex)
|
protected boolean |
validateKemidHasTaxLots(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument,
EndowmentTransactionLine transLine,
int index)
Checks that there are holding tax lots with positive units for the given kemid, security, registration code and IP indicator. |
protected boolean |
validateSecurityClassTypeCode(EndowmentSecurityDetailsDocument document,
boolean isSource,
String classCodeType)
This method validates the Security Class Type Code. |
protected boolean |
validateTransactionLine(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument,
EndowmentTransactionLine line,
int index)
This method validates a transaction line. |
| Methods inherited from class org.kuali.kfs.module.endow.document.validation.impl.EndowmentTransactionalDocumentBaseRule |
|---|
errorAlreadyExists, getEndowmentTransactionSecurity, getEndowmentTransactionSecurityPrefix, isRegistrationCodeActive, isRegistrationCodeEmpty, isSecurityActive, isSecurityCodeEmpty, isSubTypeEmpty, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, validateRegistrationCode, validateSecurityClassCodeTypeNotLiability, validateSecurityCode |
| Methods inherited from class org.kuali.rice.kns.rules.DocumentRuleBase |
|---|
getDataDictionaryService, getDictionaryValidationService, getDocumentHelperService, getIdentityManagementService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPersonService, getWorkflowInfoService, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setMaxDictionaryValidationDepth, validateSensitiveDataValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HoldingAdjustmentDocumentRules()
| Method Detail |
|---|
public boolean processAddTransactionLineRules(EndowmentTransactionLinesDocument document,
EndowmentTransactionLine line)
processAddTransactionLineRules in interface AddTransactionLineRule<EndowmentTransactionLinesDocument,EndowmentTransactionLine>processAddTransactionLineRules in class EndowmentTransactionLinesDocumentBaseRulesEndowmentTransactionLinesDocumentBaseRules.processAddTransactionLineRules(org.kuali.kfs.module.endow.document.EndowmentTransactionLinesDocument,
org.kuali.kfs.module.endow.businessobject.EndowmentTransactionLine)
protected boolean checkIfBothTransactionAmountAndUnitAdjustmentAmountEmpty(EndowmentTransactionLine line,
int index)
protected boolean checkIfBothTransactionAmountAndUnitAdjustmentAmountEntered(EndowmentTransactionLine line,
int index)
protected boolean validateTransactionLine(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument,
EndowmentTransactionLine line,
int index)
EndowmentTransactionLinesDocumentBaseRules
validateTransactionLine in class EndowmentTransactionLinesDocumentBaseRulesEndowmentTransactionLinesDocumentBaseRules.validateTransactionLine(org.kuali.kfs.module.endow.document.EndowmentTransactionLinesDocument,
org.kuali.kfs.module.endow.businessobject.EndowmentTransactionLine, int)protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
processCustomRouteDocumentBusinessRules in class EndowmentTransactionLinesDocumentBaseRulesDocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document)
protected boolean validateSecurityClassTypeCode(EndowmentSecurityDetailsDocument document,
boolean isSource,
String classCodeType)
EndowmentTransactionalDocumentBaseRule
validateSecurityClassTypeCode in class EndowmentTransactionalDocumentBaseRuleEndowmentTransactionalDocumentBaseRule.validateSecurityClassTypeCode(org.kuali.kfs.module.endow.document.EndowmentSecurityDetailsDocument,
boolean, java.lang.String)protected boolean hasOnlySourceOrTargetTransactionLines(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument)
endowmentTransactionLinesDocument -
protected boolean canOnlyAddSourceOrTargetTransactionLines(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument,
EndowmentTransactionLine transLine,
int index)
endowmentTransactionLinesDocument - transLine - index -
protected boolean validateKemidHasTaxLots(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument,
EndowmentTransactionLine transLine,
int index)
endowmentTransactionLinesDocument - transLine - index -
public boolean processDeleteTaxLotLineRules(EndowmentTaxLotLinesDocument endowmentTaxLotLinesDocument,
EndowmentTransactionTaxLotLine endowmentTransactionTaxLotLine,
EndowmentTransactionLine endowmentTransactionLine,
Number transLineIndex,
Number taxLotLineIndex)
processDeleteTaxLotLineRules in interface DeleteTaxLotLineRule<EndowmentTaxLotLinesDocument,EndowmentTransactionTaxLotLine,EndowmentTransactionLine,Number,Number>DeleteTaxLotLineRule.processDeleteTaxLotLineRules(org.kuali.kfs.module.endow.document.EndowmentTaxLotLinesDocument,
org.kuali.kfs.module.endow.businessobject.EndowmentTransactionTaxLotLine,
org.kuali.kfs.module.endow.businessobject.EndowmentTransactionLine, java.lang.Number, java.lang.Number)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||