Package com.day.cq.mcm.api
Interface Touchpoint
-
- All Known Implementing Classes:
TouchpointAdapter
public interface Touchpoint
A location to present anExperience
at. For example a group (mailing list) to which a newsletter can be sent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAccountName()
The identification - for example screen name for Twitter.Page
getPage()
The resource of the account - as page.MCMPlugin
getPlugin()
ValueMap
getProperties()
Return thejcr:contentNode
in usable form.Resource
getResource()
The resource of the account (not the content resource).String
getServiceName()
Name of the service, for example 'Twitter'.String
getTitle()
The name of the account in the JCR.String
getUrlOnService()
If published, returns the link to the account's page on the service.String
getXPathAdditionToMatchTouchpointExperience()
Provide an expression that can be added in the condition part of an XPath query to match experiences for thisTouchpoint
.boolean
isConnected()
If the account has been connected with a remote publishing service.
-
-
-
Method Detail
-
getPlugin
MCMPlugin getPlugin()
-
getXPathAdditionToMatchTouchpointExperience
String getXPathAdditionToMatchTouchpointExperience()
Provide an expression that can be added in the condition part of an XPath query to match experiences for thisTouchpoint
. Experiences are filtered by resource type only otherwise.- Returns:
-
isConnected
boolean isConnected()
If the account has been connected with a remote publishing service.- Returns:
-
getAccountName
String getAccountName()
The identification - for example screen name for Twitter.- Returns:
-
getTitle
String getTitle()
The name of the account in the JCR.- Returns:
-
getProperties
ValueMap getProperties()
Return thejcr:contentNode
in usable form.- Returns:
-
getServiceName
String getServiceName()
Name of the service, for example 'Twitter'.- Returns:
-
getUrlOnService
String getUrlOnService()
If published, returns the link to the account's page on the service. For example:http://twitter.com/[twitterName]
.- Returns:
-
getResource
Resource getResource()
The resource of the account (not the content resource).
-
getPage
Page getPage()
The resource of the account - as page.- Returns:
-
-