com.day.cq.wcm.msm.api.LiveRelationshipManager
instead@Deprecated
public interface LiveRelationshipManager
Modifier and Type | Method and Description |
---|---|
void |
addSkippedPage(Page parentPage,
java.lang.String childName,
boolean autoSave)
Deprecated.
Adds a page to the skipped pages list (stored on parent page).
|
void |
addSkippedPages(Page parentPage,
java.lang.String[] childName,
boolean autoSave)
Deprecated.
Adds several pages to the skipped pages list (stored on parent page).
|
void |
cancelPropertyRelationship(ResourceResolver resolver,
LiveRelationship relation,
java.lang.String[] names,
boolean autoSave)
Deprecated.
Cancel the relationship of the given relation.
|
void |
cancelRelationship(ResourceResolver resolver,
LiveRelationship relation,
boolean deep)
|
void |
cancelRelationship(ResourceResolver resolver,
LiveRelationship relation,
boolean deep,
boolean autoSave)
Deprecated.
Cancel the relationship of the given relation.
|
java.util.Map<java.lang.String,LiveCopy> |
getLiveCopies()
Deprecated.
Returns all live copies.
|
LiveCopy |
getLiveCopy(Resource target)
Deprecated.
Returns the closest Live Copy corresponding the
target resource. |
LiveRelationship |
getLiveRelationship(Resource target,
boolean advancedStatus)
Deprecated.
Returns a live relationship of the given livecopy sync resource.
|
java.util.Collection<LiveRelationship> |
getLiveRelationships(Page source,
RolloutManager.Trigger trigger,
java.lang.String[] targets,
boolean advancedStatus)
Deprecated.
Returns a collection of live relationships of the given Live Copy source
page to its targets.
|
java.util.Collection<LiveRelationship> |
getLiveRelationships(Resource source,
RolloutManager.Trigger trigger,
java.lang.String[] targets,
boolean advancedStatus)
Deprecated.
Returns a collection of live relationships of the given livecopy source
resource to its targets.
|
java.util.Map<java.lang.String,Page> |
getSkippedSourcePages(Page parentTargetPage)
Deprecated.
Returns a map of pairs: Live Copy skipped page's path / Blueprint page.
|
boolean |
isInBlueprint(Resource source)
Deprecated.
Checks if the given source is in a blueprint tree.
|
boolean |
isLiveCopy(Resource target)
Deprecated.
Checks if the given sync target is part of a Live Copy relationship.
|
boolean |
isSource(Resource resource)
Deprecated.
Checks if the given source is the source of a Live Copy relationship.
|
void |
reenablePropertyRelationship(ResourceResolver resolver,
LiveRelationship relation,
java.lang.String[] names,
boolean autoSave)
Deprecated.
Reenable the relationship of a canceled one.
|
void |
reenableRelationship(ResourceResolver resolver,
LiveRelationship relation)
Deprecated.
|
void |
reenableRelationship(ResourceResolver resolver,
LiveRelationship relation,
boolean autoSave)
Deprecated.
Reenable the relationship of a canceled one.
|
void |
removeSkippedPage(Page parentPage,
java.lang.String childName,
boolean autoSave)
Deprecated.
Removes a page from the skipped pages list (stored on parent page).
|
void |
removeSkippedPages(Page parentPage,
java.lang.String[] childName,
boolean autoSave)
Deprecated.
Removes several pages from the skipped pages list (stored on parent page).
|
void |
toggleRelationship(ResourceResolver resolver,
LiveRelationship relation,
boolean deep)
|
void |
toggleRelationship(ResourceResolver resolver,
LiveRelationship relation,
boolean deep,
boolean autoSave)
Deprecated.
Cancels or reenables the relationship based on the relation status.
|
java.util.Map<java.lang.String,LiveCopy> getLiveCopies()
LiveCopy getLiveCopy(Resource target)
target
resource.target
- resourcejava.util.Collection<LiveRelationship> getLiveRelationships(Page source, RolloutManager.Trigger trigger, java.lang.String[] targets, boolean advancedStatus) throws WCMException
source
- source pagetrigger
- filter for triggerstargets
- filter for targetsadvancedStatus
- True if advanced status (time consuming) must be computed for relationshipsWCMException
- if an error occursjava.util.Collection<LiveRelationship> getLiveRelationships(Resource source, RolloutManager.Trigger trigger, java.lang.String[] targets, boolean advancedStatus) throws WCMException
source
- resourcetrigger
- filter for triggerstargets
- filter for targetsadvancedStatus
- True if advanced status (time consuming) must be computed for relationshipsWCMException
- if an error occurrsLiveRelationship getLiveRelationship(Resource target, boolean advancedStatus) throws WCMException
target
- the livecopy sync resourceadvancedStatus
- True if advanced status (time consuming) must be computed for relationshipnull
if the resource is not a livecopyWCMException
- if an error occurrsboolean isLiveCopy(Resource target)
target
- the resource to checktrue
if the resource is live syncedboolean isInBlueprint(Resource source)
source
- the resource to checktrue
if the resource is a blueprintboolean isSource(Resource resource)
resource
- the resource to checktrue
if the resource is a blueprintvoid cancelRelationship(ResourceResolver resolver, LiveRelationship relation, boolean deep, boolean autoSave) throws WCMException
resolver
- resource resolverrelation
- relationdeep
- if true
all child relations are canceled, tooautoSave
- Save modificationsWCMException
- if an error occursvoid reenableRelationship(ResourceResolver resolver, LiveRelationship relation, boolean autoSave) throws WCMException
resolver
- resource resolverrelation
- relation to re-enableautoSave
- Save modificationsWCMException
- if an error occursvoid toggleRelationship(ResourceResolver resolver, LiveRelationship relation, boolean deep, boolean autoSave) throws WCMException
resolver
- resource resolverrelation
- relation to toggledeep
- if true
all child relations will be cancelled, tooautoSave
- Save modificationsWCMException
- if an error occursvoid cancelPropertyRelationship(ResourceResolver resolver, LiveRelationship relation, java.lang.String[] names, boolean autoSave) throws WCMException
resolver
- resource resolverrelation
- relationnames
- list of property names for which inheritance is canceledautoSave
- Save modificationsWCMException
- if an error occursvoid reenablePropertyRelationship(ResourceResolver resolver, LiveRelationship relation, java.lang.String[] names, boolean autoSave) throws WCMException
resolver
- resource resolverrelation
- relation to re-enablenames
- list of property names for which inheritance is reenabledautoSave
- Save modificationsWCMException
- if an error occurs@Deprecated void cancelRelationship(ResourceResolver resolver, LiveRelationship relation, boolean deep) throws WCMException
cancelRelationship(ResourceResolver resolver, LiveRelationship relation,
boolean deep, boolean autoSave)
instead.resolver
- resource resolverrelation
- relationdeep
- if true
all child relations are canceled, tooWCMException
- if an error occurs@Deprecated void reenableRelationship(ResourceResolver resolver, LiveRelationship relation) throws WCMException
reenableRelationship(ResourceResolver resolver, LiveRelationship relation,
boolean autoSave)
instead.resolver
- resource resolverrelation
- relation to re-enableWCMException
- if an error occurs@Deprecated void toggleRelationship(ResourceResolver resolver, LiveRelationship relation, boolean deep) throws WCMException
toggleRelationship(ResourceResolver resolver, LiveRelationship relation,
boolean deep, boolean autoSave)
instead.resolver
- resource resolverrelation
- relation to toggledeep
- if true
all child relations will be cancelled, tooWCMException
- if an error occursjava.util.Map<java.lang.String,Page> getSkippedSourcePages(Page parentTargetPage) throws WCMException
parentTargetPage
- Parent target pageWCMException
- if an error occursvoid addSkippedPage(Page parentPage, java.lang.String childName, boolean autoSave) throws WCMException
parentPage
- Parent pagechildName
- Name of the child.autoSave
- Save modificationsWCMException
- if an error occursvoid addSkippedPages(Page parentPage, java.lang.String[] childName, boolean autoSave) throws WCMException
parentPage
- Parent pagechildName
- Name of the child.autoSave
- Save modificationsWCMException
- if an error occursvoid removeSkippedPage(Page parentPage, java.lang.String childName, boolean autoSave) throws WCMException
parentPage
- Parent pagechildName
- Name of the child.autoSave
- Save modificationsWCMException
- if an error occursvoid removeSkippedPages(Page parentPage, java.lang.String[] childName, boolean autoSave) throws WCMException
parentPage
- Parent pagechildName
- Name of the child.autoSave
- Save modificationsWCMException
- if an error occurs"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"