public abstract class ReportingAdmin extends Object implements Serializable
ReportingAdminPanel
and reportingAdmin
Modifier and Type | Field and Description |
---|---|
protected AuthorizationModule<Void> |
authorizationModule |
static org.apache.wicket.markup.html.form.IChoiceRenderer<ReporterMeta<FacetMeta>> |
CHOICE_RENDERER |
Constructor and Description |
---|
ReportingAdmin(Module module,
ReportingService<Module,FacetMeta> reportingService) |
Modifier and Type | Method and Description |
---|---|
protected List<ReporterMeta<FacetMeta>> |
defineReportDefinition(Module module) |
boolean |
filter(User user,
ReporterMeta<FacetMeta> reporterMeta)
By default Filter Authorizable Reports that are not meant for current user
Controls the Reports Available to a User on a reporting page |
protected abstract List<org.apache.wicket.markup.html.WebMarkupContainer> |
getRecordDetailsPanels()
Define a Record Details Panel(s); since there maybe different Details type panels on different columns
|
List<ReporterMeta<FacetMeta>> |
getReporterMetasForCurrentModule(org.apache.wicket.Request request) |
protected abstract ReportResult |
getReportResult(List<org.apache.wicket.markup.html.WebMarkupContainer> recordDetailsContainers)
Define a
ReportResult ; and hook it up with Container to handle Record Details in the Report |
void |
initialize(org.apache.wicket.Request request,
org.apache.wicket.MarkupContainer container) |
protected void |
onReportChange(ReportResult reportResultContainer,
ReporterInput inputSection,
org.apache.wicket.model.IModel selectedReporterMetaModel,
org.apache.wicket.ajax.AjaxRequestTarget target)
Action on A report change selection on interface
|
protected AuthorizationModule<Void> authorizationModule
public static final org.apache.wicket.markup.html.form.IChoiceRenderer<ReporterMeta<FacetMeta>> CHOICE_RENDERER
public ReportingAdmin(Module module, ReportingService<Module,FacetMeta> reportingService)
public boolean filter(User user, ReporterMeta<FacetMeta> reporterMeta)
protected List<ReporterMeta<FacetMeta>> defineReportDefinition(Module module)
public List<ReporterMeta<FacetMeta>> getReporterMetasForCurrentModule(org.apache.wicket.Request request)
public void initialize(org.apache.wicket.Request request, org.apache.wicket.MarkupContainer container)
protected void onReportChange(ReportResult reportResultContainer, ReporterInput inputSection, org.apache.wicket.model.IModel selectedReporterMetaModel, org.apache.wicket.ajax.AjaxRequestTarget target)
reportResultContainer
- as ReportResult
inputSection
- as ReporterInput
tselectedReporterMetaModel
- as IModel
target
- as AjaxRequestTarget
protected abstract List<org.apache.wicket.markup.html.WebMarkupContainer> getRecordDetailsPanels()
protected abstract ReportResult getReportResult(List<org.apache.wicket.markup.html.WebMarkupContainer> recordDetailsContainers)
ReportResult
; and hook it up with Container to handle Record Details in the ReportrecordDetailsContainer(s)
- as WebMarkupContainer
ReportResult
Copyright © 2018. All rights reserved.