|
||||||||||
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.maintenance.rules.MaintenanceDocumentRuleBase
org.kuali.kfs.module.endow.document.validation.impl.PooledFundValueRule
public class PooledFundValueRule
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
LOG
|
Fields inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase |
---|
boDictionaryService, boService, businessObjectAuthorizationService, configService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceService, persistenceStructureService, personService, priorErrorPath, roleService, workflowDocumentService |
Constructor Summary | |
---|---|
PooledFundValueRule()
|
Method Summary | |
---|---|
protected boolean |
checkCustomRequiredFields(PooledFundValue newPooledFundValue)
|
protected boolean |
isDateRequiredField(Date theDate,
String errorField,
String errorKey)
|
protected boolean |
isIncomeDistributionPerUnitNotNegative(BigDecimal incomeDistributionPerUnit)
The rule is incomeDistributionPerUnit can't be less than zero. |
protected boolean |
isUnitValuePositive(BigDecimal unitValue)
The rule is unitValue can only be positive because unitValue is a required field. |
protected boolean |
isValuationDateLastDayOfMonth(Date valuationDate)
Checks if the value of the valuation date is the last day of the month. |
protected boolean |
isValuationDateTheLatest(String pooledSecurityID,
Date theValuationDate)
The rule is "A new record cannot have a VAL_DT that is earlier than the record with the most recent VAL_DT". |
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
|
Methods inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase |
---|
apcRuleFails, applyApcRule, checkEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getBoDictionaryService, getBoService, getBusinessObjectAuthorizationService, getConfigService, getDateTimeService, getDdService, getDictionaryValidationService, getDocumentHelperService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getMaintDocDictionaryService, getNewBo, getOldBo, getPersistenceService, getPersistenceStructureService, getPersonService, getRoleService, getWorkflowDocumentService, isCorrectMaintenanceClass, isDocumentInactivatingBusinessObject, isDocumentValidForSave, primaryKeyCheck, processAddCollectionLineBusinessRules, processApproveDocument, processCustomAddCollectionLineBusinessRules, processCustomApproveDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processGlobalApproveDocumentBusinessRules, processGlobalRouteDocumentBusinessRules, processGlobalSaveDocumentBusinessRules, processInactivationBlockChecking, processInactivationBlockChecking, processRouteDocument, processSaveDocument, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putFieldErrorWithShortLabel, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, putInactivationBlockingErrorOnPage, resumeErrorPath, setBoDictionaryService, setBoService, setBusinessObjectAuthorizationService, setConfigService, setDdService, setDictionaryValidationService, setDocumentHelperService, setMaintDocDictionaryService, setNewBo, setPersistenceService, setPersistenceStructureService, setPersonService, setupBaseConvenienceObjects, setupConvenienceObjects, setWorkflowDocumentService, showErrorMap, validateDocumentStructure, validateDuplicateIdentifierInDataDictionary, validateGlobalBusinessObjectPersistable, validateMaintenanceDocument |
Methods inherited from class org.kuali.rice.kns.rules.DocumentRuleBase |
---|
getDataDictionaryService, getIdentityManagementService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getWorkflowInfoService, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setMaxDictionaryValidationDepth, validateSensitiveDataValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
Constructor Detail |
---|
public PooledFundValueRule()
Method Detail |
---|
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomRouteDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
MaintenanceDocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected boolean checkCustomRequiredFields(PooledFundValue newPooledFundValue)
protected boolean isDateRequiredField(Date theDate, String errorField, String errorKey)
protected boolean isValuationDateLastDayOfMonth(Date valuationDate)
valuationDate
-
protected boolean isValuationDateTheLatest(String pooledSecurityID, Date theValuationDate)
pooledSecurityID
- theValuationDate
-
protected boolean isUnitValuePositive(BigDecimal unitValue)
unitValue
-
protected boolean isIncomeDistributionPerUnitNotNegative(BigDecimal incomeDistributionPerUnit)
incomeDistributionPerUnit
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |