|
||||||||||
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.EndowmentUnitShareAdjustmentDocumentRules
public class EndowmentUnitShareAdjustmentDocumentRules
Constructor Summary | |
---|---|
EndowmentUnitShareAdjustmentDocumentRules()
|
Method Summary | |
---|---|
protected boolean |
hasAtLeastOneTransactionLine(EndowmentTransactionLinesDocumentBase document)
Validates that the document has at least one transaction line. |
protected boolean |
hasEtranCode(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument)
Tells if the document has an etran code. |
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 EndowmentUnitShareAdjustmentDocumentRules()
Method Detail |
---|
public boolean processAddTransactionLineRules(EndowmentTransactionLinesDocument document, EndowmentTransactionLine line)
processAddTransactionLineRules
in interface AddTransactionLineRule<EndowmentTransactionLinesDocument,EndowmentTransactionLine>
processAddTransactionLineRules
in class EndowmentTransactionLinesDocumentBaseRules
EndowmentTransactionLinesDocumentBaseRules.processAddTransactionLineRules(org.kuali.kfs.module.endow.document.EndowmentTransactionLinesDocument,
org.kuali.kfs.module.endow.businessobject.EndowmentTransactionLine)
protected boolean validateTransactionLine(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument, EndowmentTransactionLine line, int index)
EndowmentTransactionLinesDocumentBaseRules
validateTransactionLine
in class EndowmentTransactionLinesDocumentBaseRules
EndowmentTransactionLinesDocumentBaseRules.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 EndowmentTransactionLinesDocumentBaseRules
DocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document)
protected boolean hasAtLeastOneTransactionLine(EndowmentTransactionLinesDocumentBase document)
document
-
protected boolean validateSecurityClassTypeCode(EndowmentSecurityDetailsDocument document, boolean isSource, String classCodeType)
EndowmentTransactionalDocumentBaseRule
validateSecurityClassTypeCode
in class EndowmentTransactionalDocumentBaseRule
EndowmentTransactionalDocumentBaseRule.validateSecurityClassTypeCode(org.kuali.kfs.module.endow.document.EndowmentSecurityDetailsDocument,
boolean, java.lang.String)
protected boolean hasEtranCode(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument)
EndowmentTransactionLinesDocumentBaseRules
hasEtranCode
in class EndowmentTransactionLinesDocumentBaseRules
EndowmentTransactionLinesDocumentBaseRules.hasEtranCode(org.kuali.kfs.module.endow.document.EndowmentTransactionLinesDocument)
protected boolean hasOnlySourceOrTargetTransactionLines(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument)
endowmentTransactionLinesDocument
-
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 |