public class TextWebCmsComponentModel extends WebCmsComponentModel
TextWebCmsComponentModel.MarkupType.
In all cases an optional profile is supported that can indicate the sub-types of content that are supported.
The actual WebCmsComponentModel.getComponentType() can contain attributes that will determine the additional property values of this component.
See the TextWebCmsComponentModel.Attributes interface for attribute names that are supported by default.| Modifier and Type | Class and Description |
|---|---|
static interface |
TextWebCmsComponentModel.Attributes
Attributes supported on a
WebCmsComponentType. |
static class |
TextWebCmsComponentModel.MarkupType
Basic supported text component types.
|
com.foreach.across.modules.web.ui.ViewElement.Wither<T extends com.foreach.across.modules.web.ui.ViewElement>, com.foreach.across.modules.web.ui.ViewElement.WitherGetter<T extends com.foreach.across.modules.web.ui.ViewElement,U>, com.foreach.across.modules.web.ui.ViewElement.WitherRemover<T extends com.foreach.across.modules.web.ui.ViewElement>, com.foreach.across.modules.web.ui.ViewElement.WitherSetter<T extends com.foreach.across.modules.web.ui.ViewElement>METADATA_CLASS_ATTRIBUTE, TEMPLATE_ATTRIBUTE, TYPE_ATTRIBUTE| Modifier | Constructor and Description |
|---|---|
|
TextWebCmsComponentModel(WebCmsComponent component) |
protected |
TextWebCmsComponentModel(WebCmsComponentModel template) |
| Modifier and Type | Method and Description |
|---|---|
TextWebCmsComponentModel |
asComponentTemplate()
Convert the current model to a templated version: keep all properties but create a new backing component.
|
boolean |
isEmpty()
Base implementation that can be used to check if the component contains any relevant data.
|
void |
setContent(String content) |
cloneMetadata, equals, getComponentType, getCustomTemplate, getDomain, getElementType, getMetadata, getName, getObjectId, getOwnerObjectId, getSortIndex, getTitle, hashCode, hasMetadata, hasOwner, isNew, setComponent, setDomain, setName, setObjectId, setOwner, setOwnerObjectId, setSortIndex, setTitle, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitget, matches, predicateFor, remove, set, withforObjectIdpublic TextWebCmsComponentModel(WebCmsComponent component)
protected TextWebCmsComponentModel(WebCmsComponentModel template)
public boolean isEmpty()
WebCmsComponentModelisEmpty in class WebCmsComponentModelpublic void setContent(String content)
public TextWebCmsComponentModel asComponentTemplate()
WebCmsComponentModelasComponentTemplate in class WebCmsComponentModelWebCmsComponent.asTemplate(),
WebCmsComponentModel.cloneMetadata(WebCmsComponentModel)Copyright © 2020. All rights reserved.