|
||||||||||
| 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.AccountDelegateMaintainableImpl
public class AccountDelegateMaintainableImpl
This class is a special implementation of Maintainable specifically for Account Delegates. It was created to correctly update the default Start Date on edits and copies, ala JIRA #KULRNE-62.
| 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 | |
|---|---|
AccountDelegateMaintainableImpl()
|
|
| Method Summary | |
|---|---|
org.kuali.rice.kns.document.MaintenanceLock |
createGlobalAccountLock()
This method created a MaintenanceLock for the chartOfAccountsCode and accountNumber for an AccountDelegateGlobal. |
protected String |
createLockingRepresentation(String[] fieldNames)
This method create a locking representation for the field names supplied |
protected org.kuali.rice.kns.document.MaintenanceLock |
createMaintenanceLock(String[] fieldNames)
This method creates a maintenance lock for the field names supplied |
List<org.kuali.rice.kns.document.MaintenanceLock> |
generateMaintenanceLocks()
Generates the appropriate maintenance locks for the Delegate |
String |
getLockingDocumentId()
|
void |
processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
This method will reset AccountDelegate's Start Date to the current timestamp on edits and copies |
void |
processAfterEdit(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
This method will reset AccountDelegate's Start Date to the current timestamp on edits and copies |
protected String |
retrieveFieldValueForLock(String fieldName,
org.kuali.rice.kns.service.DataDictionaryService ddService,
org.kuali.rice.core.service.EncryptionService encryptionService)
This method returns the field value of a given field, converting the value to a String and encrypting it if necessary |
void |
saveBusinessObject()
Overridden so that after account delegate is saved, it updates the proper account delegate role Defers saving to a service to guarantee that the delegate saves in a separate transaction |
protected void |
setStartDateDefault()
This method sets the start date on Delegate BO |
| Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemMaintainable |
|---|
answerSplitNodeQuestion, populateChartOfAccountsCodeFields, processAfterPost, processBeforeAddLine, refreshReferences |
| 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, 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, processAfterNew, processAfterRetrieve, refresh, 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 AccountDelegateMaintainableImpl()
| Method Detail |
|---|
public void processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
processAfterCopy in interface org.kuali.rice.kns.maintenance.MaintainableprocessAfterCopy in class org.kuali.rice.kns.maintenance.KualiMaintainableImplKualiMaintainableImpl.processAfterRetrieve()
public void processAfterEdit(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
processAfterEdit in interface org.kuali.rice.kns.maintenance.MaintainableprocessAfterEdit in class org.kuali.rice.kns.maintenance.KualiMaintainableImplorg.kuali.rice.kns.maintenance.KualiMaintainableImpl#processAfterEdit()protected void setStartDateDefault()
Delegate BO
public List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
Delegate
generateMaintenanceLocks in interface org.kuali.rice.kns.maintenance.MaintainablegenerateMaintenanceLocks in class org.kuali.rice.kns.maintenance.KualiMaintainableImplKualiMaintainableImpl.generateMaintenanceLocks()public String getLockingDocumentId()
getLockingDocumentId in interface org.kuali.rice.kns.maintenance.MaintainablegetLockingDocumentId in class org.kuali.rice.kns.maintenance.KualiMaintainableImplprotected org.kuali.rice.kns.document.MaintenanceLock createMaintenanceLock(String[] fieldNames)
fieldNames -
protected String createLockingRepresentation(String[] fieldNames)
fieldNames -
protected String retrieveFieldValueForLock(String fieldName,
org.kuali.rice.kns.service.DataDictionaryService ddService,
org.kuali.rice.core.service.EncryptionService encryptionService)
fieldName - ddService -
public org.kuali.rice.kns.document.MaintenanceLock createGlobalAccountLock()
public void saveBusinessObject()
saveBusinessObject in interface org.kuali.rice.kns.maintenance.MaintainablesaveBusinessObject in class org.kuali.rice.kns.maintenance.KualiMaintainableImplKualiMaintainableImpl.saveBusinessObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||