public class KualiAccountMaintainableImpl extends FinancialSystemMaintainable
KualiPostProcessor
businessObject, businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, documentHelperService, inactiveRecordDisplay, maintenanceDocumentDictionaryService, newCollectionLineNames, newCollectionLines, personService
Constructor and Description |
---|
KualiAccountMaintainableImpl() |
Modifier and Type | Method and Description |
---|---|
List<org.kuali.rice.krad.maintenance.MaintenanceLock> |
generateMaintenanceLocks() |
String |
getRoutingAccountsSupervisorySystemsIdentifier()
Determines who should be FYI'd as the account supervisor for the routing of the account maintenance document.
|
protected boolean |
isClosingAccount() |
protected void |
populateChartOfAccountsCodeFields()
Populates all chartOfAccountsCode fields according to corresponding accountNumber fields in this BO.
|
void |
processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
After a copy is done set specific fields on
Account to default values |
void |
refresh(String refreshCaller,
Map fieldValues,
org.kuali.rice.kns.document.MaintenanceDocument document)
Had to override this method because account guideline data was lost when copied and then a lookup is performed
|
protected void |
refreshReferences(String referencesToRefresh) |
protected String |
removeReferenceFromString(String referencesToRefresh,
String referenceToRemove)
Removes a named reference from a referencesToRefresh string
|
protected Account |
retrieveExistingAccountFromDB() |
void |
saveBusinessObject()
Automatically deactivates
SubAccount s after saving the Account |
answerSplitNodeQuestion, processAfterPost, processBeforeAddLine
addMultipleValueLookupResults, addNewLineToCollection, clearBusinessObjectOfRestrictedValues, clearCollectionRestrictedValues, clearFieldRestrictedValues, decryptEncryptedData, deleteBusinessObject, generateAllAffectedReferences, getAffectedReferencesFromLookup, getAllRefreshableReferences, getBoClass, getBusinessObject, getBusinessObjectAuthorizationService, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getCoreSections, getDocumentHelperService, getDocumentTitle, getDuplicateIdentifierFieldsFromDataDictionary, getInactiveRecordDisplay, getMaintainableTitle, getMaintenanceDocumentDictionaryService, getMultiValueIdentifierList, getNewCollectionLine, getPersonService, getSections, getShowInactiveRecords, hasBusinessObjectExisted, initNewCollectionLine, isBoNotesEnabled, isExternalBusinessObject, isNotesEnabled, isOldBusinessObjectInDocument, isRelationshipRefreshable, performCollectionForceUpperCase, performFieldForceUpperCase, performFieldForceUpperCase, performForceUpperCase, populateBusinessObject, populateNewCollectionLines, populateNewSubCollectionLines, prepareBusinessObject, prepareBusinessObjectForAdditionFromMultipleValueLookup, processAfterAddLine, processAfterEdit, processAfterNew, saveDataObject, setBoClass, setBusinessObject, setBusinessObjectAuthorizationService, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setDataObject, setDocumentHelperService, setGenerateBlankRequiredValues, setGenerateDefaultValues, setMaintenanceDocumentDictionaryService, setNewCollectionLineDefaultValues, setPersonService, setShowInactiveRecords, setupNewFromExisting, shouldFieldBeEncrypted
deleteDataObject, doRouteStatusChange, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectMetaDataService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getLockingDocumentId, getLookupService, getMaintenanceAction, getMaintenanceDocumentService, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterAddLine, processAfterCopy, processAfterDeleteLine, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setLookupService, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptors
addCustomContainerComponents, addLine, adjustIdIfNecessary, applyAuthorizationAndPresentationLogic, applyDefaultValues, applyDefaultValuesForCollectionLine, buildClientSideStateScript, buildExportTableData, buildExportTableRow, buildGrowlScript, buildInquiryLink, cleanViewAfterRender, findNestedDictionaryAttribute, getBusinessObjectService, getCommonContext, getConfigurationService, getDataDictionaryService, getExportTableFormatOptions, getExpressionEvaluator, getPersistenceService, getPersistenceStructureService, getPreModelContext, getViewDictionaryService, initializeDataFieldFromDataDictionary, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterSaveLine, processAnyRemoteFieldsHolder, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReferences, retrieveEditModesAndActionFlags, runComponentModifiers, setBusinessObjectService, setConfigurationService, setDataDictionaryService, setExpressionEvaluator, setPersistenceService, setPersistenceStructureService, setViewContext, setViewDictionaryService, spawnSubLifecyle, syncClientSideStateForComponent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteDataObject, doRouteStatusChange, getCustomLockDescriptor, getDataObject, getDataObjectClass, getDocumentTitle, getLockingDocumentId, getMaintenanceAction, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, setDataObjectClass, setDocumentNumber, setMaintenanceAction, setupNewFromExisting, useCustomLockDescriptors
applyDefaultValuesForCollectionLine, buildExportTableData, buildInquiryLink, cleanViewAfterRender, getCommonContext, getExpressionEvaluator, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReferences, spawnSubLifecyle
public KualiAccountMaintainableImpl()
public void saveBusinessObject()
SubAccount
s after saving the Account
saveBusinessObject
in class FinancialSystemMaintainable
Maintainable.saveBusinessObject()
public void processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument document, Map<String,String[]> parameters)
Account
to default valuesprocessAfterCopy
in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
org.kuali.rice.kns.maintenance.KualiMaintainableImpl#processAfterCopy()
public List<org.kuali.rice.krad.maintenance.MaintenanceLock> generateMaintenanceLocks()
generateMaintenanceLocks
in interface org.kuali.rice.krad.maintenance.Maintainable
generateMaintenanceLocks
in class org.kuali.rice.krad.maintenance.MaintainableImpl
protected Account retrieveExistingAccountFromDB()
protected boolean isClosingAccount()
public String getRoutingAccountsSupervisorySystemsIdentifier()
public void refresh(String refreshCaller, Map fieldValues, org.kuali.rice.kns.document.MaintenanceDocument document)
refresh
in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
KualiMaintainableImpl.refresh(java.lang.String, java.util.Map,
org.kuali.rice.kns.document.MaintenanceDocument)
protected void refreshReferences(String referencesToRefresh)
refreshReferences
in class FinancialSystemMaintainable
KualiMaintainableImpl.refreshReferences(String)
protected String removeReferenceFromString(String referencesToRefresh, String referenceToRemove)
protected void populateChartOfAccountsCodeFields()
FinancialSystemMaintainable
populateChartOfAccountsCodeFields
in class FinancialSystemMaintainable
Special treatment is needed when a new Account is created, the chartCode-accountNumber fields in the document can use the new account
that's being created; in which case chart code shall be populated from the PK chart code in the document instead of retrieving it from DB
using the account number, as the new account doesn't exist in the DB yet.
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.