Constructor and Description |
---|
CommentFacet(FacetMeta facetMeta) |
Modifier and Type | Method and Description |
---|---|
protected void |
SimpleEditorPanel.addMetaData(FacetMeta facetMeta) |
protected void |
SimpleEditorPanel.onInitialize(FacetMeta facetMeta) |
Constructor and Description |
---|
SimpleEditorPanel(String componentId,
C content,
FacetMeta facetMeta) |
SimpleEditorPanel(String componentId,
org.apache.wicket.model.IModel model,
FacetMeta facetMeta) |
Modifier and Type | Method and Description |
---|---|
static FacetMeta |
ContentDetailsPanel.getFacetMeta(Template t,
AbstractContentFacet facet)
An Override to
Template.getFacetMeta(String) since that does not support Index search. |
Modifier and Type | Method and Description |
---|---|
protected void |
ContentDetailsPanel.addGuides(C content,
Map<String,FacetMeta> templateFacetMetaMap,
FacetMeta fm,
CF contentFacet,
org.apache.wicket.markup.html.WebMarkupContainer facetMainContainer) |
protected void |
ContentDetailsPanel.addMetaData(FacetMeta fm,
CF contentFacet,
org.apache.wicket.markup.html.WebMarkupContainer facetMainContainer,
org.apache.wicket.markup.html.form.Form form) |
void |
ContentEditorPanel.configureEditor(FacetMeta fm)
Get the CSS(s) & related attribs from the Template#FacetMeta.attributes and configure the Editor to display as per template settings
|
protected org.apache.wicket.Component |
ContentDetailsPanel.createMainFacetEditor(org.apache.wicket.markup.html.list.ListItem<CF> item,
FacetMeta fm,
org.apache.wicket.markup.html.WebMarkupContainer facetContainer) |
protected org.apache.wicket.markup.html.WebMarkupContainer |
ContentEditorPanel.defineEditor(String id,
org.apache.wicket.model.IModel<String> contentModel,
String editorId,
FacetMeta facetMeta,
Object modelObject)
Define an editor for Content Editing.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ContentDetailsPanel.addGuides(C content,
Map<String,FacetMeta> templateFacetMetaMap,
FacetMeta fm,
CF contentFacet,
org.apache.wicket.markup.html.WebMarkupContainer facetMainContainer) |
protected List<MetaItem> |
ContentDetailsTemplatePanel.extractMetaItems(C modelObject,
Collection<? extends FacetMeta> __facets,
ContentType... filterContentType)
Process only
AbstractContentTemplate.getMetaDataFacets() |
protected org.apache.wicket.markup.html.list.ListView<CF> |
ContentDetailsPanel.getFacetComponents(C content,
List<CF> contentFacets,
Map<String,FacetMeta> templateFacetMetaMap,
org.apache.wicket.markup.html.WebMarkupContainer facetsContainer) |
protected void |
ContentDetailsPanel.populateExtraButtonItem(org.apache.wicket.markup.html.WebMarkupContainer container,
org.apache.wicket.model.IModel<CF> model,
org.apache.wicket.markup.html.list.ListItem<FacetMeta> item)
Define Extra Buttons if needed by defining List of
FacetMeta is Spring bean contentExtraActions & contentFacetExtraActions |
protected void |
TemplateDetailsPanel.populateExtraButtonItem(org.apache.wicket.markup.html.WebMarkupContainer container,
org.apache.wicket.model.IModel<T> model,
org.apache.wicket.markup.html.list.ListItem<FacetMeta> item)
Define Extra Buttons if needed by defining List of
FacetMeta is Spring bean contentExtraActions & contentFacetExtraActions |
Constructor and Description |
---|
ContentEditorPanel(String id,
org.apache.wicket.model.IModel<String> contentModel,
String editorId,
FacetMeta facetMeta,
Object modelObject) |
Modifier and Type | Method and Description |
---|---|
Collection<FacetMeta> |
AbstractContentTemplate.getMetaDataFacets()
Define additional
ContentDescriber.setAttributes(Map) and fields on ContentDescriber
Standard Template.getFacets() are reserved for the CONTENT Facets associated with the content. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractContentTemplate.setMetaDataFacets(Collection<FacetMeta> contentMetaFields)
Define additional
ContentDescriber.setAttributes(Map) and fields on ContentDescriber
Standard Template.getFacets() are reserved for the CONTENT Facets associated with the content. |
Constructor and Description |
---|
AbstractContentFacet(FacetMeta meta) |
ContentFacet(FacetMeta meta) |
Modifier and Type | Method and Description |
---|---|
String |
ContentFilterService.filterContent(String content,
FacetMeta facetMeta)
If any filter specified then apply filter; then apply it.
Filter content if a filter is specified in the getAttributes() with at attribute ATTRIB_FILTER |
String |
ContentFilterService.getDefaultContent(FacetMeta facetMeta)
Get a
FacetMeta.TemplateAttributes.DEFAULT_VALUE , if it exists for the FacetMeta this object is related to by
PublishableMarkupContentModel#facetMeta |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractPublishAdapter.filterContentAndApplyDefault(FacetMeta facetMeta,
AbstractContentFacet facet)
Filter content using
ContentFilterService.filterContent(String, FacetMeta) TODO: Add Unit Test |
Modifier and Type | Field and Description |
---|---|
protected FacetMeta |
MarkupContentModel.facetMeta |
Modifier and Type | Method and Description |
---|---|
FacetMeta |
MarkupContentModel.getFacet() |
Modifier and Type | Method and Description |
---|---|
void |
MarkupContentModel.setFacet(FacetMeta facet) |
Constructor and Description |
---|
MarkupContentModel(C contentDescriber,
FacetMeta facetMeta,
ContentContext<C,CA,CF> context,
Map<String,List<String>> facetContentCache,
GenericContentService<C,CA,CF> contentService) |
PublishableMarkupContentModel(C contentDescriber,
FacetMeta facetMeta,
ContentContext<C,CA,CF> context,
Map<String,List<String>> facetContentCache,
GenericContentService<C,CA,CF> contentService) |
Modifier and Type | Method and Description |
---|---|
protected <T extends FacetMeta> |
MockTemplatePage.getComponentForFacet(ContentDescriber contentDesc,
T facetMeta) |
protected abstract <T extends FacetMeta> |
TemplatePage.getComponentForFacet(C contentDesc,
T facet)
Called by and added to page my iterateAndAddContentFacetsToPage().
Note: Addition contextual info about Locale & ContentContext can be derived by the
Component.getLocale() & TemplatePage.getPageContext() methods. |
protected <T extends FacetMeta> |
PublishTemplatePage.getComponentForFacet(C contentDesc,
T facetMeta)
Called by and added to page my iterateAndAddContentFacetsToPage().
Note: Addition contextual info about Locale & ContentContext can be derived by the
Component.getLocale() & TemplatePage.getPageContext() methods. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
TemplatePage.allowOnPage(FacetMeta fm)
A Filter to check if a
FacetMeta should be added on Page or not |
protected org.apache.wicket.MarkupContainer |
TemplatePage.getContainerForFacet(org.apache.wicket.MarkupContainer container,
FacetMeta facet)
One can add components in a hierarchy using a
getAttribute(String) with attribute ATTRIB_NAMESPACE with a.b.c convention or a List a > b > c. |
Modifier and Type | Method and Description |
---|---|
protected void |
TemplatePage.iterateAndAddContentFacetsToPage(org.apache.wicket.MarkupContainer container,
C contentDesc,
Collection<? extends FacetMeta> facets)
Iterates over the collection of ? extends
ContentFacetMeta s and adds them using {@link #getComponentForFacet(ContentFacet)} to the {@link TemplatePage}. |
protected void |
CategoryTemplatePage.iterateAndAddContentFacetsToPage(org.apache.wicket.MarkupContainer container,
ContentDescriber contentDesc,
Collection<? extends FacetMeta> facets)
Deprecated.
Iterates over the collection of ? extends
FacetMeta s and adds them using {@link #getComponentForFacet(ContentFacet)} to the {@link TemplatePage}. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
TemplatePanel.addFacetToMetaItems(FacetMeta facet,
Map<String,Field> fieldMap,
ContentType... filterContentType)
Determine which fields/FacetMeta will render and be processed
|
protected boolean |
TemplatePanel.isAuthorized(FacetMeta facet,
Map<String,Field> fieldMap,
ContentType... filterContentType) |
protected boolean |
ListViewTemplatePanel.isAuthorized(FacetMeta facet,
Map<String,Field> fieldMap,
ContentType... filterContentType)
Add Authorization filter logic over super
TemplatePanel.addFacetToMetaItems(FacetMeta, Map, ContentType...) |
Modifier and Type | Method and Description |
---|---|
protected List<MetaItem> |
TemplatePanel.extractMetaItems(M modelObject,
Collection<? extends FacetMeta> facets,
ContentType... filterContentType)
Get template attributes + Fields that satisfy
TemplatePanel.filter(Map, Serializable)
In addition { TemplatePanel.filter(Map, Serializable) |
protected void |
TemplatePanel.iterateAndAddFacetsToPage(org.apache.wicket.MarkupContainer container,
M modelObject,
Collection<? extends FacetMeta> facets)
Iterates over the collection of ? extends
FacetMeta s and adds them to the TemplatePanel . |
Constructor and Description |
---|
PublishContentPanel(FacetMeta fm,
org.apache.wicket.model.IModel<List<String>> model) |
Modifier and Type | Method and Description |
---|---|
protected void |
orderAdmin.populateExtraButtonItem(org.apache.wicket.markup.html.WebMarkupContainer container,
org.apache.wicket.model.IModel<ContentFacet> listModel,
org.apache.wicket.markup.html.list.ListItem<FacetMeta> item)
Define Extra Buttons if needed by defining List of
FacetMeta is Spring bean orderListingExtraActions |
Modifier and Type | Method and Description |
---|---|
protected void |
OrderDetailsPanel.populateExtraButtonItem(org.apache.wicket.markup.html.WebMarkupContainer container,
org.apache.wicket.model.IModel<Order> model,
org.apache.wicket.markup.html.list.ListItem<FacetMeta> item)
Define Extra Buttons if needed by defining List of
FacetMeta is Spring bean orderExtraActions |
Modifier and Type | Field and Description |
---|---|
protected FacetMeta |
FileToProductsTransformer.contentFacet
The
FacetMeta in the Content the file will relate to |
Modifier and Type | Method and Description |
---|---|
FacetMeta |
FileToProductsTransformer.getContentFacet()
The
FacetMeta in the Content the file will relate to |
FacetMeta |
EntityUpdateResUploadActionTransformer.getRelatedField()
The
FacetMeta for the field, in the entity that will be updated and sequence number derived (if isCollectionType() ).If the context provides it and this is null then the context FacetMeta (key name facetMeta), will be used. |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
EntityUpdateResUploadActionTransformer.constructPath(T entity,
Map context,
FacetMeta fm,
String path,
int sequenceCode,
List fieldValues) |
protected String |
VelocityEntityUpdateResUploadActionTransformer.constructPath(T entity,
Map context,
FacetMeta fm,
String path,
int sequenceCode,
List fieldValues) |
void |
FileToProductsTransformer.setContentFacet(FacetMeta contentFacet)
The
FacetMeta in the Content the file will relate to |
void |
EntityUpdateResUploadActionTransformer.setRelatedField(FacetMeta relatedField)
The
FacetMeta for the field, in the entity that will be updated and sequence number derived (if isCollectionType() ).If the context provides it and this is null then the context FacetMeta (key name facetMeta), will be used. |
protected String |
EntityUpdateResUploadActionTransformer.validate(String renamedPath,
T entity,
Map context,
FacetMeta fm,
String path,
int sequenceCode,
List fieldValues)
An opportunity to validate the renamedPath with the environment.
|
Modifier and Type | Method and Description |
---|---|
ETLMeta<FacetMeta> |
ReaderProcess.getMeta() |
Constructor and Description |
---|
ReaderProcess(org.springframework.context.ConfigurableApplicationContext context,
AbstractReader<IN,T,Serializable> reader,
String anyUploadedResource,
Progression progression,
org.apache.wicket.markup.html.panel.Panel feedback,
Boolean onlyVerify,
ETLMeta<FacetMeta> meta,
String processId) |
Modifier and Type | Method and Description |
---|---|
static String |
Utils.getResourceUrl(Attributes a,
FacetMeta facet,
int index)
Resource definitions that are comma separated or singular.
|
static String[] |
Utils.getResourceUrls(Attributes a,
FacetMeta facet)
Resource definitions that are comma separated or singular.
|
Modifier and Type | Class and Description |
---|---|
class |
ScriptableFacetMetaAjaxButton<T extends FacetMeta>
An Ajax Button that can be created from Configuration with details in
FacetMeta The following settings can be assigned getDisplayName() - Display Name of Button
getAttributes() .DESCRIPTION - Tool Tip that adds a title attribute as description + a class help-text
getAttributes() .pre-action - ChangeListener invoked before anything else is called. |
Constructor and Description |
---|
PostFacet(FacetMeta meta) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ProductDetailsTemplatePanel.isSetValueInSameModel(FacetMeta facetMeta,
Object value)
While saving if the value should be set back in the same model passed by the Entity (like
CompoundPropertyModel or assigned a new Model
Also a FacetMeta an explicitly opt-out of being part of CompoundPropertyModel by setting setAssignIndependentModel(Boolean) to false. |
Modifier and Type | Method and Description |
---|---|
protected void |
ProductListingPanel.populateBulkButtonItem(org.apache.wicket.model.IModel<Collection<Long>> selectedList,
org.apache.wicket.markup.html.list.ListItem<FacetMeta> item)
Bulk buttons override option for more cool buttons.
|
protected void |
ProductDetailsPanel.populateBulkButtonItem(org.apache.wicket.model.IModel<P> productModel,
org.apache.wicket.markup.html.list.ListItem<FacetMeta> item,
org.apache.wicket.markup.html.form.Form form)
Bulk buttons override option for more cool buttons.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.wicket.markup.html.form.IChoiceRenderer<ReporterMeta<FacetMeta>> |
ReportingAdmin.CHOICE_RENDERER |
Modifier and Type | Method and Description |
---|---|
protected List<ReporterMeta<FacetMeta>> |
ReportingAdmin.defineReportDefinition(Module module) |
List<ReporterMeta<FacetMeta>> |
ReportingAdmin.getReporterMetasForCurrentModule(org.apache.wicket.Request request) |
Modifier and Type | Method and Description |
---|---|
boolean |
ReportingAdmin.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 |
Constructor and Description |
---|
ReportingAdmin(Module module,
ReportingService<Module,FacetMeta> reportingService) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ReportResult.filter(User user,
FacetMeta facetMeta)
By default Filter Authorizable Columns(FacetMeta) that are not meant for current user
|
Modifier and Type | Method and Description |
---|---|
protected void |
ReporterInput.onSubmit(ReporterMeta<FacetMeta> rmeta) |
protected void |
ReportResult.populateBulkButtonItem(org.apache.wicket.model.IModel<Collection<Long>> selectedList,
org.apache.wicket.markup.html.list.ListItem<FacetMeta> item)
Bulk buttons override option for more cool buttons.
|
Constructor and Description |
---|
ReporterInput(String id,
org.apache.wicket.model.IModel<ReporterMeta<FacetMeta>> model) |
Modifier and Type | Field and Description |
---|---|
protected static org.apache.wicket.markup.html.form.IChoiceRenderer<ReporterMeta<FacetMeta>> |
ReportingAdminPanel.CHOICE_RENDERER |
protected ReportingService<Module,FacetMeta> |
ReportingAdminPanel.reportingService |
Modifier and Type | Method and Description |
---|---|
protected List<ReporterMeta<FacetMeta>> |
ReportingAdminPanel.getReporterMetasForCurrentModule(org.apache.wicket.Request request) |
Modifier and Type | Field and Description |
---|---|
protected static org.apache.wicket.markup.html.form.IChoiceRenderer<ReporterMeta<FacetMeta>> |
reportingAdmin.CHOICE_RENDERER |
protected ReportingService<Module,FacetMeta> |
reportingAdmin.reportingService |
Modifier and Type | Method and Description |
---|---|
protected List<ReporterMeta<FacetMeta>> |
reportingAdmin.getReporterMetasForCurrentModule(org.apache.wicket.Request request) |
Modifier and Type | Class and Description |
---|---|
class |
AuthorizableFacetMeta
|
class |
MultiAuthorizedStateFacetMeta |
class |
MultiStateFacetMeta<S>
Based on the State present a different
FacetMeta . |
class |
TransactionalFacetMeta
Wrap the incoming transformer in a
TransactionalTransformer with a default TransactionDefinition of
TransactionDefinition.PROPAGATION_REQUIRED and TransactionDefinition.ISOLATION_READ_UNCOMMITTED |
Modifier and Type | Method and Description |
---|---|
FacetMeta |
MetaItem.getFacetMeta() |
FacetMeta |
Template.getFacetMeta(String facetName) |
FacetMeta |
FacetMeta.getParent()
|
Modifier and Type | Method and Description |
---|---|
Collection<FacetMeta> |
Template.getFacets()
What all dynamic place holders does the template have.
|
Map<S,FacetMeta> |
MultiStateFacetMeta.getStateMap() |
Modifier and Type | Method and Description |
---|---|
void |
FacetMeta.setParent(FacetMeta parent)
|
Modifier and Type | Method and Description |
---|---|
void |
Template.setFacets(Collection<FacetMeta> facets)
What all dynamic place holders does the template have.
|
void |
MultiStateFacetMeta.setStateMap(Map<S,FacetMeta> stateMap) |
Constructor and Description |
---|
AuthorizableFacetMeta(FacetMeta facetMeta) |
CollectionMetaItem(FacetMeta facet,
Field f,
String collectionRefId) |
FacetMeta(FacetMeta facetMeta) |
MetaItem(FacetMeta facet) |
MetaItem(FacetMeta facet,
Field f)
Merge Field &
FacetMeta definitions into one MetaItem |
TransactionalFacetMeta(FacetMeta facetMeta) |
Modifier and Type | Field and Description |
---|---|
protected List<FacetMeta> |
DynamicInputContainer.facetMetas |
Modifier and Type | Method and Description |
---|---|
protected boolean |
EntityDetailsTemplatePanel.isSetValueInSameModel(FacetMeta facetMeta,
Object value)
While saving if the value should be set back in the same model passed by the Entity (like
CompoundPropertyModel or assigned a new Model
Also a FacetMeta an explicitly opt-out of being part of CompoundPropertyModel by setting setAssignIndependentModel(Boolean) to false. |
protected Object |
DynamicInputForm.transformValue(FacetMeta facetMeta,
Object value)
An opportunity to modify or transform the raw input value before its passed as a result in the params/event
|
protected Object |
DynamicInputContainer.transformValue(FacetMeta facetMeta,
Object value)
An opportunity to modify or transform the raw input value before its passed as a result in the params/event
|
protected void |
DynamicInputForm.updateParamsWithValue(Object params,
int index,
FacetMeta facetMeta,
Object value) |
protected void |
DynamicInputContainer.updateParamsWithValue(Object params,
int index,
FacetMeta facetMeta,
Object value) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.wicket.markup.html.form.Button |
DynamicInputForm.addSubmitButton(List<FacetMeta> facetMetas,
List<org.apache.wicket.Component> rawAddedComponents,
List<ChangeListener<Object>> listeners,
List<org.apache.wicket.Component> targetsToUpdateViaAjax)
Some forms may want to include Dynamic params as part of a Bigger Form and hence the Submit button and related processing can be overridden.
|
void |
DynamicInputForm.onSubmit(org.apache.wicket.ajax.AjaxRequestTarget target,
org.apache.wicket.markup.html.form.Form<?> form,
List<FacetMeta> facetMetas,
List<org.apache.wicket.Component> rawAddedComponents,
List<ChangeListener<Object>> listeners,
List<org.apache.wicket.Component> targetsToUpdateViaAjax) |
Constructor and Description |
---|
DynamicInputContainer(String formComponentId,
List<FacetMeta> facetMetas,
org.apache.wicket.markup.html.WebMarkupContainer container)
Create a Form with dynamic search params
|
DynamicInputForm(String formComponentId,
List<FacetMeta> facetMetas,
org.apache.wicket.markup.html.WebMarkupContainer container,
List<ChangeListener<Object>> listeners,
List<org.apache.wicket.Component> targetsToUpdateViaAjax)
Create a Form with dynamic search params
The listeners to #getSearchParamsForm(List, WebMarkupContainer, List) can expect an event of:
If #eventFormatArray true, On Ajax Submit - Object[] {Object}; where Object in the Array represents all the Model Objects of the Added Components; Inputs
If #eventFormatArray false, On Ajax Submit - Map {FacetMeta as Key, Object value}
|
TemplateSearchParams(String id,
org.apache.wicket.model.IModel<List<FacetMeta>> model,
List<org.apache.wicket.Component> ajaxTargets,
Class<? extends EntityDetailsTemplatePanel> templatePanelClass) |
Modifier and Type | Method and Description |
---|---|
List<FacetMeta> |
JSONGridRenderAdapter.getCoreFields()
These are the fields that define the core data to be captured.
For example in a class, for every student. |
Modifier and Type | Method and Description |
---|---|
void |
JSONGridRenderAdapter.setCoreFields(List<FacetMeta> coreFields)
These are the fields that define the core data to be captured.
For example in a class, for every student. |
Copyright © 2018. All rights reserved.