|
||||||||||
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.AssetDecreaseDocumentRules
public class AssetDecreaseDocumentRules
Constructor Summary | |
---|---|
AssetDecreaseDocumentRules()
|
Method Summary | |
---|---|
boolean |
processAddTransactionLineRules(EndowmentTransactionLinesDocument document,
EndowmentTransactionLine line)
|
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
|
boolean |
processDeleteTaxLotLineRules(EndowmentTaxLotLinesDocument endowmentTaxLotLinesDocument,
EndowmentTransactionTaxLotLine taxLotLine,
EndowmentTransactionLine transactionLine,
Number index,
Number taxLotLineIndex)
|
boolean |
processRefreshTransactionLineRules(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument,
EndowmentTransactionLine endowmentTransactionLine,
Number index)
This method... |
protected boolean |
validateAssetDecreaseTransactionLine(boolean isAdd,
EndowmentTransactionLinesDocument endowmentTransactionLinesDocument,
EndowmentTransactionLine line,
int index,
int taxLotLineToDeleteIndex)
Adds validations for the transaction line specific to the Asset decrease document. |
protected boolean |
validateSecurityClassTypeCode(EndowmentSecurityDetailsDocument document,
boolean isSource,
String classCodeType)
This method validates the Security Class Type Code. |
protected boolean |
validateTotalAmountAndUnits(EndowmentTransactionLinesDocumentBase endowmentTransactionLinesDocumentBase,
EndowmentTransactionLine transactionLine,
int index)
Validates the the amount and units in the transaction line match the total cost and units in the associated tax lot lines. |
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 AssetDecreaseDocumentRules()
Method Detail |
---|
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
processCustomRouteDocumentBusinessRules
in class EndowmentTransactionLinesDocumentBaseRules
DocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document)
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)
public boolean processRefreshTransactionLineRules(EndowmentTransactionLinesDocument endowmentTransactionLinesDocument, EndowmentTransactionLine endowmentTransactionLine, Number index)
RefreshTransactionLineRule
processRefreshTransactionLineRules
in interface RefreshTransactionLineRule<EndowmentTransactionLinesDocument,EndowmentTransactionLine,Number>
processRefreshTransactionLineRules
in class EndowmentTransactionLinesDocumentBaseRules
EndowmentTransactionLinesDocumentBaseRules.processRefreshTransactionLineRules(org.kuali.kfs.module.endow.document.EndowmentTransactionLinesDocument,
org.kuali.kfs.module.endow.businessobject.EndowmentTransactionLine, java.lang.Number)
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 validateAssetDecreaseTransactionLine(boolean isAdd, EndowmentTransactionLinesDocument endowmentTransactionLinesDocument, EndowmentTransactionLine line, int index, int taxLotLineToDeleteIndex)
isAdd
- endowmentTransactionLinesDocumentBase
- line
- index
-
public boolean processDeleteTaxLotLineRules(EndowmentTaxLotLinesDocument endowmentTaxLotLinesDocument, EndowmentTransactionTaxLotLine taxLotLine, EndowmentTransactionLine transactionLine, Number index, Number taxLotLineIndex)
processDeleteTaxLotLineRules
in interface DeleteTaxLotLineRule<EndowmentTaxLotLinesDocument,EndowmentTransactionTaxLotLine,EndowmentTransactionLine,Number,Number>
org.kuali.kfs.module.endow.document.validation.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)
protected boolean validateTotalAmountAndUnits(EndowmentTransactionLinesDocumentBase endowmentTransactionLinesDocumentBase, EndowmentTransactionLine transactionLine, int index)
endowmentTransactionLinesDocumentBase
- line
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |