public class BankCodeValidation extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected static BankService | bankService | 
| protected static org.kuali.rice.kns.service.DataDictionaryService | dataDictionaryService | 
| Constructor and Description | 
|---|
| BankCodeValidation() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static BankService | getBankService() | 
| protected static org.kuali.rice.kns.service.DataDictionaryService | getDataDictionaryService() | 
| static boolean | validate(org.kuali.rice.krad.document.Document document,
                String bankCode,
                String bankCodeProperty,
                boolean requireDeposit,
                boolean requireDisbursement)Performs required, exists, and active validation of bank code. | 
| static boolean | validate(String bankCode,
                String bankCodeProperty,
                boolean requireDeposit,
                boolean requireDisbursement)Performs required, exists, and active validation of bank code. | 
protected static volatile org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService
protected static volatile BankService bankService
public BankCodeValidation()
public static boolean validate(String bankCode, String bankCodeProperty, boolean requireDeposit, boolean requireDisbursement)
bankCode - value to validatebankCodeProperty - property to associate errors withrequireDeposit - true if the bank code should support depositsrequireDisbursement - true if the bank code should support disbursementspublic static boolean validate(org.kuali.rice.krad.document.Document document, String bankCode, String bankCodeProperty, boolean requireDeposit, boolean requireDisbursement)
document - the document that is being validatedbankCode - value to validatebankCodeProperty - property to associate errors withrequireDeposit - true if the bank code should support depositsrequireDisbursement - true if the bank code should support disbursementsprotected static org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
protected static BankService getBankService()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.