org.kuali.kfs.coa.document
Class ObjectCodeGlobalMaintainableImpl

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.ObjectCodeGlobalMaintainableImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.SelectiveReferenceRefresher, org.kuali.rice.kns.maintenance.Maintainable

public class ObjectCodeGlobalMaintainableImpl
extends FinancialSystemGlobalMaintainable

This class provides some specific functionality for the ObjectCodeGlobal maintenance document refresh - sets the current fiscal year from the ObjectCodeGlobalDetail prepareGlobalsForSave - sets the object code on each detail object in the collection generateMaintenanceLocks - generates the appropriate maintenance locks for the ObjectCode

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
ObjectCodeGlobalMaintainableImpl()
           
 
Method Summary
protected  Map<String,Boolean> buildObjectCodeActiveStatusCache(ObjectCodeGlobal objectCodeGlobal)
           
protected  String buildObjectCodeCachingKey(ObjectCode objectCode)
           
 List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
          This generates the appropriate maintenance locks for the ObjectCode
 Class<? extends org.kuali.rice.kns.bo.PersistableBusinessObject> getPrimaryEditedBusinessObjectClass()
           
protected  boolean isInactivatingObjectCode(ObjectCode objectCode)
           
protected  boolean isInactivatingObjectCode(ObjectCode objectCode, Map<String,Boolean> objectCodeActiveStatusCache)
           
protected  void prepareGlobalsForSave()
          This method sets the object code on each detail object in the collection
 void saveBusinessObject()
           
 
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, 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, 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, processAfterAddLine, processAfterCopy, processAfterEdit, processAfterNew, 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

ObjectCodeGlobalMaintainableImpl

public ObjectCodeGlobalMaintainableImpl()
Method Detail

prepareGlobalsForSave

protected void prepareGlobalsForSave()
This method sets the object code on each detail object in the collection

Overrides:
prepareGlobalsForSave in class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl

generateMaintenanceLocks

public List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
This generates the appropriate maintenance locks for the ObjectCode

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()

saveBusinessObject

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

isInactivatingObjectCode

protected boolean isInactivatingObjectCode(ObjectCode objectCode)

isInactivatingObjectCode

protected boolean isInactivatingObjectCode(ObjectCode objectCode,
                                           Map<String,Boolean> objectCodeActiveStatusCache)

buildObjectCodeCachingKey

protected String buildObjectCodeCachingKey(ObjectCode objectCode)

buildObjectCodeActiveStatusCache

protected Map<String,Boolean> buildObjectCodeActiveStatusCache(ObjectCodeGlobal objectCodeGlobal)

getPrimaryEditedBusinessObjectClass

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


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