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 passedResource
is aPage
and the resource that represents theTouchpoint
.
-
-
Constructor Summary
Constructors Constructor Description TouchpointAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page
getPage()
The resource of the account - as page.ValueMap
getProperties()
Return thejcr:contentNode
in usable form.java.lang.String
getTitle()
The name of the account in the JCR.void
init(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:Touchpoint
The resource of the account - as page.- Specified by:
getPage
in interfaceTouchpoint
- Returns:
-
getTitle
public java.lang.String getTitle()
Description copied from interface:Touchpoint
The name of the account in the JCR.- Specified by:
getTitle
in interfaceTouchpoint
- Returns:
-
getProperties
public ValueMap getProperties()
Description copied from interface:Touchpoint
Return thejcr:contentNode
in usable form.- Specified by:
getProperties
in interfaceTouchpoint
- Returns:
-
-