Interface LiveRelationship

All Superinterfaces:
JSONItem

@Deprecated public interface LiveRelationship extends JSONItem
Deprecated.
since 5.3 use RolloutManager instead
Defines a live relationship of a synced resource between its blueprint and livecopy. for example, if a site (blueprint) "/content/geometrixx" has a livecopy in "/content/copy", then the resource of "/content/geometrixx/en/jcr:content" and "/content/copy/en/jcr:content" form a relationship. This is also extensible for components within a page, for example the "/content/geometrixx/en/jcr:content/par/title" and "/content/copy/en/jcr:content/par/title" can form a relationship. In contrast to the LiveCopy the LiveRelationship defines the "dynamic" relation between a source and a synced target. where as the former only defines its configuration. Please note that its not possible to have different relative paths from the roots to the source/target resources. This could happen if a source or target resource are moved or renamed. Having trees that are not in sync hirarchy wise will probably end in chaos sooner or later. Such operations need to be prohibited or the respective changes need to be rolledout to all targets.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns the computed actions config of this relationship (blueprint actions + live copy actions)
    Deprecated.
    Returns the actions config of this relationship defined on the blueprint
    Deprecated.
    Returns the Live Copy configuration of this relationship
    Deprecated.
    Returns the absolute path of the source resource of this relationship.
    Deprecated.
    Returns the status of this relationship
    Deprecated.
    Returns the relative path of this relationship from the sync roots to the actual resources.
    Deprecated.
    Returns the ansolute path of the live sync resource.

    Methods inherited from interface com.day.cq.commons.JSONItem

    write
  • Method Details

    • getLiveCopy

      LiveCopy getLiveCopy()
      Deprecated.
      Returns the Live Copy configuration of this relationship
      Returns:
      the Live Copy
    • getSyncPath

      String getSyncPath()
      Deprecated.
      Returns the relative path of this relationship from the sync roots to the actual resources. for example: "/en/jcr:content/par/title" for a paragraph relationship, or "/en/jcr:content" for a page relationship
      Returns:
      the relative path
    • getSourcePath

      String getSourcePath()
      Deprecated.
      Returns the absolute path of the source resource of this relationship. This is a convenience method for lr.getLiveCopy().getBlueprintPath() + lr.getSyncPath()
      Returns:
      the source path
    • getTargetPath

      String getTargetPath()
      Deprecated.
      Returns the ansolute path of the live sync resource. This is a convenience method for lr.getLiveCopy().getPath() + lr.getSyncPath()
      Returns:
      the target path
    • getStatus

      LiveStatus getStatus()
      Deprecated.
      Returns the status of this relationship
      Returns:
      the status
    • getBlueprintActions

      Set<ActionConfig> getBlueprintActions()
      Deprecated.
      Returns the actions config of this relationship defined on the blueprint
      Returns:
      the actions config defined on the blueprint
    • getActions

      Set<ActionConfig> getActions()
      Deprecated.
      Returns the computed actions config of this relationship (blueprint actions + live copy actions)
      Returns:
      the computed actions config