public class TransferOfFundsFundGroupsBalancedValidation extends GenericValidation
| Constructor and Description | 
|---|
| TransferOfFundsFundGroupsBalancedValidation() | 
| Modifier and Type | Method and Description | 
|---|---|
| AccountingDocument | getAccountingDocumentForValidation()Gets the accountingDocumentForValidation attribute. | 
| org.kuali.rice.coreservice.framework.parameter.ParameterService | getParameterService()Gets the parameterService attribute. | 
| protected boolean | isFundGroupSetBalanceValid(AccountingDocument tranDoc,
                                                    Class componentClass,
                                                    String parameterName)This method will make sure that totals for a specified set of fund groups is valid across the two different accounting line
 sections. | 
| void | setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)Sets the accountingDocumentForValidation attribute value. | 
| void | setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)Sets the parameterService attribute value. | 
| boolean | validate(AttributedDocumentEvent event)This is a helper method that wraps the fund group balancing check. | 
setQuitOnFail, shouldQuitOnFail, stageValidationgetParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterPropertiespublic TransferOfFundsFundGroupsBalancedValidation()
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)protected boolean isFundGroupSetBalanceValid(AccountingDocument tranDoc, Class componentClass, String parameterName)
tranDoc - fundGroupCodes - An array of the fund group codes that will be considered for balancing.public AccountingDocument getAccountingDocumentForValidation()
public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValidation - The accountingDocumentForValidation to set.public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService - The parameterService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.