public class AgendaEditorMaintainable extends MaintainableImpl
Maintainable
for the AgendaEditor
Modifier and Type | Field and Description |
---|---|
static String |
NEW_AGENDA_EDITOR_DOCUMENT_TEXT |
Constructor and Description |
---|
AgendaEditorMaintainable() |
Modifier and Type | Method and Description |
---|---|
Class |
getDataObjectClass()
Returns the class for the data object being maintained
|
boolean |
isLockable()
Persistable business objects are lockable.
|
boolean |
isOldDataObjectInDocument()
Checks whether the data object is not null and has its primary key values populated.
|
void |
prepareForSave()
Hook for performing any custom processing before the maintenance object is saved
|
void |
processAfterCopy(MaintenanceDocument document,
Map<String,String[]> parameters)
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 |
processBeforeAddLine(ViewModel model,
Object addLine,
String collectionId,
String collectionPath)
Hook for service overrides to process the new collection line before it is added to the
collection
|
List<RemotableAttributeField> |
retrieveAgendaCustomAttributes(View view,
Object model,
Container container) |
Object |
retrieveObjectForEditOrCopy(MaintenanceDocument document,
Map<String,String> dataObjectKeys)
Called during setupMaintenanceObject to retrieve the original dataObject that is being
edited or copied.
|
List<RemotableAttributeField> |
retrieveRuleActionCustomAttributes(View view,
Object model,
Container container) |
List<RemotableAttributeField> |
retrieveRuleCustomAttributes(View view,
Object model,
Container container)
This only supports a single action within a rule.
|
List<RemotableAttributeField> |
retrieveTermParameters(View view,
Object model,
Container container)
Retrieve a list of
RemotableAttributeField s for the parameters (if any) required by the resolver for
the selected term in the proposition that is under edit. |
void |
saveDataObject()
Invoked to persist changes to the data object being maintained
|
deleteDataObject, doRouteStatusChange, generateMaintenanceLocks, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getKualiRuleService, getLegacyDataAdapter, getLockingDocumentId, getMaintenanceAction, getMaintenanceDocumentService, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isExternalBusinessObject, isNotesEnabled, performAddLineValidation, performCustomApplyModel, performCustomFinalize, performCustomViewFinalize, prepareExternalBusinessObject, processAfterAddLine, processAfterDeleteLine, processAfterPost, processAfterRetrieve, 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, processBeforeEditLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionCloseEditLineDialog, processCollectionDeleteLine, 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, processBeforeEditLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionCloseEditLineDialog, processCollectionDeleteLine, processCollectionEditLine, processCollectionRetrieveEditLineDialog, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, refreshReferences, retrieveEditModesAndActionFlags, setElementContext, setViewContext
public static final String NEW_AGENDA_EDITOR_DOCUMENT_TEXT
public AgendaEditorMaintainable()
public List<RemotableAttributeField> retrieveAgendaCustomAttributes(View view, Object model, Container container)
public List<RemotableAttributeField> retrieveTermParameters(View view, Object model, Container container)
RemotableAttributeField
s for the parameters (if any) required by the resolver for
the selected term in the proposition that is under edit.public List<RemotableAttributeField> retrieveRuleActionCustomAttributes(View view, Object model, Container container)
public List<RemotableAttributeField> retrieveRuleCustomAttributes(View view, Object model, Container container)
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)
Maintainable
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[]> parameters)
Maintainable
processAfterCopy
in interface Maintainable
processAfterCopy
in class MaintainableImpl
document
- - maintenance document instance this maintainable belong toparameters
- - 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()
Maintainable
prepareForSave
in interface Maintainable
prepareForSave
in class MaintainableImpl
Maintainable.prepareForSave()
public void saveDataObject()
Maintainable
Called after the maintenance document has become final indicating the changes should be applied
saveDataObject
in interface Maintainable
saveDataObject
in class MaintainableImpl
Maintainable.saveDataObject()
public boolean isOldDataObjectInDocument()
MaintainableImpl
isOldDataObjectInDocument
in interface Maintainable
isOldDataObjectInDocument
in class MaintainableImpl
MaintainableImpl.isOldDataObjectInDocument()
public Class getDataObjectClass()
Maintainable
getDataObjectClass
in interface Maintainable
getDataObjectClass
in class MaintainableImpl
Maintainable.getDataObjectClass()
public boolean isLockable()
MaintainableImpl
isLockable
in interface Maintainable
isLockable
in class MaintainableImpl
public void processBeforeAddLine(ViewModel model, Object addLine, String collectionId, String collectionPath)
ViewHelperServiceImpl
processBeforeAddLine
in interface ViewHelperService
processBeforeAddLine
in class ViewHelperServiceImpl
model
- object instance that contain's the view's dataaddLine
- the new line instance to be processedcollectionId
- the id of the collection being added tocollectionPath
- the path to the collection being modifiedCopyright © 2005–2014 The Kuali Foundation. All rights reserved.