public interface DisplayService
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Resource> |
getAssignments(ResourceResolver resolver,
Resource display)
The assignments for the specified Display.
|
java.util.Iterator<Resource> |
getAssignmentsForSchedule(ResourceResolver resolver,
Resource display,
Resource schedule)
Deprecated.
|
Resource |
getDisplay(Resource assignment)
Gets the display for the specified assignment
|
Resource |
resolveChannel(ResourceResolver resolver,
Resource display,
Resource assignment)
Deprecated.
|
Resource |
resolveChannel(ResourceResolver resolver,
Resource display,
java.lang.String role)
Resolves the channel resource for the specified channel assignment.
|
Resource |
resolveSchedule(ResourceResolver resolver,
Resource display,
Resource assignment)
Deprecated.
|
void |
unassign(ResourceResolver resolver,
Resource display,
Resource channel)
Remove the assignment for the specified channel on this display
|
Resource getDisplay(Resource assignment)
assignment
- The assignmentjava.util.Iterator<Resource> getAssignments(ResourceResolver resolver, Resource display)
resolver
- The resource resolverdisplay
- The display in which to look for the assignment@Deprecated java.util.Iterator<Resource> getAssignmentsForSchedule(ResourceResolver resolver, Resource display, Resource schedule)
resolver
- The resource resolverdisplay
- The display in which context the dynamic channels are referencedschedule
- The schedule in which to look for the assignmentResource resolveChannel(ResourceResolver resolver, Resource display, java.lang.String role)
resolver
- The resource resolverdisplay
- The display in which to look for the assignmentrole
- The role of the assignment@Deprecated Resource resolveChannel(ResourceResolver resolver, Resource display, Resource assignment)
resolver
- The resource resolverdisplay
- The display in which to look for the assignmentassignment
- The assignment resource@Deprecated Resource resolveSchedule(ResourceResolver resolver, Resource display, Resource assignment)
resolver
- The resource resolverdisplay
- The display in which to look for the assignmentassignment
- The assignment resourcevoid unassign(ResourceResolver resolver, Resource display, Resource channel) throws PersistenceException, RepositoryException
resolver
- The resource resolverdisplay
- The display to remove the assignment fromchannel
- The channel for which we want to remove the assignmentPersistenceException
- if the deletion failsRepositoryException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"