org.kuali.rice.kns.maintenance
Class KualiGlobalMaintainableImpl

java.lang.Object
  extended by org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
      extended by org.kuali.rice.krad.maintenance.MaintainableImpl
          extended by org.kuali.rice.kns.maintenance.KualiMaintainableImpl
              extended by org.kuali.rice.kns.maintenance.KualiGlobalMaintainableImpl
All Implemented Interfaces:
Serializable, SelectiveReferenceRefresher, Maintainable, ViewHelperService

public abstract class KualiGlobalMaintainableImpl
extends KualiMaintainableImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
businessObject, businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, documentHelperService, inactiveRecordDisplay, maintenanceDocumentDictionaryService, newCollectionLineNames, newCollectionLines, persistenceStructureService, personService
 
Constructor Summary
KualiGlobalMaintainableImpl()
           
 
Method Summary
abstract  List<MaintenanceLock> generateMaintenanceLocks()
          This overrides the standard version in KualiMaintainableImpl which works for non-global maintenance documents Each global document must in turn override this with its own locking representation, since it varies from document to document (some have one detail class and others have two, and the way to combine the two detail classes is unique to document with two detail classes)
abstract  Class<? extends PersistableBusinessObject> getPrimaryEditedBusinessObjectClass()
           
 void prepareForSave()
          Hook for performing any custom processing before the maintenance object is saved
protected  void prepareGlobalsForSave()
          This method does special-case handling for Globals, filling out various fields that need to be filled, etc.
 void processAfterRetrieve()
          Hook for performing any custom processing after the maintenance object is retrieved from persistence storage
protected  void processGlobalsAfterRetrieve()
          This method does special-case handling for Globals, doing various tasks that need to be done to make a global doc valid after its been loaded from the db/maintenance-system.
 void saveBusinessObject()
          This method will cause the Maintainable implementation to save/store the relevant business object(s).
 
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, getCoreSections, getDocumentHelperService, getDocumentTitle, getDuplicateIdentifierFieldsFromDataDictionary, getInactiveRecordDisplay, getMaintainableTitle, getMaintenanceDocumentDictionaryService, getMultiValueIdentifierList, getNewCollectionLine, getPersistenceStructureService, getPersonService, getSections, getShowInactiveRecords, hasBusinessObjectExisted, initNewCollectionLine, isBoNotesEnabled, isExternalBusinessObject, isNotesEnabled, isOldBusinessObjectInDocument, isRelationshipRefreshable, performCollectionForceUpperCase, performFieldForceUpperCase, performFieldForceUpperCase, performForceUpperCase, populateBusinessObject, populateNewCollectionLines, populateNewSubCollectionLines, prepareBusinessObject, prepareBusinessObjectForAdditionFromMultipleValueLookup, processAfterAddLine, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, processBeforeAddLine, refresh, refreshReferences, saveDataObject, setBoClass, setBusinessObject, setBusinessObjectAuthorizationService, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setDataObject, setDocumentHelperService, setGenerateBlankRequiredValues, setGenerateDefaultValues, setMaintenanceDocumentDictionaryService, setNewCollectionLineDefaultValues, setPersistenceStructureService, setPersonService, setShowInactiveRecords, setupNewFromExisting, shouldFieldBeEncrypted
 
Methods inherited from class org.kuali.rice.krad.maintenance.MaintainableImpl
deleteDataObject, doRouteStatusChange, getBusinessObjectService, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectMetaDataService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getLockingDocumentId, getLookupService, getMaintenanceAction, getMaintenanceDocumentService, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, prepareExternalBusinessObject, processAfterAddLine, processAfterCopy, processAfterDeleteLine, processAfterEdit, processAfterNew, processAfterPost, retrieveObjectForEditOrCopy, setBusinessObjectService, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setLookupService, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptors
 
Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
addClientSideStateForComponent, addCustomContainerComponents, addLine, applyAuthorizationAndPresentationLogic, applyDefaultValues, applyDefaultValuesForCollectionLine, buildClientSideStateScript, buildInquiryLink, cleanViewAfterRender, findNestedDictionaryAttribute, getCommonContext, getDataDictionaryService, getExpressionEvaluatorService, getPreModelContext, getViewDictionaryService, initializeDataFieldFromDataDictionary, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAnyRemoteFieldsHolder, processBeforeAddLine, processCollectionAddLine, processCollectionDeleteLine, processMultipleValueLookupResults, retrieveEditModesAndActionFlags, runComponentModifiers, setDataDictionaryService, setExpressionEvaluatorService, setViewContext, setViewDictionaryService, syncClientSideStateForComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krad.maintenance.Maintainable
deleteDataObject, doRouteStatusChange, getCustomLockDescriptor, getDataObject, getDataObjectClass, getDocumentTitle, getLockingDocumentId, getMaintenanceAction, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, prepareExternalBusinessObject, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, retrieveObjectForEditOrCopy, setDataObjectClass, setDocumentNumber, setMaintenanceAction, setupNewFromExisting, useCustomLockDescriptors
 
Methods inherited from interface org.kuali.rice.krad.uif.service.ViewHelperService
applyDefaultValuesForCollectionLine, buildInquiryLink, cleanViewAfterRender, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddLine, processCollectionDeleteLine, processMultipleValueLookupResults
 

Constructor Detail

KualiGlobalMaintainableImpl

public KualiGlobalMaintainableImpl()
Method Detail

prepareForSave

public void prepareForSave()
Description copied from interface: Maintainable
Hook for performing any custom processing before the maintenance object is saved

Specified by:
prepareForSave in interface Maintainable
Overrides:
prepareForSave in class MaintainableImpl
See Also:
Maintainable.prepareForSave()

processAfterRetrieve

public void processAfterRetrieve()
Description copied from interface: Maintainable
Hook for performing any custom processing after the maintenance object is retrieved from persistence storage

Specified by:
processAfterRetrieve in interface Maintainable
Overrides:
processAfterRetrieve in class MaintainableImpl
See Also:
Maintainable.processAfterRetrieve()

processGlobalsAfterRetrieve

protected void processGlobalsAfterRetrieve()
This method does special-case handling for Globals, doing various tasks that need to be done to make a global doc valid after its been loaded from the db/maintenance-system.


prepareGlobalsForSave

protected void prepareGlobalsForSave()
This method does special-case handling for Globals, filling out various fields that need to be filled, etc.


generateMaintenanceLocks

public abstract List<MaintenanceLock> generateMaintenanceLocks()
This overrides the standard version in KualiMaintainableImpl which works for non-global maintenance documents Each global document must in turn override this with its own locking representation, since it varies from document to document (some have one detail class and others have two, and the way to combine the two detail classes is unique to document with two detail classes)

Specified by:
generateMaintenanceLocks in interface Maintainable
Overrides:
generateMaintenanceLocks in class MaintainableImpl
Returns:
the locking representation(s) of this document, which are reproducible given the same keys and the same maintainable object
See Also:
Maintainable.generateMaintenanceLocks()

saveBusinessObject

public void saveBusinessObject()
Description copied from interface: Maintainable
This method will cause the Maintainable implementation to save/store the relevant business object(s). This typically is called only after the maint document has gone through state to final.

Overrides:
saveBusinessObject in class KualiMaintainableImpl
See Also:
org.kuali.rice.krad.maintenance.Maintainable#saveBusinessObject()

getPrimaryEditedBusinessObjectClass

public abstract Class<? extends PersistableBusinessObject> getPrimaryEditedBusinessObjectClass()


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