Class TermSpecificationMaintainable

java.lang.Object
org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
org.kuali.rice.krad.maintenance.MaintainableImpl
org.kuali.rice.krms.impl.ui.TermSpecificationMaintainable
All Implemented Interfaces:
Serializable, org.kuali.rice.krad.maintenance.Maintainable, org.kuali.rice.krad.uif.service.ViewHelperService

public class TermSpecificationMaintainable extends org.kuali.rice.krad.maintenance.MaintainableImpl
Maintainable for the AgendaEditor
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Overrides the parent method to additionaly clear the contexts list, which is needed for serialization performance invalid input: '&' space.
    void
    processAfterAddLine(org.kuali.rice.krad.uif.view.ViewModel viewModel, Object addLine, String collectionId, String collectionPath, boolean isValidLine)
    For context addition, adds the item to the persisted contextValidTerms collection on the data object.
    void
    processAfterCopy(org.kuali.rice.krad.maintenance.MaintenanceDocument document, Map<String,String[]> requestParameters)
     
    void
    processAfterEdit(org.kuali.rice.krad.maintenance.MaintenanceDocument document, Map<String,String[]> requestParameters)
    void
    processAfterNew(org.kuali.rice.krad.maintenance.MaintenanceDocument document, Map<String,String[]> requestParameters)
    void
    Recreate the contexts from the contextIDs (needed due to serialization)
    void
    processCollectionDeleteLine(org.kuali.rice.krad.uif.view.ViewModel viewModel, String collectionId, String collectionPath, int lineIndex)
    For context removal, removes the given item from the persisted contextValidTerms collection on the data object.
    retrieveObjectForEditOrCopy(org.kuali.rice.krad.maintenance.MaintenanceDocument document, Map<String,String> dataObjectKeys)
     

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

    deleteDataObject, doRouteStatusChange, generateMaintenanceLocks, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getKualiRuleService, getLegacyDataAdapter, getLockingDocumentId, getMaintenanceAction, getMaintenanceDocumentService, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isExternalBusinessObject, isLockable, isNotesEnabled, isOldDataObjectInDocument, performAddLineValidation, performCustomApplyModel, performCustomFinalize, performCustomViewFinalize, prepareExternalBusinessObject, processAfterDeleteLine, processAfterPost, saveDataObject, setDataObject, 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, processCollectionEditLine, processCollectionRetrieveEditLineDialog, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, refreshReferences, 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.uif.service.ViewHelperService

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

    • TermSpecificationMaintainable

      public TermSpecificationMaintainable()
  • Method Details

    • retrieveObjectForEditOrCopy

      public Object retrieveObjectForEditOrCopy(org.kuali.rice.krad.maintenance.MaintenanceDocument document, Map<String,String> dataObjectKeys)
      Specified by:
      retrieveObjectForEditOrCopy in interface org.kuali.rice.krad.maintenance.Maintainable
      Overrides:
      retrieveObjectForEditOrCopy in class org.kuali.rice.krad.maintenance.MaintainableImpl
    • processAfterNew

      public void processAfterNew(org.kuali.rice.krad.maintenance.MaintenanceDocument document, Map<String,String[]> requestParameters)
      Specified by:
      processAfterNew in interface org.kuali.rice.krad.maintenance.Maintainable
      Overrides:
      processAfterNew in class org.kuali.rice.krad.maintenance.MaintainableImpl
    • processAfterEdit

      public void processAfterEdit(org.kuali.rice.krad.maintenance.MaintenanceDocument document, Map<String,String[]> requestParameters)
      Specified by:
      processAfterEdit in interface org.kuali.rice.krad.maintenance.Maintainable
      Overrides:
      processAfterEdit in class org.kuali.rice.krad.maintenance.MaintainableImpl
    • processAfterCopy

      public void processAfterCopy(org.kuali.rice.krad.maintenance.MaintenanceDocument document, Map<String,String[]> requestParameters)
      Specified by:
      processAfterCopy in interface org.kuali.rice.krad.maintenance.Maintainable
      Overrides:
      processAfterCopy in class org.kuali.rice.krad.maintenance.MaintainableImpl
    • prepareForSave

      public void prepareForSave()
      Overrides the parent method to additionaly clear the contexts list, which is needed for serialization performance invalid input: '&' space.
      Specified by:
      prepareForSave in interface org.kuali.rice.krad.maintenance.Maintainable
      Overrides:
      prepareForSave in class org.kuali.rice.krad.maintenance.MaintainableImpl
      See Also:
      • Maintainable.prepareForSave()
    • processAfterAddLine

      public void processAfterAddLine(org.kuali.rice.krad.uif.view.ViewModel viewModel, Object addLine, String collectionId, String collectionPath, boolean isValidLine)
      For context addition, adds the item to the persisted contextValidTerms collection on the data object.

      Without this step, the context is only added to a transient collection and the relationship will never be persisted.

      Specified by:
      processAfterAddLine in interface org.kuali.rice.krad.uif.service.ViewHelperService
      Overrides:
      processAfterAddLine in class org.kuali.rice.krad.maintenance.MaintainableImpl
    • processCollectionDeleteLine

      public void processCollectionDeleteLine(org.kuali.rice.krad.uif.view.ViewModel viewModel, String collectionId, String collectionPath, int lineIndex)
      For context removal, removes the given item from the persisted contextValidTerms collection on the data object.

      Without this step, the context is only removed from a transient collection and the severed relationship will never be persisted.

      Specified by:
      processCollectionDeleteLine in interface org.kuali.rice.krad.uif.service.ViewHelperService
      Overrides:
      processCollectionDeleteLine in class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
    • getDataObjectClass

      public Class getDataObjectClass()
      Specified by:
      getDataObjectClass in interface org.kuali.rice.krad.maintenance.Maintainable
      Overrides:
      getDataObjectClass in class org.kuali.rice.krad.maintenance.MaintainableImpl
    • processAfterRetrieve

      public void processAfterRetrieve()
      Recreate the contexts from the contextIDs (needed due to serialization)
      Specified by:
      processAfterRetrieve in interface org.kuali.rice.krad.maintenance.Maintainable
      Overrides:
      processAfterRetrieve in class org.kuali.rice.krad.maintenance.MaintainableImpl
      See Also:
      • Maintainable.processAfterRetrieve()