public class MediaGalleryEntryQuery extends AbstractQuery<MediaGalleryEntryQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
MediaGalleryEntryQuery |
addFragmentReference(Fragment<MediaGalleryEntryQuery> fragment)
Adds a
MediaGalleryEntryQuery fragment reference at the current position of the query. |
MediaGalleryEntryQuery |
content(ProductMediaGalleryEntriesContentQueryDefinition queryDef)
Contains a ProductMediaGalleryEntriesContent object.
|
static Fragment<MediaGalleryEntryQuery> |
createFragment(String name,
MediaGalleryEntryQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
MediaGalleryEntryQuery |
disabled()
Whether the image is hidden from view.
|
MediaGalleryEntryQuery |
file()
The path of the image on the server.
|
MediaGalleryEntryQuery |
id()
Deprecated.
Use `uid` instead.
|
MediaGalleryEntryQuery |
label()
The alt text displayed on the UI when the user points to the image.
|
MediaGalleryEntryQuery |
mediaType()
image or video.
|
MediaGalleryEntryQuery |
position()
The media item's position after it has been sorted.
|
MediaGalleryEntryQuery |
types()
Array of image types.
|
MediaGalleryEntryQuery |
uid()
The unique ID for a `MediaGalleryEntry` object.
|
MediaGalleryEntryQuery |
videoContent(ProductMediaGalleryEntriesVideoContentQueryDefinition queryDef)
Contains a ProductMediaGalleryEntriesVideoContent object.
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic MediaGalleryEntryQuery content(ProductMediaGalleryEntriesContentQueryDefinition queryDef)
public MediaGalleryEntryQuery disabled()
public MediaGalleryEntryQuery file()
@Deprecated public MediaGalleryEntryQuery id()
public MediaGalleryEntryQuery label()
public MediaGalleryEntryQuery mediaType()
public MediaGalleryEntryQuery position()
public MediaGalleryEntryQuery types()
public MediaGalleryEntryQuery uid()
public MediaGalleryEntryQuery videoContent(ProductMediaGalleryEntriesVideoContentQueryDefinition queryDef)
public static Fragment<MediaGalleryEntryQuery> createFragment(String name, MediaGalleryEntryQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public MediaGalleryEntryQuery addFragmentReference(Fragment<MediaGalleryEntryQuery> fragment)
MediaGalleryEntryQuery fragment reference at the current position of the query.
For example for a fragment named test, calling this method will add the
reference ...test in the query. For GraphQL types implementing an interface, there
will be some similar methods using the Query type of each implemented interface.fragment - The fragment to reference.Copyright © 2022 Adobe. All rights reserved.