org.kuali.kfs.module.external.kc.document
Class KualiAccountMaintainableImpl

java.lang.Object
  extended by org.kuali.rice.kns.maintenance.KualiMaintainableImpl
      extended by org.kuali.kfs.sys.document.FinancialSystemMaintainable
          extended by org.kuali.kfs.coa.document.KualiAccountMaintainableImpl
              extended by org.kuali.kfs.module.external.kc.document.KualiAccountMaintainableImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.SelectiveReferenceRefresher, org.kuali.rice.kns.maintenance.Maintainable

public class KualiAccountMaintainableImpl
extends KualiAccountMaintainableImpl

This class overrides the saveBusinessObject() method which is called during post process from the KualiPostProcessor so that it can automatically deactivate the Sub-Accounts related to the account It also overrides the processAfterCopy so that it sets specific fields that shouldn't be copied to default values KualiPostProcessor

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
boClass, businessObject, businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, businessObjectService, dataDictionaryService, docTypeName, documentHelperService, documentNumber, encryptionService, inactiveRecordDisplay, maintenanceAction, maintenanceDocumentDictionaryService, maintenanceDocumentService, newCollectionLines, persistenceStructureService, personService
 
Constructor Summary
KualiAccountMaintainableImpl()
           
 
Method Summary
protected  String lookupAccountCfda(String accountNumber, String currentCfda)
           
 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
protected  Account retrieveExistingAccountFromDB()
           
 
Methods inherited from class org.kuali.kfs.coa.document.KualiAccountMaintainableImpl
generateMaintenanceLocks, getRoutingAccountsSupervisorySystemsIdentifier, isClosingAccount, populateChartOfAccountsCodeFields, refresh, refreshReferences, removeReferenceFromString, saveBusinessObject
 
Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemMaintainable
answerSplitNodeQuestion, processAfterPost, processBeforeAddLine
 
Methods inherited from class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
addMultipleValueLookupResults, addNewLineToCollection, clearBusinessObjectOfRestrictedValues, clearCollectionRestrictedValues, clearFieldRestrictedValues, decryptEncryptedData, deleteBusinessObject, doRouteStatusChange, generateAllAffectedReferences, getAffectedReferencesFromLookup, getAllRefreshableReferences, getBoClass, getBusinessObject, getBusinessObjectAuthorizationService, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getCoreSections, getCustomLockDescriptor, getDataDictionaryService, getDocumentHelperService, getDocumentTitle, getDocumentTypeName, getDuplicateIdentifierFieldsFromDataDictionary, getEncryptionService, getInactiveRecordDisplay, getLockingDocumentId, getMaintainableTitle, getMaintenanceAction, getMaintenanceDocumentDictionaryService, getMaintenanceDocumentService, getMultiValueIdentifierList, getNewCollectionLine, getPersistenceStructureService, getPersonService, getSections, getShowInactiveRecords, getWorkflowEngineDocumentIdsToLock, hasBusinessObjectExisted, initNewCollectionLine, isBoNotesEnabled, isExternalBusinessObject, isOldBusinessObjectInDocument, isRelationshipRefreshable, performCollectionForceUpperCase, performFieldForceUpperCase, performFieldForceUpperCase, performForceUpperCase, populateBusinessObject, populateNewCollectionLines, populateNewSubCollectionLines, prepareBusinessObject, prepareBusinessObjectForAdditionFromMultipleValueLookup, prepareForSave, processAfterAddLine, processAfterEdit, processAfterNew, processAfterRetrieve, setBoClass, setBusinessObject, setDocumentNumber, setGenerateBlankRequiredValues, setGenerateDefaultValues, setMaintenanceAction, setNewCollectionLineDefaultValues, setShowInactiveRecords, setupNewFromExisting, shouldFieldBeEncrypted, useCustomLockDescriptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KualiAccountMaintainableImpl

public KualiAccountMaintainableImpl()
Method Detail

lookupAccountCfda

protected String lookupAccountCfda(String accountNumber,
                                   String currentCfda)
See Also:
org.kuali.kfs.coa.document.KualiAccountMaintainableImpl#lookupAccountCfda(java.lang.String, java.lang.String)

processAfterCopy

public void processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument document,
                             Map<String,String[]> parameters)
Description copied from class: KualiAccountMaintainableImpl
After a copy is done set specific fields on Account to default values

Specified by:
processAfterCopy in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
processAfterCopy in class KualiAccountMaintainableImpl
See Also:
KualiAccountMaintainableImpl.processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument, java.util.Map)

retrieveExistingAccountFromDB

protected Account retrieveExistingAccountFromDB()
Overrides:
retrieveExistingAccountFromDB in class KualiAccountMaintainableImpl
See Also:
KualiAccountMaintainableImpl.retrieveExistingAccountFromDB()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.