org.kuali.kfs.coa.document
Class AccountDelegateGlobalMaintainableImpl

java.lang.Object
  extended by org.kuali.rice.kns.maintenance.KualiMaintainableImpl
      extended by org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl
          extended by org.kuali.kfs.sys.document.FinancialSystemGlobalMaintainable
              extended by org.kuali.kfs.coa.document.AccountDelegateGlobalMaintainableImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.SelectiveReferenceRefresher, org.kuali.rice.kns.maintenance.Maintainable

public class AccountDelegateGlobalMaintainableImpl
extends FinancialSystemGlobalMaintainable

This class overrides the base FinancialSystemGlobalMaintainable to generate the specific maintenance locks for Global delegates and to help with using delegate models

See Also:
OrganizationRoutingModelName, 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
AccountDelegateGlobalMaintainableImpl()
           
 
Method Summary
 List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
          This creates the particular locking representation for this global document.
 String getLockingDocumentId()
           
 Class<? extends org.kuali.rice.kns.bo.PersistableBusinessObject> getPrimaryEditedBusinessObjectClass()
           
 void saveBusinessObject()
          Overridden to update the delegations for currently routing documents; this also guarantees that the business objects to change will be saved in a separate transaction
 void setupNewFromExisting(org.kuali.rice.kns.document.MaintenanceDocument document, Map<String,String[]> parameters)
          This method is used for the creation of a delegate from a OrganizationRoutingModelName
 
Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemGlobalMaintainable
answerSplitNodeQuestion, populateChartOfAccountsCodeFields, processAfterPost, processBeforeAddLine, refreshReferences
 
Methods inherited from class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl
prepareForSave, prepareGlobalsForSave, processAfterRetrieve, processGlobalsAfterRetrieve
 
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, processAfterAddLine, processAfterCopy, processAfterEdit, processAfterNew, refresh, setBoClass, setBusinessObject, setDocumentNumber, setGenerateBlankRequiredValues, setGenerateDefaultValues, setMaintenanceAction, setNewCollectionLineDefaultValues, setShowInactiveRecords, shouldFieldBeEncrypted, useCustomLockDescriptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountDelegateGlobalMaintainableImpl

public AccountDelegateGlobalMaintainableImpl()
Method Detail

setupNewFromExisting

public void setupNewFromExisting(org.kuali.rice.kns.document.MaintenanceDocument document,
                                 Map<String,String[]> parameters)
This method is used for the creation of a delegate from a OrganizationRoutingModelName

Specified by:
setupNewFromExisting in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
setupNewFromExisting in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
See Also:
org.kuali.rice.kns.maintenance.KualiMaintainableImpl#setupNewFromExisting()

getLockingDocumentId

public String getLockingDocumentId()
Specified by:
getLockingDocumentId in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
getLockingDocumentId in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl

generateMaintenanceLocks

public List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
This creates the particular locking representation for this global document.

Specified by:
generateMaintenanceLocks in interface org.kuali.rice.kns.maintenance.Maintainable
Specified by:
generateMaintenanceLocks in class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl
See Also:
Maintainable.generateMaintenanceLocks()

getPrimaryEditedBusinessObjectClass

public Class<? extends org.kuali.rice.kns.bo.PersistableBusinessObject> getPrimaryEditedBusinessObjectClass()
Specified by:
getPrimaryEditedBusinessObjectClass in class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl

saveBusinessObject

public void saveBusinessObject()
Overridden to update the delegations for currently routing documents; this also guarantees that the business objects to change will be saved in a separate transaction

Specified by:
saveBusinessObject in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
saveBusinessObject in class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl
See Also:
KualiGlobalMaintainableImpl.saveBusinessObject()


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