Class TouchpointAdapter

java.lang.Object
com.day.cq.mcm.api.TouchpointAdapter
All Implemented Interfaces:
Touchpoint

public abstract class TouchpointAdapter extends Object implements Touchpoint
Helps with the implementation of a Touchpoint. Assumes that the passed Resource is a Page and the resource that represents the Touchpoint.
  • Constructor Details

    • TouchpointAdapter

      public TouchpointAdapter()
  • Method Details

    • 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 interface Touchpoint
      Returns:
    • getTitle

      public String getTitle()
      Description copied from interface: Touchpoint
      The name of the account in the JCR.
      Specified by:
      getTitle in interface Touchpoint
      Returns:
    • getProperties

      public ValueMap getProperties()
      Description copied from interface: Touchpoint
      Return the jcr:contentNode in usable form.
      Specified by:
      getProperties in interface Touchpoint
      Returns: