
com.adobe.cq.screens.channel.ChannelService Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* __________________
*
* Copyright 2016 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
************************************************************************/
package com.adobe.cq.screens.channel;
import java.io.InputStream;
import java.util.Iterator;
import aQute.bnd.annotation.ProviderType;
import org.apache.commons.collections.Predicate;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ResourceResolver;
import org.apache.sling.commons.json.JSONException;
import org.apache.sling.commons.json.JSONObject;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.jcr.RepositoryException;
/**
* Manages the channels in the repository.
*/
@ProviderType
public interface ChannelService {
/**
* Returns the displays the channel is assigned to
* @param resolver The resource resolver
* @param resource the channel resource to get the display for
* @return the displays or {@code null}
*/
@CheckForNull
Iterator getDisplays(ResourceResolver resolver, @Nonnull Resource resource);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy