com.day.cq.wcm.core.impl.components
Class VirtualComponentImpl
java.lang.Object
org.apache.sling.adapter.SlingAdaptable
com.day.cq.wcm.core.impl.components.ComponentImpl
com.day.cq.wcm.core.impl.components.VirtualComponentImpl
- All Implemented Interfaces:
- LabeledResource, Component, VirtualComponent, org.apache.sling.api.adapter.Adaptable
public class VirtualComponentImpl
- extends ComponentImpl
- implements VirtualComponent
Implements a virtual component that is 'stored' in the repository
| Methods inherited from class com.day.cq.wcm.core.impl.components.ComponentImpl |
adaptTo, getCellName, getChildEditConfig, getComponentGroup, getDeclaredChildEditConfig, getDeclaredEditConfig, getDescription, getDesignDialogPath, getDesignEditConfig, getDialogPath, getEditConfig, getHtmlTagAttributes, getIconPath, getLocalResource, getName, getPath, getProperties, getResourceType, getSuperComponent, getThumbnailPath, getTitle, getVirtualComponents, isContainer, isDesignable, isEditable, noDecoration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.day.cq.wcm.api.components.Component |
getCellName, getChildEditConfig, getComponentGroup, getDeclaredChildEditConfig, getDeclaredEditConfig, getDesignDialogPath, getDesignEditConfig, getDialogPath, getEditConfig, getHtmlTagAttributes, getIconPath, getLocalResource, getProperties, getResourceType, getSuperComponent, getThumbnailPath, getVirtualComponents, isContainer, isDesignable, isEditable, noDecoration |
| Methods inherited from interface org.apache.sling.api.adapter.Adaptable |
adaptTo |
VirtualComponentImpl
public VirtualComponentImpl(org.apache.sling.api.resource.Resource resource,
ComponentImpl component,
SystemComponent base)
throws RepositoryException
- Creates a virtual Component
- Parameters:
component - the real componentresource - resource of which the component is created
- Throws:
RepositoryException - if a repository error occurs
getComponent
public Component getComponent()
- Returns the real component.
- Specified by:
getComponent in interface VirtualComponent
- Returns:
- the real component.
Copyright © 2008 Day Management AG. All Rights Reserved.