|
||||||||||
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.HoldingHistoryValueAdjustmentDocumentRules
public class HoldingHistoryValueAdjustmentDocumentRules
Constructor Summary | |
---|---|
HoldingHistoryValueAdjustmentDocumentRules()
|
Method Summary | |
---|---|
protected BigDecimal |
calculateUnitValueWhenMarketValueEntered(HoldingHistoryValueAdjustmentDocument document)
Calculates unit value when security id's valuation method is M and market value is entered. |
protected boolean |
checkValuationMethodForUnitOrSecurityValue(HoldingHistoryValueAdjustmentDocument document)
Checks if security valuation method is Unit value and if so make sure nothing entered for Market Value |
protected boolean |
isMarketValuePositive(HoldingHistoryValueAdjustmentDocument document)
Checks if the market value entered is positive value |
protected boolean |
isSecurityActive(HoldingHistoryValueAdjustmentDocument document)
Checks if the Security is Active. |
protected boolean |
isSecurityCodeEmpty(HoldingHistoryValueAdjustmentDocument document)
Validates the Security code to make sure the value is not empty. |
protected boolean |
isUnitValuePositive(HoldingHistoryValueAdjustmentDocument document)
Checks if the unit value entered is positive value |
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
|
protected void |
resetMarketValueToNullWhenUnitValueEntered(HoldingHistoryValueAdjustmentDocument document)
Reset the value for Market Value that the user entered if the valuation method is U (Unit Value) |
protected boolean |
validateSecurityClassCodeTypeNotLiability(HoldingHistoryValueAdjustmentDocument document)
Validates that the security class code type is not Liability. |
protected boolean |
validateSecurityCode(HoldingHistoryValueAdjustmentDocument document)
Validates the Security code by trying to create a Security object from the code. |
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 HoldingHistoryValueAdjustmentDocumentRules()
Method Detail |
---|
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
processCustomRouteDocumentBusinessRules
in class org.kuali.rice.kns.rules.DocumentRuleBase
DocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document)
protected boolean isSecurityCodeEmpty(HoldingHistoryValueAdjustmentDocument document)
tranSecurity
-
protected boolean validateSecurityCode(HoldingHistoryValueAdjustmentDocument document)
document
-
protected boolean isSecurityActive(HoldingHistoryValueAdjustmentDocument document)
document
-
protected boolean validateSecurityClassCodeTypeNotLiability(HoldingHistoryValueAdjustmentDocument document)
document
-
protected boolean isUnitValuePositive(HoldingHistoryValueAdjustmentDocument document)
document
-
protected boolean isMarketValuePositive(HoldingHistoryValueAdjustmentDocument document)
document
-
protected boolean checkValuationMethodForUnitOrSecurityValue(HoldingHistoryValueAdjustmentDocument document)
document
-
protected void resetMarketValueToNullWhenUnitValueEntered(HoldingHistoryValueAdjustmentDocument document)
document
- protected BigDecimal calculateUnitValueWhenMarketValueEntered(HoldingHistoryValueAdjustmentDocument document)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |