Class DefaultReferenceInjector
- java.lang.Object
-
- de.hybris.platform.cmscockpit.injectors.impl.DefaultReferenceInjector
-
- All Implemented Interfaces:
ReferenceInjector
public class DefaultReferenceInjector extends java.lang.Object implements ReferenceInjector
-
-
Constructor Summary
Constructors Constructor Description DefaultReferenceInjector()DefaultReferenceInjector(org.zkoss.zk.ui.HtmlBasedComponent rootComponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSAdminComponentServicegetCMSAdminComponentService()protected UIConfigurationServicegetConfigurationService()protected ContentEditorConfigurationgetContentEditorConfiguration(ObjectTemplate objectTemplate)protected intgetDepthWithinSection(org.zkoss.zk.ui.Component parent)org.zkoss.zk.ui.HtmlBasedComponentgetRootComponent()protected TypeServicegetTypeService()protected UIAccessRightServicegetUiAccessRightService()ValueServicegetValueService()protected voidinjectCmsReference(TypedObject referenceValue, ObjectValueContainer refValueContainer, org.zkoss.zk.ui.HtmlBasedComponent refGroup, java.lang.Object locationInfo)protected voidinjectNormalReference(TypedObject referenceValue, ObjectValueContainer refValueContainer, org.zkoss.zk.ui.HtmlBasedComponent refGroup, ContentEditorConfiguration config, java.lang.Object locationInfo, boolean hideReadOnly)voidinjectReference(TypedObject referenceValue, org.zkoss.zk.ui.HtmlBasedComponent parent, ContentEditorConfiguration config, java.lang.Object locationInfo, boolean hideReadOnly, java.util.List<org.zkoss.zk.ui.HtmlBasedComponent> captionComponents)protected voidrenderEditor(TypedObject refValue, ObjectValueContainer valueContainer, org.zkoss.zk.ui.HtmlBasedComponent parent, java.lang.Object locationInfo)voidsetRootComponent(org.zkoss.zk.ui.HtmlBasedComponent rootComponent)
-
-
-
Method Detail
-
getRootComponent
public org.zkoss.zk.ui.HtmlBasedComponent getRootComponent()
-
setRootComponent
public void setRootComponent(org.zkoss.zk.ui.HtmlBasedComponent rootComponent)
-
getDepthWithinSection
protected int getDepthWithinSection(org.zkoss.zk.ui.Component parent)
-
injectReference
public void injectReference(TypedObject referenceValue, org.zkoss.zk.ui.HtmlBasedComponent parent, ContentEditorConfiguration config, java.lang.Object locationInfo, boolean hideReadOnly, java.util.List<org.zkoss.zk.ui.HtmlBasedComponent> captionComponents)
- Specified by:
injectReferencein interfaceReferenceInjector
-
injectNormalReference
protected void injectNormalReference(TypedObject referenceValue, ObjectValueContainer refValueContainer, org.zkoss.zk.ui.HtmlBasedComponent refGroup, ContentEditorConfiguration config, java.lang.Object locationInfo, boolean hideReadOnly)
-
injectCmsReference
protected void injectCmsReference(TypedObject referenceValue, ObjectValueContainer refValueContainer, org.zkoss.zk.ui.HtmlBasedComponent refGroup, java.lang.Object locationInfo)
-
renderEditor
protected void renderEditor(TypedObject refValue, ObjectValueContainer valueContainer, org.zkoss.zk.ui.HtmlBasedComponent parent, java.lang.Object locationInfo)
-
getTypeService
protected TypeService getTypeService()
-
getConfigurationService
protected UIConfigurationService getConfigurationService()
-
getUiAccessRightService
protected UIAccessRightService getUiAccessRightService()
-
getCMSAdminComponentService
protected CMSAdminComponentService getCMSAdminComponentService()
-
getContentEditorConfiguration
protected ContentEditorConfiguration getContentEditorConfiguration(ObjectTemplate objectTemplate)
-
getValueService
public ValueService getValueService()
-
-