public class OrgPreRules extends MaintenancePreRulesBase
Org
that needs to occur while still in the Struts processing. This includes defaults,
confirmations, etc.Modifier and Type | Field and Description |
---|---|
protected Organization |
newOrg |
protected org.kuali.rice.location.api.postalcode.PostalCodeService |
postalZipCodeService |
accountService, configService
Constructor and Description |
---|
OrgPreRules() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkForContinuationAccounts()
This looks for the org default account number and then sets the values to the continuation account value if it exists
|
protected boolean |
doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
This checks to see if a continuation account is necessary and if the HRMS data has changed
|
protected void |
setLocationFromZip(org.kuali.rice.kns.document.MaintenanceDocument maintenanceDocument)
This takes the org zip code and fills in state, city and country code based off of it
|
protected void |
setupConvenienceObjects(org.kuali.rice.kns.document.MaintenanceDocument document)
This method sets the convenience objects like newOrg and copyOrg, so you have short and easy handles to the new and old
objects contained in the maintenance document.
|
protected void |
updateHRMSUpdateDate(Organization oldData,
Organization newData)
Check if the HRMS data has changed on this document.
|
buildContinuationConfirmationQuestion, checkForContinuationAccount, checkForContinuationAccount, doPrompts, getAccountService, getConfigService, setAccountService, setConfigService
protected Organization newOrg
protected org.kuali.rice.location.api.postalcode.PostalCodeService postalZipCodeService
public OrgPreRules()
protected boolean doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
doCustomPreRules
in class MaintenancePreRulesBase
MaintenancePreRulesBase.doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected void checkForContinuationAccounts()
protected void setupConvenienceObjects(org.kuali.rice.kns.document.MaintenanceDocument document)
document
- protected void updateHRMSUpdateDate(Organization oldData, Organization newData)
oldData
- newData
- protected void setLocationFromZip(org.kuali.rice.kns.document.MaintenanceDocument maintenanceDocument)
maintenanceDocument
- Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.