Interface LiveStatus

    • Method Detail

      • isCancelled

        boolean isCancelled()
        Returns true if relationship is cancelled
        Returns:
        true if relationship is cancelled
      • isCancelledForChildren

        boolean isCancelledForChildren()
        Returns true if relationship is cancelled for children relationships. Only possible if isCancelled() is true.
        Returns:
        true if relationship is cancelled for children relationships
      • isEditable

        boolean isEditable()
        Returns true if relationship can be edited, ie can be cancelled.
        Returns:
        true if relationship can be edited
      • isSourceExisting

        boolean isSourceExisting()
        Returns true if relationship's source exists
        Returns:
        true if relationship's source exists
      • isTargetExisting

        boolean isTargetExisting()
        Returns true if relationship's target exists
        Returns:
        true if relationship's target exists
      • getAdvancedStatus

        Map<String,​Boolean> getAdvancedStatus()
        Returns a map of pairs (name, status) which contains advanced status for the current relationship.
        Returns:
        map of status
      • getAdvancedStatus

        Boolean getAdvancedStatus​(String status)
        Returns value of an advanced status.
        Returns:
        value of advanced status
      • isPage

        boolean isPage()
        Returns true if relationship concerns a page, false if it concerns a paragraph
        Returns:
        true if relationship concerns a page
      • getCanceledProperties

        List<String> getCanceledProperties()
        Returns names of properties for which inheritance is canceled.
        Returns:
        value of advanced status
      • getLastRolledOut

        Date getLastRolledOut()
        Return the timestamp of the last roll-out on the LiveRelationship this is the LiveStatus for. It is not necessary that the Resource changed at that time. The returned value can be null in case of a LiveStatus for a LiveRelationship that has never been rolled-out.
        Returns:
        Calendar of the time the LiveRelationship this LiveStatus is for was roll-ed out
        Since:
        5.8.0
        See Also:
        RolloutManager.rollout(com.day.cq.wcm.msm.api.RolloutManager.RolloutParams)