@ProviderType public interface LiveStatus extends JSONItem
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Boolean> |
getAdvancedStatus()
Returns a map of pairs (name, status) which contains advanced status for the current relationship.
|
java.lang.Boolean |
getAdvancedStatus(java.lang.String status)
Returns value of an advanced status.
|
java.util.List<java.lang.String> |
getCanceledProperties()
Returns names of properties for which inheritance is canceled.
|
java.util.Date |
getLastRolledOut()
Return the timestamp of the last roll-out on the LiveRelationship this is the LiveStatus for.
|
java.lang.String |
getLastRolledOutBy()
Return an identifier for the User that triggered the last Roll-out on the LiveRelationship this is the LiveStatus for.
|
boolean |
isCancelled()
Returns true if relationship is cancelled
|
boolean |
isCancelledForChildren()
Returns true if relationship is cancelled for children relationships.
|
boolean |
isEditable()
Returns true if relationship can be edited, ie can be cancelled.
|
boolean |
isPage()
Returns true if relationship concerns a page, false if it concerns
a paragraph
|
boolean |
isSourceExisting()
Returns true if relationship's source exists
|
boolean |
isTargetExisting()
Returns true if relationship's target exists
|
boolean isCancelled()
boolean isCancelledForChildren()
boolean isEditable()
boolean isSourceExisting()
boolean isTargetExisting()
java.util.Map<java.lang.String,java.lang.Boolean> getAdvancedStatus()
java.lang.Boolean getAdvancedStatus(java.lang.String status)
boolean isPage()
java.util.List<java.lang.String> getCanceledProperties()
java.lang.String getLastRolledOutBy()
ResourceResolver.getUserID()
).
The returned value can be null
.
Such cases could be. A LiveRelationship that has never been rolled out, has a no LiveStatus for the UserResourceResolver.getUserID()
,
RolloutManager.rollout(com.day.cq.wcm.msm.api.RolloutManager.RolloutParams)
java.util.Date getLastRolledOut()
null
in case of a LiveStatus for a LiveRelationship that has never
been rolled-out.RolloutManager.rollout(com.day.cq.wcm.msm.api.RolloutManager.RolloutParams)
Copyright © 2010 - 2020 Adobe. All Rights Reserved