public class RuleViewHelperServiceImpl extends KSViewHelperServiceImpl implements RuleViewHelperService
| Constructor and Description |
|---|
RuleViewHelperServiceImpl() |
convertServiceExceptionsToUI, createContextInfo, getHelper, getStateInfo, getStateService, getTypeInfo, getTypeService, setHelperClassesaddClientSideStateForComponent, 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, processAfterAddLine, processAfterDeleteLine, processAfterSaveLine, processAnyRemoteFieldsHolder, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, retrieveEditModesAndActionFlags, runComponentModifiers, setConfigurationService, setDataDictionaryService, setExpressionEvaluatorService, setViewContext, setViewDictionaryService, syncClientSideStateForComponentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyDefaultValuesForCollectionLine, buildInquiryLink, cleanViewAfterRender, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResultspublic RuleViewHelperServiceImpl()
protected RuleEditor getRuleEditor(Object model)
public String getViewTypeName()
getViewTypeName in interface RuleViewHelperServicepublic TemplateInfo getTemplateForType(String type)
getTemplateForType in interface RuleViewHelperServiceprotected void addCustomContainerComponents(View view, Object model, Container container)
ViewHelperServiceImplSubclasses can override this method to check for one or more containers by id and then adding components created in code. This is invoked before the initialize method on the container component, so the full lifecycle will be run on the components returned.
New components instances can be retrieved using ComponentFactory
addCustomContainerComponents in class ViewHelperServiceImplview - - view instance the container belongs tomodel - - object containing the view datacontainer - - container instance to add components topublic static TermResolverDefinition getSimplestTermResolver(String termSpecId, String namespace)
termSpecId - the id of the term specificationnamespace - the namespace of the term specificationTermResolverDefinition found, or null if none was foundpublic String resetDescription(PropositionEditor prop)
resetDescription in interface RuleViewHelperServicepublic boolean validateProposition(PropositionEditor proposition, String namespace)
validateProposition in interface RuleViewHelperServiceproposition - the proposition to validatenamespace - the namespace of the parent rulepublic void refreshInitTrees(RuleEditor rule)
refreshInitTrees in interface RuleViewHelperServicepublic void refreshViewTree(RuleEditor rule)
refreshViewTree in interface RuleViewHelperServicepublic Tree<CompareTreeNode,String> buildCompareTree(RuleDefinitionContract original, String compareToRefObjectId) throws Exception
buildCompareTree in interface RuleViewHelperServiceExceptionpublic PropositionEditor copyProposition(PropositionEditor oldProposition)
copyProposition in interface RuleViewHelperServicepublic PropositionEditor createCompoundPropositionBoStub(PropositionEditor existing, boolean addNewChild)
createCompoundPropositionBoStub in interface RuleViewHelperServicepublic PropositionEditor createSimplePropositionBoStub(PropositionEditor sibling)
createSimplePropositionBoStub in interface RuleViewHelperServicepublic Class<? extends PropositionEditor> getPropositionEditorClass()
protected RuleManagementService getRuleManagementService()
protected RuleCompareTreeBuilder getCompareTreeBuilder()
protected RuleEditTreeBuilder getEditTreeBuilder()
protected RulePreviewTreeBuilder getPreviewTreeBuilder()
protected RuleViewTreeBuilder getViewTreeBuilder()
protected NaturalLanguageHelper getNaturalLanguageHelper()
protected TemplateRegistry getTemplateRegistry()
protected KrmsTypeRepositoryService getKrmsTypeRepositoryService()
public TermRepositoryService getTermRepositoryService()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.