public class InvoiceNonZeroAccountingLineAmountValidation extends PurchasingAccountsPayableAccountingLineAccessibleValidation
AccountingLineAccessibleValidation.AccountingLineAction
accountingDocumentForValidation, accountingLineForValidation, dataDictionaryService
Constructor and Description |
---|
InvoiceNonZeroAccountingLineAmountValidation() |
Modifier and Type | Method and Description |
---|---|
boolean |
canApproveAccountingLinesWithZeroAmount()
checks if an accounting line with zero dollar amount can be approved.
|
PurApItem |
getItemForValidation() |
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService()
Gets the parameterService attribute.
|
void |
setItemForValidation(PurApItem itemForValidation) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Sets the parameterService attribute.
|
boolean |
validate(AttributedDocumentEvent event)
Validates that the given accounting line is accessible for editing by the current user.
|
getAccountingLineCollectionProperty, getCurrentRouteLevels, getGroupName, needsDummyAccountIdentifier
convertEventToMessage, getAccountingDocumentForValidation, getAccountingLineForValidation, getDataDictionaryService, lookupAccountingLineAuthorizer, setAccountingDocumentForValidation, setAccountingLineForValidation, setDataDictionaryService
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public InvoiceNonZeroAccountingLineAmountValidation()
public boolean validate(AttributedDocumentEvent event)
AccountingLineAccessibleValidation
validate
in interface Validation
validate
in class AccountingLineAccessibleValidation
org.kuali.ole.sys.document.validation.Validation#validate(java.lang.Object[])
public boolean canApproveAccountingLinesWithZeroAmount()
public PurApItem getItemForValidation()
public void setItemForValidation(PurApItem itemForValidation)
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–2014 The Kuali Foundation. All rights reserved.