public interface ChannelService
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Resource> |
getChannelAssignments(ResourceResolver resolver,
Resource channel)
Deprecated.
|
java.util.Iterator<Resource> |
getDisplays(ResourceResolver resolver,
Resource channel)
Deprecated.
|
void |
unassignFromDisplays(ResourceResolver resolver,
Resource channel,
java.util.List<Resource> displays)
Deletes the channel assignments for that channel on all the specified displays.
|
@Deprecated java.util.Iterator<Resource> getDisplays(ResourceResolver resolver, Resource channel)
resolver
- The resource resolverchannel
- the channel resource to get the display fornull
@Deprecated java.util.Iterator<Resource> getChannelAssignments(ResourceResolver resolver, Resource channel)
resolver
- The resource resolverchannel
- the channel resource to get the channel assignments fornull
void unassignFromDisplays(ResourceResolver resolver, Resource channel, java.util.List<Resource> displays) throws PersistenceException, RepositoryException
resolver
- The resource resolverchannel
- The channel to remove the assignments fordisplays
- The displays we want to remove the assignment onPersistenceException
- if the deletion failsRepositoryException
- if there is a repository exception"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"