public class ServiceBillingAccountingLineAccessibleValidation extends GenericValidation
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ServiceBillingAccountingLineAccessibleValidation.AccountingLineActionIndicates what is being done to an accounting line. | 
| Constructor and Description | 
|---|
| ServiceBillingAccountingLineAccessibleValidation() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | convertEventToMessage(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)Determines what error message should be shown based on the event that required this validation | 
| AccountingDocument | getAccountingDocumentForValidation()Gets the accountingDocumentForValidation attribute. | 
| AccountingLine | getAccountingLineForValidation()Gets the accountingLineForValidation attribute. | 
| org.kuali.rice.kns.service.DataDictionaryService | getDataDictionaryService()Gets the dataDictionaryService attribute. | 
| void | setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)Sets the accountingDocumentForValidation attribute value. | 
| void | setAccountingLineForValidation(AccountingLine accountingLineForValidation)Sets the accountingLineForValidation attribute value. | 
| void | setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)Sets the dataDictionaryService attribute value. | 
| boolean | validate(AttributedDocumentEvent event)Validates that the given accounting line is accessible for editing by the current user. | 
setQuitOnFail, shouldQuitOnFail, stageValidationgetParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterPropertiespublic ServiceBillingAccountingLineAccessibleValidation()
public boolean validate(AttributedDocumentEvent event)
org.kuali.ole.sys.document.validation.Validation#validate(java.lang.Object[])protected String convertEventToMessage(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
event - the event to use to determine the error messagepublic AccountingDocument getAccountingDocumentForValidation()
public void setAccountingDocumentForValidation(AccountingDocument accountingDocumentForValidation)
accountingDocumentForValidation - The accountingDocumentForValidation to set.public AccountingLine getAccountingLineForValidation()
public void setAccountingLineForValidation(AccountingLine accountingLineForValidation)
accountingLineForValidation - The accountingLineForValidation to set.public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
dataDictionaryService - The dataDictionaryService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.