public abstract class AbstractAttrsWizardStep<S extends SchemaTO> extends WizardStep implements WizardModel.ICondition
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractAttrsWizardStep.PlainSchemas<T> |
class |
AbstractAttrsWizardStep.Schemas |
Modifier and Type | Field and Description |
---|---|
protected AnyTO |
anyTO |
protected AnyTypeClassRestClient |
anyTypeClassRestClient |
protected Comparator<AttrTO> |
attrComparator |
protected IModel<List<AttrTO>> |
attrTOs |
protected String |
fileKey |
protected AjaxWizard.Mode |
mode |
protected AnyTO |
previousObject |
protected Map<String,S> |
schemas |
ENABLE, FLAG_INITIALIZED, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING, RFLAG_CONTAINER_HAS_REMOVALS
Constructor and Description |
---|
AbstractAttrsWizardStep(AnyTO anyTO,
AjaxWizard.Mode mode,
List<String> anyTypeClasses,
List<String> whichAttrs,
EntityWrapper<?> modelObject) |
Modifier and Type | Method and Description |
---|---|
protected FormComponent<?> |
checkboxToggle(AttrTO attrTO,
AbstractFieldPanel<?> panel,
boolean isMultivalue) |
boolean |
evaluate() |
protected abstract List<AttrTO> |
getAttrsFromTO() |
protected FieldPanel |
getFieldPanel(PlainSchemaTO plainSchema) |
PageReference |
getPageReference() |
protected abstract SchemaType |
getSchemaType() |
protected List<AttrTO> |
loadAttrTOs() |
void |
renderHead(IHeaderResponse response) |
protected boolean |
reoderSchemas() |
protected abstract void |
setAttrs() |
protected void |
setSchemas(List<String> anyTypeClasses,
Map<String,S> scs) |
add, applyState, detachModel, getHeader, getSummary, getTitle, getView, getWizardModel, init, isComplete, onInit, onInitialize, setComplete, setSummaryModel, setTitleModel
getRegionMarkup, newMarkupSourcingStrategy
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, onDetach, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, toString, visitChildren, visitChildren
add, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dequeue, newDequeueContext
forEach, spliterator
protected final Comparator<AttrTO> attrComparator
protected final AnyTypeClassRestClient anyTypeClassRestClient
protected final AnyTO anyTO
protected AnyTO previousObject
protected String fileKey
protected final AjaxWizard.Mode mode
public AbstractAttrsWizardStep(AnyTO anyTO, AjaxWizard.Mode mode, List<String> anyTypeClasses, List<String> whichAttrs, EntityWrapper<?> modelObject)
protected boolean reoderSchemas()
protected abstract SchemaType getSchemaType()
public void renderHead(IHeaderResponse response)
renderHead
in interface IHeaderContributor
renderHead
in class Component
protected abstract void setAttrs()
public boolean evaluate()
evaluate
in interface WizardModel.ICondition
public PageReference getPageReference()
protected FieldPanel getFieldPanel(PlainSchemaTO plainSchema)
protected FormComponent<?> checkboxToggle(AttrTO attrTO, AbstractFieldPanel<?> panel, boolean isMultivalue)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.