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 java.lang.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).java.lang.String
getServiceName()
Name of the service, for example 'Twitter'.java.lang.String
getTitle()
The name of the account in the JCR.java.lang.String
getUrlOnService()
If published, returns the link to the account's page on the service.java.lang.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
java.lang.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
java.lang.String getAccountName()
The identification - for example screen name for Twitter.- Returns:
-
getTitle
java.lang.String getTitle()
The name of the account in the JCR.- Returns:
-
getProperties
ValueMap getProperties()
Return thejcr:contentNode
in usable form.- Returns:
-
getServiceName
java.lang.String getServiceName()
Name of the service, for example 'Twitter'.- Returns:
-
getUrlOnService
java.lang.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:
-
-