Class AbstractFoundationComponent
java.lang.Object
com.adobe.cq.testing.client.components.AbstractComponent
com.adobe.cq.testing.client.components.foundation.AbstractFoundationComponent
- Direct Known Subclasses:
AdaptiveImage
,Carousel
,Chart
,ColCtrl
,Download
,External
,Flash
,Image
,LayoutContainer
,List
,ParSys
,Reference
,Search
,Sitemap
,Slideshow
,Table
,Text
,TextImage
,Title
Base class for all Foundation Component wrapping objects. Foundation components can be found
at /libs/foundation/components in the CQ repository.
The subclasses provide methods to manipulate the according component but does not store or cache any component data to avoid inconsistencies. The only information stored with the client is path info.
The subclasses provide methods to manipulate the according component but does not store or cache any component data to avoid inconsistencies. The only information stored with the client is path info.
-
Field Summary
Fields inherited from class com.adobe.cq.testing.client.components.AbstractComponent
changeProperties, client, componentPath, DEFAULT_LOCATION, jsonNode, location, pagePath
-
Constructor Summary
ConstructorDescriptionAbstractFoundationComponent
(ComponentClient client, String pagePath, String location, String nameHint) The constructor stores all the component path information like parentPage, name etc. -
Method Summary
Methods inherited from class com.adobe.cq.testing.client.components.AbstractComponent
create, getClient, getComponentNode, getComponentPath, getCreateFormEntity, getFirstChild, getLocation, getName, getNext, getNextNodePath, getPagePath, getParentPath, getPrevious, getPreviousNodePath, getProperty, getPropertyAsString, getPropertyAsStringArray, getResourceType, reorder, save, setProperty, setProperty
-
Constructor Details
-
AbstractFoundationComponent
public AbstractFoundationComponent(ComponentClient client, String pagePath, String location, String nameHint) The constructor stores all the component path information like parentPage, name etc.- Parameters:
client
- The ComponentClient that will be used for sending the requests.pagePath
- path to the page that will contain the component.location
- relative location to the parent node inside the page that will contain the component node.nameHint
- name to be used for the component node. Might get altered by the server if a naming conflict occurs. TheAbstractComponent.getName()
method will return the correct name after(String,int...)
has been called.
-