Package com.day.cq.mcm.api
Class TouchpointAdapter
- java.lang.Object
-
- com.day.cq.mcm.api.TouchpointAdapter
-
- All Implemented Interfaces:
Touchpoint
public abstract class TouchpointAdapter extends java.lang.Object implements Touchpoint
Helps with the implementation of aTouchpoint. Assumes that the passedResourceis aPageand the resource that represents theTouchpoint.
-
-
Constructor Summary
Constructors Constructor Description TouchpointAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagegetPage()The resource of the account - as page.ValueMapgetProperties()Return thejcr:contentNodein usable form.java.lang.StringgetTitle()The name of the account in the JCR.voidinit(Resource r)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.day.cq.mcm.api.Touchpoint
getAccountName, getPlugin, getResource, getServiceName, getUrlOnService, getXPathAdditionToMatchTouchpointExperience, isConnected
-
-
-
-
Method Detail
-
init
public void init(Resource r)
-
getPage
public Page getPage()
Description copied from interface:TouchpointThe resource of the account - as page.- Specified by:
getPagein interfaceTouchpoint- Returns:
-
getTitle
public java.lang.String getTitle()
Description copied from interface:TouchpointThe name of the account in the JCR.- Specified by:
getTitlein interfaceTouchpoint- Returns:
-
getProperties
public ValueMap getProperties()
Description copied from interface:TouchpointReturn thejcr:contentNodein usable form.- Specified by:
getPropertiesin interfaceTouchpoint- Returns:
-
-