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 |
---|---|
BusinessObjectService |
getBoService() |
Class |
getDataObjectClass()
Returns the class for the data object being maintained
|
PersistableBusinessObject |
getPersistableBusinessObject()
Returns the data object if its persistable, null otherwise
|
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 |
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
|
protected void |
processBeforeAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine)
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, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectMetaDataService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getLockingDocumentId, getLookupService, getMaintenanceAction, getMaintenanceDocumentService, getWorkflowEngineDocumentIdsToLock, isExternalBusinessObject, isNotesEnabled, prepareExternalBusinessObject, processAfterAddLine, processAfterCopy, processAfterDeleteLine, processAfterPost, processAfterRetrieve, setDataObject, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setLookupService, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptors
addCustomContainerComponents, addLine, adjustIdIfNecessary, applyAuthorizationAndPresentationLogic, applyDefaultValues, applyDefaultValuesForCollectionLine, buildClientSideStateScript, buildExportTableData, buildExportTableRow, buildGrowlScript, buildInquiryLink, cleanViewAfterRender, findNestedDictionaryAttribute, getBusinessObjectService, getCommonContext, getConfigurationService, getDataDictionaryService, getExportTableFormatOptions, getExpressionEvaluator, getPersistenceService, getPersistenceStructureService, getPreModelContext, getViewDictionaryService, initializeDataFieldFromDataDictionary, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterSaveLine, processAnyRemoteFieldsHolder, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReferences, retrieveEditModesAndActionFlags, runComponentModifiers, setBusinessObjectService, setConfigurationService, setDataDictionaryService, setExpressionEvaluator, setPersistenceService, setPersistenceStructureService, setViewContext, setViewDictionaryService, spawnSubLifecyle, syncClientSideStateForComponent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyDefaultValuesForCollectionLine, buildExportTableData, buildInquiryLink, cleanViewAfterRender, getCommonContext, getExpressionEvaluator, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReferences, spawnSubLifecyle
public static final String NEW_AGENDA_EDITOR_DOCUMENT_TEXT
public AgendaEditorMaintainable()
public BusinessObjectService getBoService()
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 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
Maintainable.isLockable()
public PersistableBusinessObject getPersistableBusinessObject()
MaintainableImpl
getPersistableBusinessObject
in interface Maintainable
getPersistableBusinessObject
in class MaintainableImpl
Maintainable.getPersistableBusinessObject()
protected void processBeforeAddLine(View view, CollectionGroup collectionGroup, Object model, Object addLine)
ViewHelperServiceImpl
processBeforeAddLine
in class ViewHelperServiceImpl
view
- view instance that is being presented (the action was taken on)collectionGroup
- collection group component for the collection the line will be added
tomodel
- object instance that contain's the views dataaddLine
- the new line instance to be processedCopyright © 2005–2015 The Kuali Foundation. All rights reserved.