LiveRelationshipManager.java 2.94 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.day.cq.wcm.api.Page
 *  com.day.cq.wcm.api.WCMException
 *  javax.jcr.RangeIterator
 *  org.apache.sling.api.resource.Resource
 *  org.apache.sling.api.resource.ResourceResolver
 */
package com.day.cq.wcm.msm.api;

import com.day.cq.wcm.api.Page;
import com.day.cq.wcm.api.WCMException;
import com.day.cq.wcm.msm.api.LiveCopy;
import com.day.cq.wcm.msm.api.LiveRelationship;
import com.day.cq.wcm.msm.api.RolloutConfig;
import com.day.cq.wcm.msm.api.RolloutManager;
import java.util.Collection;
import java.util.Map;
import javax.jcr.RangeIterator;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ResourceResolver;

public interface LiveRelationshipManager {
    public boolean hasLiveRelationship(Resource var1);

    public boolean isSource(Resource var1);

    public Collection<LiveRelationship> getLiveRelationships(Page var1, RolloutManager.Trigger var2, String[] var3, boolean var4) throws WCMException;

    public Collection<LiveRelationship> getLiveRelationships(Resource var1, RolloutManager.Trigger var2, String[] var3, boolean var4) throws WCMException;

    public RangeIterator getLiveRelationships(Resource var1, String var2, RolloutManager.Trigger var3) throws WCMException;

    public LiveRelationship getLiveRelationship(Resource var1, boolean var2) throws WCMException;

    public RangeIterator getChildren(LiveRelationship var1, ResourceResolver var2) throws WCMException;

    public /* varargs */ LiveRelationship establishRelationship(Page var1, Page var2, boolean var3, boolean var4, RolloutConfig ... var5) throws WCMException;

    public void endRelationship(Resource var1, boolean var2) throws WCMException;

    public void cancelRelationship(ResourceResolver var1, LiveRelationship var2, boolean var3, boolean var4) throws WCMException;

    public void reenableRelationship(ResourceResolver var1, LiveRelationship var2, boolean var3) throws WCMException;

    public void cancelPropertyRelationship(ResourceResolver var1, LiveRelationship var2, String[] var3, boolean var4) throws WCMException;

    public void reenablePropertyRelationship(ResourceResolver var1, LiveRelationship var2, String[] var3, boolean var4) throws WCMException;

    @Deprecated
    public Map<String, Page> getSkippedSourcePages(Page var1) throws WCMException;

    @Deprecated
    public void addSkippedPages(Page var1, String[] var2, boolean var3) throws WCMException;

    @Deprecated
    public void removeSkippedPages(Page var1, String[] var2, boolean var3) throws WCMException;

    @Deprecated
    public Map<String, LiveCopy> getLiveCopies() throws WCMException;

    @Deprecated
    public LiveCopy getLiveCopy(Resource var1) throws WCMException;

    @Deprecated
    public boolean isInBlueprint(Resource var1);

    @Deprecated
    public boolean isLiveCopy(Resource var1);

    @Deprecated
    public void detach(Resource var1, boolean var2) throws WCMException;
}