org.kuali.kfs.module.cg.document
Class AwardMaintainableImpl

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

public class AwardMaintainableImpl
extends FinancialSystemMaintainable

Methods for the Award maintenance document UI.

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
AwardMaintainableImpl()
          Constructs an AwardMaintainableImpl.
AwardMaintainableImpl(Award award)
          Constructs a AwardMaintainableImpl.
 
Method Summary
 void addNewLineToCollection(String collectionName)
          Called for refreshing the Subcontractor on ProposalSubcontractor before adding to the proposalSubcontractors collection on the proposal.
 void doRouteStatusChange(org.kuali.rice.kns.bo.DocumentHeader header)
          This method overrides the parent method to check the status of the award document and change the linked ProposalStatus to A (Approved) if the Award is now in approved status.
 List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
           
 Award getAward()
          Gets the underlying Award.
 void prepareForSave()
          This method is called for refreshing the Agency before a save to display the full name in case the agency number was changed by hand just before the save.
 void processAfterRetrieve()
          This method is called for refreshing the Agency before display to show the full name in case the agency number was changed by hand before any submit that causes a redisplay.
 void refresh(String refreshCaller, Map fieldValues, org.kuali.rice.kns.document.MaintenanceDocument document)
          This method is called for refreshing the Agency after a lookup to display its full name without AJAX.
 
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, clearBusinessObjectOfRestrictedValues, clearCollectionRestrictedValues, clearFieldRestrictedValues, decryptEncryptedData, deleteBusinessObject, 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, saveBusinessObject, 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

AwardMaintainableImpl

public AwardMaintainableImpl()
Constructs an AwardMaintainableImpl.


AwardMaintainableImpl

public AwardMaintainableImpl(Award award)
Constructs a AwardMaintainableImpl.

Parameters:
award -
Method Detail

processAfterRetrieve

public void processAfterRetrieve()
This method is called for refreshing the Agency before display to show the full name in case the agency number was changed by hand before any submit that causes a redisplay.

Specified by:
processAfterRetrieve in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
processAfterRetrieve in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl

prepareForSave

public void prepareForSave()
This method is called for refreshing the Agency before a save to display the full name in case the agency number was changed by hand just before the save.

Specified by:
prepareForSave in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
prepareForSave in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl

refresh

public void refresh(String refreshCaller,
                    Map fieldValues,
                    org.kuali.rice.kns.document.MaintenanceDocument document)
This method is called for refreshing the Agency after a lookup to display its full name without AJAX.

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

getAward

public Award getAward()
Gets the underlying Award.

Returns:

addNewLineToCollection

public void addNewLineToCollection(String collectionName)
Called for refreshing the Subcontractor on ProposalSubcontractor before adding to the proposalSubcontractors collection on the proposal. this is to ensure that the summary fields are show correctly. i.e. Subcontractor name

Specified by:
addNewLineToCollection in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
addNewLineToCollection in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
See Also:
KualiMaintainableImpl.addNewLineToCollection(java.lang.String)

doRouteStatusChange

public void doRouteStatusChange(org.kuali.rice.kns.bo.DocumentHeader header)
This method overrides the parent method to check the status of the award document and change the linked ProposalStatus to A (Approved) if the Award is now in approved status.

Specified by:
doRouteStatusChange in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
doRouteStatusChange in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
See Also:
KualiMaintainableImpl.doRouteStatusChange(org.kuali.rice.kns.bo.DocumentHeader)

generateMaintenanceLocks

public List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
Specified by:
generateMaintenanceLocks in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
generateMaintenanceLocks in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl


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