org.kuali.rice.krms.service.impl
Class RuleEditorMaintainableImpl
java.lang.Object
org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
org.kuali.rice.krad.maintenance.MaintainableImpl
org.kuali.student.enrollment.uif.service.impl.KSMaintainableImpl
org.kuali.rice.krms.service.impl.RuleEditorMaintainableImpl
- All Implemented Interfaces:
- Serializable, Maintainable, ViewHelperService, RuleEditorMaintainable, KSMaintainable
- Direct Known Subclasses:
- AORuleEditorMaintainableImpl, CORuleEditorMaintainableImpl
public class RuleEditorMaintainableImpl
- extends KSMaintainableImpl
- implements RuleEditorMaintainable
Maintainable
for the AgendaEditor
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Method Summary |
protected void |
finPropositionEditor(PropositionEditor propositionEditor)
|
protected void |
finRule(RuleEditor rule,
String rulePrefix,
String namespace)
|
protected AgendaEditor |
getAgendaEditor(String agendaId)
|
KrmsTypeRepositoryService |
getKrmsTypeRepositoryService()
|
protected List<RuleEditor> |
getRuleEditorsFromTree(List<AgendaTreeEntryDefinitionContract> agendaTreeEntries)
|
RuleManagementService |
getRuleManagementService()
|
protected Map<String,String> |
getTermParameters(PropositionEditor proposition)
|
TermRepositoryService |
getTermRepositoryService()
|
protected TermSpecificationDefinition |
getTermSpecForType(String type)
|
protected void |
initPropositionEditor(PropositionEditor propositionEditor)
|
protected void |
processAfterAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine)
In the case of edit maintenance adds a new blank line to the old side
TODO: should this write some sort of missing message on the old side
instead? |
void |
processAfterEdit(MaintenanceDocument document,
Map<String,String[]> requestParameters)
|
void |
processAfterNew(MaintenanceDocument document,
Map<String,String[]> requestParameters)
|
Object |
retrieveObjectForEditOrCopy(MaintenanceDocument document,
Map<String,String> dataObjectKeys)
|
void |
saveDataObject()
|
protected String |
saveTerm(PropositionEditor propositionEditor)
|
Methods inherited from class org.kuali.rice.krad.maintenance.MaintainableImpl |
deleteDataObject, doRouteStatusChange, generateMaintenanceLocks, getBusinessObjectService, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectMetaDataService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getLockingDocumentId, getLookupService, getMaintenanceAction, getMaintenanceDocumentService, getWorkflowEngineDocumentIdsToLock, isExternalBusinessObject, isNotesEnabled, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterCopy, processAfterDeleteLine, processAfterPost, processAfterRetrieve, setBusinessObjectService, setDataObject, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setLookupService, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptors |
Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl |
addClientSideStateForComponent, addCustomContainerComponents, addLine, adjustIdIfNecessary, applyAuthorizationAndPresentationLogic, applyDefaultValues, applyDefaultValuesForCollectionLine, buildClientSideStateScript, buildGrowlScript, buildInquiryLink, cleanViewAfterRender, findNestedDictionaryAttribute, getCommonContext, getConfigurationService, getDataDictionaryService, getExpressionEvaluatorService, getPreModelContext, getViewDictionaryService, initializeDataFieldFromDataDictionary, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterSaveLine, processAnyRemoteFieldsHolder, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, retrieveEditModesAndActionFlags, runComponentModifiers, setConfigurationService, setDataDictionaryService, setExpressionEvaluatorService, setViewContext, setViewDictionaryService, syncClientSideStateForComponent |
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.maintenance.Maintainable |
deleteDataObject, doRouteStatusChange, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectClass, getDocumentTitle, getLockingDocumentId, getMaintenanceAction, getWorkflowEngineDocumentIdsToLock, isExternalBusinessObject, isNotesEnabled, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterCopy, processAfterPost, processAfterRetrieve, setDataObject, setDataObjectClass, setDocumentNumber, setMaintenanceAction, setupNewFromExisting, useCustomLockDescriptors |
Methods inherited from interface org.kuali.rice.krad.uif.service.ViewHelperService |
applyDefaultValuesForCollectionLine, buildInquiryLink, cleanViewAfterRender, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults |
NEW_AGENDA_EDITOR_DOCUMENT_TEXT
public static final String NEW_AGENDA_EDITOR_DOCUMENT_TEXT
- See Also:
- Constant Field Values
RuleEditorMaintainableImpl
public RuleEditorMaintainableImpl()
retrieveObjectForEditOrCopy
public Object retrieveObjectForEditOrCopy(MaintenanceDocument document,
Map<String,String> dataObjectKeys)
- Specified by:
retrieveObjectForEditOrCopy
in interface Maintainable
- Overrides:
retrieveObjectForEditOrCopy
in class MaintainableImpl
getAgendaEditor
protected AgendaEditor getAgendaEditor(String agendaId)
getRuleEditorsFromTree
protected List<RuleEditor> getRuleEditorsFromTree(List<AgendaTreeEntryDefinitionContract> agendaTreeEntries)
processAfterNew
public void processAfterNew(MaintenanceDocument document,
Map<String,String[]> requestParameters)
-
- Specified by:
processAfterNew
in interface Maintainable
- Overrides:
processAfterNew
in class MaintainableImpl
processAfterEdit
public void processAfterEdit(MaintenanceDocument document,
Map<String,String[]> requestParameters)
- Specified by:
processAfterEdit
in interface Maintainable
- Overrides:
processAfterEdit
in class MaintainableImpl
saveDataObject
public void saveDataObject()
- Specified by:
saveDataObject
in interface Maintainable
- Overrides:
saveDataObject
in class MaintainableImpl
finRule
protected void finRule(RuleEditor rule,
String rulePrefix,
String namespace)
finPropositionEditor
protected void finPropositionEditor(PropositionEditor propositionEditor)
saveTerm
protected String saveTerm(PropositionEditor propositionEditor)
getTermSpecForType
protected TermSpecificationDefinition getTermSpecForType(String type)
initPropositionEditor
protected void initPropositionEditor(PropositionEditor propositionEditor)
getTermParameters
protected Map<String,String> getTermParameters(PropositionEditor proposition)
processAfterAddLine
protected void processAfterAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine)
- In the case of edit maintenance adds a new blank line to the old side
TODO: should this write some sort of missing message on the old side
instead?
- Overrides:
processAfterAddLine
in class MaintainableImpl
- Parameters:
view
- - view instance that is being presented (the action was taken
on)collectionGroup
- - collection group component for the collection the line that
was addedmodel
- - object instance that contain's the views dataaddLine
- - the new line that was added- See Also:
ViewHelperServiceImpl.processAfterAddLine(org.kuali.rice.krad.uif.view.View,
org.kuali.rice.krad.uif.container.CollectionGroup, Object,
Object)
getRuleManagementService
public RuleManagementService getRuleManagementService()
getKrmsTypeRepositoryService
public KrmsTypeRepositoryService getKrmsTypeRepositoryService()
getTermRepositoryService
public TermRepositoryService getTermRepositoryService()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.