public class TermSpecificationMaintainable extends MaintainableImpl
Maintainable for the AgendaEditor| Constructor and Description |
|---|
TermSpecificationMaintainable() |
| Modifier and Type | Method and Description |
|---|---|
Class |
getDataObjectClass()
Returns the class for the data object being maintained
|
void |
prepareForSave()
Overrides the parent method to additionaly clear the contexts list, which is needed for serialization performance
& space.
|
void |
processAfterAddLine(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(MaintenanceDocument document,
Map<String,String[]> requestParameters)
Hook for performing any custom processing after the maintenance object has been setup for a copy action
|
void |
processAfterEdit(MaintenanceDocument document,
Map<String,String[]> requestParameters)
Hook for performing any custom processing after the maintenance object has been setup for a edit action
|
void |
processAfterNew(MaintenanceDocument document,
Map<String,String[]> requestParameters)
Hook for performing any custom processing after the maintenance object has been setup for a new action
|
void |
processAfterRetrieve()
Recreate the contexts from the contextIDs (needed due to serialization)
|
void |
processCollectionDeleteLine(ViewModel viewModel,
String collectionId,
String collectionPath,
int lineIndex)
For context removal, removes the given item from the persisted contextValidTerms collection on the data object.
|
Object |
retrieveObjectForEditOrCopy(MaintenanceDocument document,
Map<String,String> dataObjectKeys)
Called during setupMaintenanceObject to retrieve the original dataObject that is being
edited or copied.
|
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, useCustomLockDescriptorsaddCustomContainerComponents, addLine, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, containsDuplicateLine, extractNewValuesAndAssign, extractSingleValue, filterByReturnedFieldConversions, getConfigurationService, 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, setViewDictionaryServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCustomContainerComponents, 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, setViewContextpublic TermSpecificationMaintainable()
public Object retrieveObjectForEditOrCopy(MaintenanceDocument document, Map<String,String> dataObjectKeys)
MaintainableretrieveObjectForEditOrCopy in interface MaintainableretrieveObjectForEditOrCopy in class MaintainableImpldocument - document instance for the maintenance objectdataObjectKeys - Map of keys for the requested objectMaintainable.retrieveObjectForEditOrCopy(MaintenanceDocument, java.util.Map)public void processAfterNew(MaintenanceDocument document, Map<String,String[]> requestParameters)
processAfterNew in interface MaintainableprocessAfterNew in class MaintainableImpldocument - - maintenance document instance this maintainable belong torequestParameters - - map of request parameters sent for the copy requestMaintainable.processAfterNew(org.kuali.rice.krad.maintenance.MaintenanceDocument, java.util.Map<java.lang.String, java.lang.String[]>)public void processAfterEdit(MaintenanceDocument document, Map<String,String[]> requestParameters)
processAfterEdit in interface MaintainableprocessAfterEdit in class MaintainableImpldocument - - maintenance document instance this maintainable belong torequestParameters - - map of request parameters sent for the copy requestMaintainable.processAfterEdit(org.kuali.rice.krad.maintenance.MaintenanceDocument, java.util.Map<java.lang.String, java.lang.String[]>)public void processAfterCopy(MaintenanceDocument document, Map<String,String[]> requestParameters)
MaintainableprocessAfterCopy in interface MaintainableprocessAfterCopy in class MaintainableImpldocument - - maintenance document instance this maintainable belong torequestParameters - - map of request parameters sent for the copy requestMaintainable.processAfterCopy(org.kuali.rice.krad.maintenance.MaintenanceDocument, java.util.Map<java.lang.String, java.lang.String[]>)public void prepareForSave()
prepareForSave in interface MaintainableprepareForSave in class MaintainableImplMaintainable.prepareForSave()public void processAfterAddLine(ViewModel viewModel, Object addLine, String collectionId, String collectionPath, boolean isValidLine)
Without this step, the context is only added to a transient collection and the relationship will never be persisted.
processAfterAddLine in interface ViewHelperServiceprocessAfterAddLine in class MaintainableImplviewModel - object instance that contain's the views dataaddLine - the new line that was addedcollectionId - the id of the collection being added tocollectionPath - the path to the collection being modifiedisValidLine - indicates if the line is validpublic void processCollectionDeleteLine(ViewModel viewModel, String collectionId, String collectionPath, int lineIndex)
Without this step, the context is only removed from a transient collection and the severed relationship will never be persisted.
processCollectionDeleteLine in interface ViewHelperServiceprocessCollectionDeleteLine in class ViewHelperServiceImplviewModel - Top level object containing the view data including the collectioncollectionId - the id of the collection being added tocollectionPath - the path to the collection being modifiedlineIndex - index of the collection line that was selected for removalpublic Class getDataObjectClass()
MaintainablegetDataObjectClass in interface MaintainablegetDataObjectClass in class MaintainableImplMaintainable.getDataObjectClass()public void processAfterRetrieve()
processAfterRetrieve in interface MaintainableprocessAfterRetrieve in class MaintainableImplMaintainable.processAfterRetrieve()Copyright © 2005–2016 The Kuali Foundation. All rights reserved.