public class ReceivingAddressPreRules extends MaintenancePreRulesBase
accountService, configService
Constructor and Description |
---|
ReceivingAddressPreRules() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
Checks whether the maintenance action to a Receiving Address business objects abide to the contraint that,
there is one and only one active default receiving address for each chart or chart/org at any given time,
if there exists at least one active receiving address for this chart or chart/org.
|
protected void |
putFieldError(String propertyName,
String errorConstant)
Convenience method to add a property-specific error to the global errors list, with the correct prefix
added to the property name so that it will display correctly on maintenance documents.
|
buildContinuationConfirmationQuestion, checkForContinuationAccount, checkForContinuationAccount, doPrompts, getAccountService, getConfigService, setAccountService, setConfigService
public ReceivingAddressPreRules()
protected boolean doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
doCustomPreRules
in class MaintenancePreRulesBase
MaintenancePreRulesBase.doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected void putFieldError(String propertyName, String errorConstant)
propertyName
- Property name of the element that is associated with the error, to mark the field as errored in the UI.errorConstant
- - Error Constant that can be mapped to a resource for the actual text message.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.