|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kns.maintenance.KualiMaintainableImpl
org.kuali.kfs.sys.document.FinancialSystemMaintainable
org.kuali.kfs.coa.document.KualiAccountMaintainableImpl
public class 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
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 | |
---|---|
List<org.kuali.rice.kns.document.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 |
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 |
---|
public KualiAccountMaintainableImpl()
Method Detail |
---|
public void saveBusinessObject()
SubAccount
s after saving the Account
saveBusinessObject
in interface org.kuali.rice.kns.maintenance.Maintainable
saveBusinessObject
in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
Maintainable.saveBusinessObject()
public void processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument document, Map<String,String[]> parameters)
Account
to default values
processAfterCopy
in interface org.kuali.rice.kns.maintenance.Maintainable
processAfterCopy
in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
org.kuali.rice.kns.maintenance.KualiMaintainableImpl#processAfterCopy()
public List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
generateMaintenanceLocks
in interface org.kuali.rice.kns.maintenance.Maintainable
generateMaintenanceLocks
in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
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 interface org.kuali.rice.kns.maintenance.Maintainable
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |