|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.maintenance.KualiMaintainableImpl
org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl
org.kuali.kfs.sys.document.FinancialSystemGlobalMaintainable
org.kuali.kfs.sys.document.LedgerPostingMaintainable
org.kuali.kfs.module.cam.document.AssetGlobalMaintainableImpl
public class AssetGlobalMaintainableImpl
This class overrides the base KualiGlobalMaintainableImpl to generate the specific maintenance locks for Global assets
| Field Summary | |
|---|---|
protected static String |
REQUIRES_REVIEW
|
| 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 | |
|---|---|
AssetGlobalMaintainableImpl()
|
|
| Method Summary | |
|---|---|
void |
addNewLineToCollection(String collectionName)
Hook for quantity and setting asset numbers. |
protected boolean |
answerSplitNodeQuestion(String nodeName)
If the Add Asset Global document is submit from CAB, bypass all the approvers. |
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()
|
List<Long> |
getWorkflowEngineDocumentIdsToLock()
Lock on purchase order document since post processor will update PO document by adding notes. |
protected boolean |
isAccountAndOrganizationReviewRequired()
check whether or not isCapitalAssetBuilderOriginIndicator |
void |
prepareForSave()
|
void |
processAfterNew(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
Get Asset from AssetGlobal |
void |
processAfterPost(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
|
void |
processAfterRetrieve()
|
protected void |
recalculateTotalAmount(AssetGlobal assetGlobal)
Recalculate amounts in the Recalculate Total Amount Tab |
void |
setEqualSeparateSourceAmounts(org.kuali.rice.kns.util.KualiDecimal[] equalSourceAmountsArray,
AssetGlobal assetGlobal)
Separates the current asset amount equally into new unique assets. |
void |
setGenerateDefaultValues(String docTypeName)
|
void |
setupNewFromExisting(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
|
| Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemGlobalMaintainable |
|---|
populateChartOfAccountsCodeFields, processBeforeAddLine, refreshReferences |
| Methods inherited from class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl |
|---|
prepareGlobalsForSave, 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, hasBusinessObjectExisted, initNewCollectionLine, isBoNotesEnabled, isExternalBusinessObject, isOldBusinessObjectInDocument, isRelationshipRefreshable, performCollectionForceUpperCase, performFieldForceUpperCase, performFieldForceUpperCase, performForceUpperCase, populateBusinessObject, populateNewCollectionLines, populateNewSubCollectionLines, prepareBusinessObject, prepareBusinessObjectForAdditionFromMultipleValueLookup, processAfterAddLine, processAfterCopy, processAfterEdit, refresh, setBoClass, setBusinessObject, setDocumentNumber, setGenerateBlankRequiredValues, setMaintenanceAction, setNewCollectionLineDefaultValues, setShowInactiveRecords, shouldFieldBeEncrypted, useCustomLockDescriptors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String REQUIRES_REVIEW
| Constructor Detail |
|---|
public AssetGlobalMaintainableImpl()
| Method Detail |
|---|
public List<Long> getWorkflowEngineDocumentIdsToLock()
getWorkflowEngineDocumentIdsToLock in interface org.kuali.rice.kns.maintenance.MaintainablegetWorkflowEngineDocumentIdsToLock in class org.kuali.rice.kns.maintenance.KualiMaintainableImplKualiMaintainableImpl.getWorkflowEngineDocumentIdsToLock()
protected boolean answerSplitNodeQuestion(String nodeName)
throws UnsupportedOperationException
answerSplitNodeQuestion in class FinancialSystemGlobalMaintainableUnsupportedOperationExceptionprotected boolean isAccountAndOrganizationReviewRequired()
public void processAfterNew(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
processAfterNew in interface org.kuali.rice.kns.maintenance.MaintainableprocessAfterNew in class org.kuali.rice.kns.maintenance.KualiMaintainableImplKualiMaintainableImpl.processAfterNew(org.kuali.rice.kns.document.MaintenanceDocument,
java.util.Map)public void setGenerateDefaultValues(String docTypeName)
setGenerateDefaultValues in interface org.kuali.rice.kns.maintenance.MaintainablesetGenerateDefaultValues in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
public void setupNewFromExisting(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
setupNewFromExisting in interface org.kuali.rice.kns.maintenance.MaintainablesetupNewFromExisting in class org.kuali.rice.kns.maintenance.KualiMaintainableImplpublic void addNewLineToCollection(String collectionName)
addNewLineToCollection in interface org.kuali.rice.kns.maintenance.MaintainableaddNewLineToCollection in class org.kuali.rice.kns.maintenance.KualiMaintainableImplKualiMaintainableImpl.addNewLineToCollection(java.lang.String)public List<org.kuali.rice.kns.document.MaintenanceLock> generateMaintenanceLocks()
generateMaintenanceLocks in interface org.kuali.rice.kns.maintenance.MaintainablegenerateMaintenanceLocks in class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImplMaintainable.generateMaintenanceLocks()protected CapitalAssetManagementModuleService getCapitalAssetManagementModuleService()
public void prepareForSave()
prepareForSave in interface org.kuali.rice.kns.maintenance.MaintainableprepareForSave in class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImplKualiGlobalMaintainableImpl.prepareForSave()public void processAfterRetrieve()
processAfterRetrieve in interface org.kuali.rice.kns.maintenance.MaintainableprocessAfterRetrieve in class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImplKualiGlobalMaintainableImpl.processAfterRetrieve()
public void processAfterPost(org.kuali.rice.kns.document.MaintenanceDocument document,
Map<String,String[]> parameters)
processAfterPost in interface org.kuali.rice.kns.maintenance.MaintainableprocessAfterPost in class FinancialSystemGlobalMaintainableKualiMaintainableImpl.processAfterPost(org.kuali.rice.kns.document.MaintenanceDocument,
java.util.Map)protected void recalculateTotalAmount(AssetGlobal assetGlobal)
assetGlobal -
public void setEqualSeparateSourceAmounts(org.kuali.rice.kns.util.KualiDecimal[] equalSourceAmountsArray,
AssetGlobal assetGlobal)
kualiDecimalArray - assetGlobal - public void doRouteStatusChange(org.kuali.rice.kns.bo.DocumentHeader documentHeader)
doRouteStatusChange in interface org.kuali.rice.kns.maintenance.MaintainabledoRouteStatusChange in class org.kuali.rice.kns.maintenance.KualiMaintainableImplKualiMaintainableImpl.doRouteStatusChange(org.kuali.rice.kns.bo.DocumentHeader)public Class<? extends org.kuali.rice.kns.bo.PersistableBusinessObject> getPrimaryEditedBusinessObjectClass()
getPrimaryEditedBusinessObjectClass in class org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImplKualiGlobalMaintainableImpl.getPrimaryEditedBusinessObjectClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||