public class EmbeddedSiteItem extends AbstractXmlSiteItem
SiteItem
for embedded site itemsModifier and Type | Field and Description |
---|---|
protected String |
componentId
The unique id of the embedded component
|
protected SiteItem |
parentItem
The parent of the embedded component
|
protected org.dom4j.Element |
rootElement
The XML root element of the embedded component
|
static String |
XPATH_OBJECT_ID |
modelFieldConverter
Constructor and Description |
---|
EmbeddedSiteItem(SiteItem parentItem,
org.dom4j.Element rootElement,
org.craftercms.commons.converters.Converter<org.dom4j.Element,Object> modelFieldConverter) |
Modifier and Type | Method and Description |
---|---|
SiteItem |
createItemWrapper(org.craftercms.core.service.Item item) |
SiteItem |
getChildItem(String storeName) |
List<SiteItem> |
getChildItems() |
org.dom4j.Document |
getDom() |
org.craftercms.core.service.Item |
getItem() |
Map<String,Object> |
getProperties() |
protected org.dom4j.Element |
getRootElement() |
String |
getStoreName() |
String |
getStoreUrl() |
boolean |
isFolder() |
List<SiteItem> |
sortItems(List<SiteItem> items,
Comparator<SiteItem> comparator) |
String |
toString() |
get, queryValue, queryValue, queryValues, queryValues
public static final String XPATH_OBJECT_ID
protected SiteItem parentItem
protected String componentId
protected org.dom4j.Element rootElement
protected org.dom4j.Element getRootElement()
getRootElement
in class AbstractXmlSiteItem
public org.craftercms.core.service.Item getItem()
public String getStoreName()
public String getStoreUrl()
public boolean isFolder()
public org.dom4j.Document getDom()
public SiteItem createItemWrapper(org.craftercms.core.service.Item item)
Copyright © 2020 CrafterCMS. All rights reserved.