public abstract class BasicListPage<T> extends BasicPage<T>
| Constructor and Description |
|---|
BasicListPage(Class<T> clz) |
BasicListPage(Class<T> baseClass,
String txt) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustCriteria(QCriteria<T> crit) |
void |
createContent() |
protected void |
customizeLookupForm(LookupForm<T> lf)
Override this to customize the lookup form.
|
protected LookupForm<T> |
getLookupForm() |
protected IQueryHandler<T> |
getQueryHandler() |
IRowRenderer<T> |
getRowRenderer()
Get the row renderer to use for the request.
|
boolean |
hasEditRight() |
boolean |
isAllowEmptySearch()
When set to T this allows searching a set without any specified criteria.
|
boolean |
isSearchImmediately()
When set to TRUE this makes the form immediately execute a query with all
empty lookup fields, meaning it will immediately show a list of rows.
|
protected void |
onLookupFormClear(LookupForm<T> lf)
Override to do extra things when the lookupform's "clear" button is pressed.
|
protected abstract void |
onNew()
Implement to handle pressing the "new record" button.
|
abstract void |
onSelect(T rcord)
Implement to handle a selection of a record that was found.
|
protected void |
onShelve() |
void |
setAllowEmptySearch(boolean allowEmptySearch)
When set to T this allows searching a set without any specified criteria.
|
protected void |
setLookupForm(LookupForm<T> lookupForm) |
protected void |
setQueryHandler(IQueryHandler<T> queryHandler) |
void |
setRowRenderer(IRowRenderer<T> rr)
Override to provide your own Row Renderer.
|
void |
setSearchImmediately(boolean searchImmediately)
When set to TRUE this makes the form immediately execute a query with all
empty lookup fields, meaning it will immediately show a list of rows.
|
addPageHeaders, addPageTitleBar, clearGlobalMessages, getBaseClass, getBaseClassBundle, getClassBundle, getPropertyModel, getTitleBar, setPageTitlecloseWindow, componentHandleWebAction, fixStretchBody, fixStretchBodyUnkludged, forceReloadData, getNotifyPageEvent, getPageTitle, getSharedContext, getSharedContext, getSharedContextFactory, getSharedContextFactory, getTestRepeatId, getThemeVariant, lc, onDestroy, onForceRebuild, onReload, resetAllSharedContexts, setNotifyPageEvent, setThemeVariant, unkludgeafterCreateContent, fadeIn, fadeOut, getCustomUpdatesCallJS, getDragHandler, getDropBody, getDropHandler, getDropMode, getReturnPressed, setDragHandler, setDropBody, setDropHandler, setReturnPressed, slideDown, slideUp, tb, visitadd, add, add, addTable, addTableForLayout, addTableForLayout, appendTreeErrors, canContain, createFrame, delegateTo, disableAllChildControlsDeep, findChildIndex, forceRebuild, getChild, getChildCount, getChildren, getDeepChildren, getDelegate, getErrorFence, getTextContents, hasError, internalAdd, internalCheckNotDirty, internalClearDelta, internalClearDeltaFully, internalCreateFrame, internalGetNodeCount, internalGetOldChildren, internalOnBeforeRender, internalShelve, internalUnshelve, iterator, onRefresh, removeAllChildren, removeChild, removeChild, replaceChild, setErrorFence, setErrorFence, setText, setValue, undelegatedAdd, undelegatedGetChild$, acceptRequestParameter, addBinding, addCssClass, addGlobalMessage, addNotificationListener, alignToLeft, alignToLeft, alignToMiddle, alignToMiddle, alignTopToBottom, alignTopToBottom, alignToRight, alignToRight, alignToTop, alignToTop, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, appendJQuerySelector, appendJsCustomUpdatesContributor, appendShowOverflowTextAsTitleJs, appendStatement, beforeCreateContent, bind, bind, bindErrors, build, calcTestID, changed, changedJavascriptState, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, clearValidationFailure, componentHandleWebDataRequest, createStatement, findComponentBundle, findParent, getActualID, getAllocationTracepoint, getBindingErrors, getBindingList, getBrowserWindowSize, getCalculatedTestID, getClicked, getClientBounds, getComponentBundle, getComponentDataURL, getComponentDataURL, getComponentInfo, getComponentJSONURL, getCreateJS, getCssClass, getErrorList, getErrorLocation, getFocusID, getMessage, getOnClickJS, getOnMouseDownJS, getOnSizeAndPositionChange, getPage, getParent, getParent, getParent, getParentOfTypes, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getThemedResourceRURL, getTitle, getUserObject, handleDrop, hasCssClass, hasParent, internalGetOldParent, internalGetParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnClicked, internalOnValueChanged, internalRenderJavascriptDelta, internalRenderJavascriptState, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetLogAllocations, internalSetTag, isAttached, isBuilt, isFocusable, isFocusRequested, isRendersOwnClose, isStretchHeight, notify, notifyParentOrOpenerPage, onAddedToPage, onBeforeFullRender, onBeforeRender, onHeaderContributors, onRemoveFromPage, onUnshelve, refresh, remove, removeBinding, removeCssClass, renderJavascriptDelta, renderJavascriptState, renderJavascriptState, replaceWith, setBrowserWindowSize, setCalculcatedId, setCalculcatedId, setClicked, setClientBounds, setComponentBundle, setCssClass, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setOnSizeAndPositionChange, setOverrideTitle, setSpecialAttribute, setStretchHeight, setTestID, setTestRepeatID, setTitle, setUserObject, toStringgetBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBottom, getCachedStyle, getClear, getColor, getDisplay, getFloat, getFontFamily, getFontSize, getFontSizeAdjust, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLineHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverflow, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPosition, getRight, getTextAlign, getTop, getTransform, getVerticalAlign, getVisibility, getWidth, getZIndex, internalSetDisplay, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorder, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBottom, setCachedStyle, setClear, setColor, setDisplay, setFloat, setFontFamily, setFontSize, setFontSizeAdjust, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setWidth, setZIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic abstract void onSelect(@Nonnull T rcord) throws Exception
rcord - Exceptionprotected abstract void onNew()
throws Exception
Exceptionprotected void customizeLookupForm(@Nonnull LookupForm<T> lf) throws Exception
lf - Exceptionpublic void createContent()
throws Exception
createContent in class BasicPage<T>Exceptionprotected void onShelve()
throws Exception
protected void onLookupFormClear(LookupForm<T> lf) throws Exception
LookupForm.clearInput().lf - Exceptionpublic IRowRenderer<T> getRowRenderer() throws Exception
Exceptionpublic void setRowRenderer(IRowRenderer<T> rr)
public boolean isSearchImmediately()
public void setSearchImmediately(boolean searchImmediately)
showDefaultSearch - public boolean isAllowEmptySearch()
public void setAllowEmptySearch(boolean allowEmptySearch)
allowEmptySearch - public boolean hasEditRight()
protected LookupForm<T> getLookupForm()
protected void setLookupForm(LookupForm<T> lookupForm)
protected IQueryHandler<T> getQueryHandler()
protected void setQueryHandler(IQueryHandler<T> queryHandler)
Copyright © 2017 etc.to. All rights reserved.