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

java.lang.Object
  extended by org.kuali.rice.kns.maintenance.KualiMaintainableImpl
      extended by org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl
          extended by org.kuali.kfs.module.cam.document.AssetLocationGlobalMaintainableImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.SelectiveReferenceRefresher, org.kuali.rice.kns.maintenance.Maintainable

public class AssetLocationGlobalMaintainableImpl
extends org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl

This class overrides the base KualiGlobalMaintainableImpl to generate the specific maintenance locks for Global location assets

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
AssetLocationGlobalMaintainableImpl()
           
 
Method Summary
 void addNewLineToCollection(String collectionName)
          Populates any empty fields from Asset primary key
 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()
           
 Class<? extends org.kuali.rice.kns.bo.PersistableBusinessObject> getPrimaryEditedBusinessObjectClass()
           
 Map<String,String> populateNewCollectionLines(Map<String,String> fieldValues, org.kuali.rice.kns.document.MaintenanceDocument maintenanceDocument, String methodToCall)
           
 
Methods inherited from class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl
prepareForSave, prepareGlobalsForSave, processAfterRetrieve, processGlobalsAfterRetrieve, saveBusinessObject
 
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, populateNewSubCollectionLines, prepareBusinessObject, prepareBusinessObjectForAdditionFromMultipleValueLookup, processAfterAddLine, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, processBeforeAddLine, refresh, refreshReferences, 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

AssetLocationGlobalMaintainableImpl

public AssetLocationGlobalMaintainableImpl()
Method Detail

addNewLineToCollection

public void addNewLineToCollection(String collectionName)
Populates any empty fields from Asset primary key

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

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)

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
Specified by:
generateMaintenanceLocks in class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl
See Also:
KualiGlobalMaintainableImpl.generateMaintenanceLocks()

populateNewCollectionLines

public Map<String,String> populateNewCollectionLines(Map<String,String> fieldValues,
                                                     org.kuali.rice.kns.document.MaintenanceDocument maintenanceDocument,
                                                     String methodToCall)
Specified by:
populateNewCollectionLines in interface org.kuali.rice.kns.maintenance.Maintainable
Overrides:
populateNewCollectionLines in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl

getCapitalAssetManagementModuleService

protected CapitalAssetManagementModuleService getCapitalAssetManagementModuleService()

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.