@ConsumerType
public interface AssignmentResolver
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Resource> |
findAssignmentsForEntity(Resource resource)
Find the assignments that reference the specified resource.
|
java.util.Iterator<Resource> |
findDisplaysForAssignment(Resource assignment)
Find the displays that point to the specified assignment.
|
java.lang.String |
getSupportedResourceType()
Returns the supported resource type for this assignment resolver
|
Resource |
resolveEntity(Resource assignment)
Resolves the referenced resource.
|
Resource |
resolveEntity(Resource assignment,
Resource context)
Resolves the referenced resource.
|
java.lang.String getSupportedResourceType()
@Nullable Resource resolveEntity(@Nonnull Resource assignment)
assignment
- The assignment resource@Nullable Resource resolveEntity(@Nonnull Resource assignment, Resource context)
assignment
- The assignment resourcecontext
- Resource that defines the context in which to resolve the referenced resource@Nonnull java.util.Iterator<Resource> findDisplaysForAssignment(@Nonnull Resource assignment)
assignment
- The assignment resourceCopyright © 2010 - 2020 Adobe. All Rights Reserved