Class DocumentTypeMaintainable

java.lang.Object
org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
org.kuali.rice.krad.maintenance.MaintainableImpl
org.kuali.rice.kns.maintenance.KualiMaintainableImpl
org.kuali.rice.kew.document.DocumentTypeMaintainable
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.SelectiveReferenceRefresher, org.kuali.rice.kns.maintenance.Maintainable, org.kuali.rice.krad.maintenance.Maintainable, org.kuali.rice.krad.uif.service.ViewHelperService

public class DocumentTypeMaintainable extends org.kuali.rice.kns.maintenance.KualiMaintainableImpl
This class is the maintainable implementation for the Workflow DocumentType
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Field Summary

    Fields inherited from class org.kuali.rice.kns.maintenance.KualiMaintainableImpl

    businessObject, businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, documentHelperService, inactiveRecordDisplay, maintenanceDocumentDictionaryService, newCollectionLineNames, newCollectionLines, personService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doRouteStatusChange(org.kuali.rice.krad.bo.DocumentHeader documentHeader)
     
    protected String
     
    getSections(org.kuali.rice.kns.document.MaintenanceDocument document, org.kuali.rice.kns.maintenance.Maintainable oldMaintainable)
    Override the getSections method on this maintainable so that the document type name field can be set to read-only for
    void
    processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument document, Map<String,String[]> parameters)
    This overridden method resets the name
    void
    This is a complete override which does not call into KualiMaintainableImpl.

    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, getDataObjectMetaDataService, getDocumentHelperService, getDocumentTitle, getDuplicateIdentifierFieldsFromDataDictionary, getInactiveRecordDisplay, getMaintainableTitle, getMaintenanceDocumentDictionaryService, getMultiValueIdentifierList, getNewCollectionLine, getPersistenceStructureService, getPersonService, getShowInactiveRecords, hasBusinessObjectExisted, initNewCollectionLine, isBoNotesEnabled, isExternalBusinessObject, isNotesEnabled, isOldBusinessObjectInDocument, isRelationshipRefreshable, performCollectionForceUpperCase, performFieldForceUpperCase, performFieldForceUpperCase, performForceUpperCase, populateBusinessObject, populateNewCollectionLines, populateNewSubCollectionLines, prepareBusinessObject, prepareBusinessObjectForAdditionFromMultipleValueLookup, processAfterAddLine, processAfterEdit, processAfterNew, processAfterPost, processBeforeAddLine, refresh, refreshReferences, retrieveObjectForEditOrCopy, saveDataObject, setBoClass, setBusinessObject, setBusinessObjectAuthorizationService, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setDataObject, setDataObjectMetaDataService, setDocumentHelperService, setGenerateBlankRequiredValues, setGenerateDefaultValues, setMaintenanceDocumentDictionaryService, setNewCollectionLineDefaultValues, setPersonService, setShowInactiveRecords, setupNewFromExisting, shouldFieldBeEncrypted

    Methods inherited from class org.kuali.rice.krad.maintenance.MaintainableImpl

    deleteDataObject, generateMaintenanceLocks, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getEncryptionService, getKualiRuleService, getLegacyDataAdapter, getLockingDocumentId, getMaintenanceAction, getMaintenanceDocumentService, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, performAddLineValidation, performCustomApplyModel, performCustomFinalize, performCustomViewFinalize, prepareExternalBusinessObject, prepareForSave, processAfterAddLine, processAfterCopy, processAfterDeleteLine, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, setDataObjectAuthorizationService, setDataObjectClass, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setKualiRuleService, setLegacyDataAdapter, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptors

    Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl

    addCustomContainerComponents, addLine, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, containsDuplicateLine, extractNewValuesAndAssign, extractSingleValue, filterByReturnedFieldConversions, getConfigurationService, getCurrentPersonContactId, getDataDictionaryService, getDefaultValueForField, getExpressionEvaluatorFactory, getViewDictionaryService, isDuplicateLine, linkAddedLine, logAndThrowRuntime, performCustomInitialization, performCustomViewInitialization, performDeleteLineValidation, populateDefaultValueForField, populateViewFromRequestParameters, processAfterEditLine, processAfterSaveLine, processAndAddLineObject, processBeforeAddLine, processBeforeEditLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionCloseEditLineDialog, processCollectionDeleteLine, processCollectionEditLine, processCollectionRetrieveEditLineDialog, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, retrieveEditModesAndActionFlags, setConfigurationService, setDataDictionaryService, setDataObjectService, setElementContext, setExpressionEvaluatorFactory, setViewContext, setViewDictionaryService

    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, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectClass, getDocumentTitle, getLockingDocumentId, getMaintenanceAction, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, setDataObjectClass, setDocumentNumber, setMaintenanceAction, setupNewFromExisting, useCustomLockDescriptors

    Methods inherited from interface org.kuali.rice.krad.uif.service.ViewHelperService

    addCustomContainerComponents, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, getDefaultValueForField, getExpressionEvaluatorFactory, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performCustomViewFinalize, performCustomViewInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterEditLine, processAfterSaveLine, processAndAddLineObject, processBeforeAddLine, processBeforeEditLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionCloseEditLineDialog, processCollectionDeleteLine, processCollectionEditLine, processCollectionRetrieveEditLineDialog, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, retrieveEditModesAndActionFlags, setElementContext, setViewContext
  • Constructor Details

    • DocumentTypeMaintainable

      public DocumentTypeMaintainable()
  • Method Details

    • getSections

      public List getSections(org.kuali.rice.kns.document.MaintenanceDocument document, org.kuali.rice.kns.maintenance.Maintainable oldMaintainable)
      Override the getSections method on this maintainable so that the document type name field can be set to read-only for
      Specified by:
      getSections in interface org.kuali.rice.kns.maintenance.Maintainable
      Overrides:
      getSections in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
    • processAfterCopy

      public void processAfterCopy(org.kuali.rice.kns.document.MaintenanceDocument document, Map<String,String[]> parameters)
      This overridden method resets the name
      Specified by:
      processAfterCopy in interface org.kuali.rice.kns.maintenance.Maintainable
      Overrides:
      processAfterCopy in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
    • doRouteStatusChange

      public void doRouteStatusChange(org.kuali.rice.krad.bo.DocumentHeader documentHeader)
      Specified by:
      doRouteStatusChange in interface org.kuali.rice.krad.maintenance.Maintainable
      Overrides:
      doRouteStatusChange in class org.kuali.rice.krad.maintenance.MaintainableImpl
    • saveBusinessObject

      public void saveBusinessObject()
      This is a complete override which does not call into KualiMaintainableImpl. This method calls DocumentTypeService.versionAndSave(DocumentType).
      Specified by:
      saveBusinessObject in interface org.kuali.rice.kns.maintenance.Maintainable
      Overrides:
      saveBusinessObject in class org.kuali.rice.kns.maintenance.KualiMaintainableImpl
    • getDocumentTypeName

      protected String getDocumentTypeName()
      Overrides:
      getDocumentTypeName in class org.kuali.rice.krad.maintenance.MaintainableImpl