public class ProxyWebCmsComponentModel extends WebCmsComponentModel
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 |
|---|---|
|
ProxyWebCmsComponentModel() |
protected |
ProxyWebCmsComponentModel(WebCmsComponentModel template) |
|
ProxyWebCmsComponentModel(WebCmsComponent component,
WebCmsComponentModel target) |
| Modifier and Type | Method and Description |
|---|---|
ProxyWebCmsComponentModel |
asComponentTemplate()
Convert the current model to a templated version: keep all properties but create a new backing component.
|
boolean |
hasTarget() |
boolean |
isEmpty()
Base implementation that can be used to check if the component contains any relevant data.
|
void |
setTarget(WebCmsComponentModel target)
Target component model that is proxied by this component.
|
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 static final String TYPE
public ProxyWebCmsComponentModel()
public ProxyWebCmsComponentModel(WebCmsComponent component, WebCmsComponentModel target)
protected ProxyWebCmsComponentModel(WebCmsComponentModel template)
public void setTarget(WebCmsComponentModel target)
public ProxyWebCmsComponentModel asComponentTemplate()
WebCmsComponentModelasComponentTemplate in class WebCmsComponentModelWebCmsComponent.asTemplate(),
WebCmsComponentModel.cloneMetadata(WebCmsComponentModel)public boolean isEmpty()
WebCmsComponentModelisEmpty in class WebCmsComponentModelhasTarget()public boolean hasTarget()
Copyright © 2020. All rights reserved.