org.kuali.kfs.module.cam.document
Class AssetMaintainableImpl

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

public class AssetMaintainableImpl
extends FinancialSystemMaintainable

This class implements custom data preparation for displaying asset edit screen.

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
AssetMaintainableImpl()
           
 
Method Summary
 void doRouteStatusChange(org.kuali.rice.kns.bo.DocumentHeader documentHeader)
           
 List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
          We are using a substitute mechanism for asset locking which can lock on assets when rule check passed.
protected  CapitalAssetManagementModuleService getCapitalAssetManagementModuleService()
           
 List<org.kuali.rice.kns.web.ui.Section> getCoreSections(org.kuali.rice.kns.document.MaintenanceDocument document, org.kuali.rice.kns.maintenance.Maintainable oldMaintainable)
           
 List<String> getFpLinkedDocumentInfo()
           
 List<String> getFpLinks()
           
 List<String> getPreqLinks()
           
 boolean isFabricationOn()
           
 void processAfterEdit(org.kuali.rice.kns.document.MaintenanceDocument document, Map parameters)
           
 void processAfterNew(org.kuali.rice.kns.document.MaintenanceDocument document, Map<String,String[]> parameters)
           
 void processAfterRetrieve()
          KFSMI-5964: added refresh to Asset object after retrieve to prevent updated depreciation data from wiped on existing saved/enrouted maint.
 void saveBusinessObject()
           
 void setFabricationOn(boolean fabricationOn)
           
 void setGenerateDefaultValues(String docTypeName)
           
 
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, generateAllAffectedReferences, getAffectedReferencesFromLookup, getAllRefreshableReferences, getBoClass, getBusinessObject, getBusinessObjectAuthorizationService, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, 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, processAfterCopy, refresh, setBoClass, setBusinessObject, setDocumentNumber, setGenerateBlankRequiredValues, 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

AssetMaintainableImpl

public AssetMaintainableImpl()
Method Detail

generateMaintenanceLocks

public List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
We are using a substitute mechanism for asset locking which can lock on assets when rule check passed. Return empty list from this method.

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

doRouteStatusChange

public void doRouteStatusChange(org.kuali.rice.kns.bo.DocumentHeader documentHeader)
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)

getCapitalAssetManagementModuleService

protected CapitalAssetManagementModuleService getCapitalAssetManagementModuleService()

processAfterEdit

public void processAfterEdit(org.kuali.rice.kns.document.MaintenanceDocument document,
                             Map parameters)
Specified by:
processAfterEdit in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
processAfterEdit in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
Parameters:
document - Maintenance Document used for editing
parameters - Parameters available
See Also:
Maintainable.processAfterEdit(org.kuali.rice.kns.document.MaintenanceDocument, java.util.Map)

getCoreSections

public List<org.kuali.rice.kns.web.ui.Section> getCoreSections(org.kuali.rice.kns.document.MaintenanceDocument document,
                                                               org.kuali.rice.kns.maintenance.Maintainable oldMaintainable)
Overrides:
getCoreSections in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
See Also:
KualiMaintainableImpl.refresh(java.lang.String, java.util.Map, org.kuali.rice.kns.document.MaintenanceDocument)

processAfterRetrieve

public void processAfterRetrieve()
KFSMI-5964: added refresh to Asset object after retrieve to prevent updated depreciation data from wiped on existing saved/enrouted maint. doc

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

saveBusinessObject

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

processAfterNew

public void processAfterNew(org.kuali.rice.kns.document.MaintenanceDocument document,
                            Map<String,String[]> parameters)
Specified by:
processAfterNew in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
processAfterNew in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl

setGenerateDefaultValues

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

getFpLinks

public List<String> getFpLinks()

getPreqLinks

public List<String> getPreqLinks()

getFpLinkedDocumentInfo

public List<String> getFpLinkedDocumentInfo()

isFabricationOn

public boolean isFabricationOn()

setFabricationOn

public void setFabricationOn(boolean fabricationOn)


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