public class PromotionReportResult<T extends Serializable> extends PoppableReportResult<T,ReporterMeta>
ReportResult
specific to OrderModifier and Type | Field and Description |
---|---|
protected PromotionDetailsPanel |
targetPromotionDetailsPanel
When selecting an Order will update Promotion Details
|
authorizationModule, params, secirityLog
Constructor and Description |
---|
PromotionReportResult(String id,
org.apache.wicket.model.IModel<ReporterMeta> model,
Object[] params) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.wicket.Component |
getComponentForCell(String componentId,
Object value,
Object record,
int colIndex,
String fieldName,
ReporterMeta reporterMeta)
By default converts every cell data into a Label
|
protected void |
onRecordClick(org.apache.wicket.ajax.AjaxRequestTarget target,
String id,
Object record,
String fieldName,
Object... context) |
void |
setTargetPromotionDetailsPanel(PromotionDetailsPanel targetPromotionDetailsPanel) |
defineReportDataProvider, makePoppable
defineColumns, filter, getDataPanel, getParams, getStatelessHint, onChange, onInitialize, populateBulkButtonItem, secure, setParams
getMarkupType, getWebPage, getWebRequest
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onComponentTag, onConfigure, onDetach, onEndRequest, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
protected transient PromotionDetailsPanel targetPromotionDetailsPanel
public PromotionReportResult(String id, org.apache.wicket.model.IModel<ReporterMeta> model, Object[] params)
protected org.apache.wicket.Component getComponentForCell(String componentId, Object value, Object record, int colIndex, String fieldName, ReporterMeta reporterMeta)
ReportResult
getComponentForCell
in class ReportResult<T extends Serializable,ReporterMeta>
componentId
- as String, passed Id for component from the Container like a Data gridvalue
- as Object of the cellrecord
- as Object, defining the row as a List, Array or any EntitycolIndex
- as intfieldName
- as String (Name of the field if its an entity or ColIndex is not)reporterMeta
- as protected void onRecordClick(org.apache.wicket.ajax.AjaxRequestTarget target, String id, Object record, String fieldName, Object... context)
onRecordClick
in class PoppableReportResult<T extends Serializable,ReporterMeta>
target
- as AjaxRequestTargetid
- as Component Idrecord
- as ObjectfieldName
- as String; same as supplied to PoppableReportResult.makePoppable(String, Object, String, Object...)
context
- Object... additional paramspublic void setTargetPromotionDetailsPanel(PromotionDetailsPanel targetPromotionDetailsPanel)
Copyright © 2018. All rights reserved.