REF
- as Reference to Type of Page the template points to. See Template.getReference()
public class ProductTemplate<REF> extends Template<REF>
Product
s. Mainly, this class allows to separate Template
s meant for general purpose and those specific to the context of a Product.
ContentDescriber
related to Template
where the ContentFacet
in the ContentDescriber
can contain whatever content it wants.
The content model does not have to be aware of files related to it. In Product
s, one may have additional constraints and considerations than Content based Template
Template.getFacets()
relate to Product Fields & Product.getAttributes()
. The mapping is described by FacetMeta
in the Template
.ContentType
,
ProductDetailsPanel
,
ProductDetailsTemplatePanel
,
Serialized Formlisteners, TEMPLATE_IDENTIFIER
Constructor and Description |
---|
ProductTemplate() |
ProductTemplate(ProductTemplate template) |
ProductTemplate(String name) |
addChangeListener, equals, getAccessorExistsTransformer, getAttributes, getDefaultResourceLocations, getDisplayName, getFacetMeta, getFacets, getFieldOrderListing, getId, getListeners, getMarkupLocation, getName, getPublishAdapter, getReference, getSubmitTransformer, hashCode, isProcessFields, notifyAllListeners, publish, setAccessorExistsTransformer, setAttributes, setDefaultResourceLocations, setDisplayName, setFacets, setFieldOrderListing, setId, setListeners, setMarkupLocation, setName, setProcessFields, setPublishAdapter, setReference, setSubmitTransformer, toString
public ProductTemplate()
public ProductTemplate(String name)
public ProductTemplate(ProductTemplate template)
Copyright © 2018. All rights reserved.