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, useCustomLockDescriptors
addCustomContainerComponents, 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, setViewDictionaryService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public TermSpecificationMaintainable()
public Object retrieveObjectForEditOrCopy(MaintenanceDocument document, Map<String,String> dataObjectKeys)
Maintainable
retrieveObjectForEditOrCopy
in interface Maintainable
retrieveObjectForEditOrCopy
in class MaintainableImpl
document
- 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 Maintainable
processAfterNew
in class MaintainableImpl
document
- - 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 Maintainable
processAfterEdit
in class MaintainableImpl
document
- - 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)
Maintainable
processAfterCopy
in interface Maintainable
processAfterCopy
in class MaintainableImpl
document
- - 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 Maintainable
prepareForSave
in class MaintainableImpl
Maintainable.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 ViewHelperService
processAfterAddLine
in class MaintainableImpl
viewModel
- 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 ViewHelperService
processCollectionDeleteLine
in class ViewHelperServiceImpl
viewModel
- 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()
Maintainable
getDataObjectClass
in interface Maintainable
getDataObjectClass
in class MaintainableImpl
Maintainable.getDataObjectClass()
public void processAfterRetrieve()
processAfterRetrieve
in interface Maintainable
processAfterRetrieve
in class MaintainableImpl
Maintainable.processAfterRetrieve()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.