public class PlaceholderWebCmsComponentModel extends WebCmsComponentModel
| Modifier and Type | Class and Description |
|---|---|
static class |
PlaceholderWebCmsComponentModel.Metadata |
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>| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
METADATA_CLASS_ATTRIBUTE, TEMPLATE_ATTRIBUTE, TYPE_ATTRIBUTE| Modifier | Constructor and Description |
|---|---|
|
PlaceholderWebCmsComponentModel() |
protected |
PlaceholderWebCmsComponentModel(PlaceholderWebCmsComponentModel template) |
|
PlaceholderWebCmsComponentModel(WebCmsComponent component) |
| Modifier and Type | Method and Description |
|---|---|
PlaceholderWebCmsComponentModel |
asComponentTemplate()
Convert the current model to a templated version: keep all properties but create a new backing component.
|
PlaceholderWebCmsComponentModel.Metadata |
getMetadata() |
String |
getPlaceholderName() |
boolean |
isEmpty()
Base implementation that can be used to check if the component contains any relevant data.
|
void |
setName(String name)
Set the name on the backing component.
|
void |
setPlaceholderName(String placeholderName) |
cloneMetadata, equals, getComponentType, getCustomTemplate, getDomain, getElementType, getMetadata, getName, getObjectId, getOwnerObjectId, getSortIndex, getTitle, hashCode, hasMetadata, hasOwner, isNew, setComponent, setDomain, setObjectId, setOwner, setOwnerObjectId, setSortIndex, setTitle, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitget, matches, predicateFor, remove, set, withforObjectIdpublic static final String TYPE
public PlaceholderWebCmsComponentModel()
public PlaceholderWebCmsComponentModel(WebCmsComponent component)
protected PlaceholderWebCmsComponentModel(PlaceholderWebCmsComponentModel template)
public PlaceholderWebCmsComponentModel.Metadata getMetadata()
public void setName(String name)
WebCmsComponentModelsetName in class WebCmsComponentModelname - to usepublic String getPlaceholderName()
public void setPlaceholderName(String placeholderName)
public PlaceholderWebCmsComponentModel asComponentTemplate()
WebCmsComponentModelasComponentTemplate in class WebCmsComponentModelWebCmsComponent.asTemplate(),
WebCmsComponentModel.cloneMetadata(WebCmsComponentModel)public boolean isEmpty()
WebCmsComponentModelisEmpty in class WebCmsComponentModeltrue if no relevant data is presentCopyright © 2020. All rights reserved.