public interface MtgObjectService
| Modifier and Type | Method and Description |
|---|---|
<any> |
getChildrenNumber(java.lang.String uuid,
java.lang.String[] languages,
java.lang.String[] types)
Retrieve number of children of a MTGObject.
|
<any> |
getCompactChildren(java.lang.String uuid,
java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.Long limit,
java.lang.Long offset,
java.lang.String[] types,
java.lang.Boolean show_hidden,
java.lang.Boolean audio_duration)
Retrieve children of MtgObject in compact form.
|
<any> |
getCompactMtgObjects(java.lang.String uuids,
java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.Boolean audio_duration)
Retrieve list of compact MtgObjects by set of UUIDs param.
|
<any> |
getFullChildren(java.lang.String uuid,
java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.Long limit,
java.lang.Long offset,
java.lang.String[] types,
java.lang.Boolean show_hidden,
java.lang.Boolean audio_duration,
java.lang.Boolean children_count)
Retrieve children of MtgObject in full form.
|
<any> |
getFullMtgObjects(java.lang.String uuids,
java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.Boolean audio_duration,
java.lang.Boolean children_count)
Retrieve list of full MtgObjects by set of UUIDs param.
|
<any> |
getMtgObject(java.lang.String uuid,
java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.Boolean audio_duration,
java.lang.Boolean children_count)
Retrieve a full MtgObject by UUID param.
|
<any> |
getMuseumByIp(java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.String ip,
java.lang.Boolean audio_duration,
java.lang.Boolean children_count)
Retrieve a full museum object using its external IP address.
|
<any> |
getProductId(java.lang.String uuid)
Retrieve product ID of MtgObject.
|
<any> |
searchCompactByProductIds(java.lang.String[] languages,
java.lang.String[] productIds,
java.lang.String[] includes,
java.lang.String[] except)
Search for museums and/or tours by product IDs.
|
<any> |
searchFullByProductIds(java.lang.String[] languages,
java.lang.String[] productIds,
java.lang.String[] includes,
java.lang.String[] except)
Search for museums and/or tours by product IDs.
|
<any> getMtgObject(java.lang.String uuid,
java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.Boolean audio_duration,
java.lang.Boolean children_count)
uuid - UUID of MtgObject.languages - Array of preferable content languages.includes - Array of ContentSectionModifier (by default: ContentSectionModifier.CHILDREN).except - The same array of ContentSectionModifier as above for
excluding.audio_duration - Defines if the total audio duration shall be added to returned
MTGObject(s).
Values: `true` or `false`. Default value: `false`. Makes sense for
MTGObjects museum, tour or collection.
Field 'audio_duration’ will be added to root of compact form and to
content section of full form.
The value of 'audio_duration’ is integer and keeps total duration in
seconds of the object and children.children_count - Defines if the field `children_count` shall be added to full form of
MTGObject in content section.
Values: `true` or `false`. Default value: `false`. Makes sense for
MTGObjects museum, tour or collection.<any> getCompactMtgObjects(java.lang.String uuids,
java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.Boolean audio_duration)
uuids - Set of MtgObject UUIDs separated by commas.languages - Array of preferable content languages.includes - Array of ContentSectionModifier (by default: ContentSectionModifier.CHILDREN).except - The same array of ContentSectionModifier as above for
excluding.audio_duration - Defines if the total audio duration shall be added to returned
MTGObject(s).
Values: `true` or `false`. Default value: `false`. Makes sense for
MTGObjects museum, tour or collection.
Field 'audio_duration’ will be added to root of compact form and to
content section of full form.
The value of 'audio_duration’ is integer and keeps total duration in
seconds of the object and children.getFullMtgObjects(String, String[], String[], String[], Boolean, Boolean)<any> getFullMtgObjects(java.lang.String uuids,
java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.Boolean audio_duration,
java.lang.Boolean children_count)
<any> getCompactChildren(java.lang.String uuid,
java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.Long limit,
java.lang.Long offset,
java.lang.String[] types,
java.lang.Boolean show_hidden,
java.lang.Boolean audio_duration)
uuid - UUID of MtgObject.languages - Array of preferable content languages.includes - Array of ContentSectionModifier.except - The same array of ContentSectionModifier as above for
excluding.limit - Number of results to return, up to 100 (50 by default)offset - Get the results starting at a given offset (0 by default).types - Array of requested types of children, i.e. for Museum children could be
MtgObjectType.Exhibit or MtgObjectType.Collection,
while for Tour children could be MtgObjectType.TouristAttraction or MtgObjectType.StoryNavigation.show_hidden - If it set to true, then hidden tourist_attraction will be returned.audio_duration - Defines if the total audio duration shall be added to returned
MTGObject(s).
Values: `true` or `false`. Default value: `false`. Makes sense for
MTGObjects museum, tour or collection.
Field 'audio_duration’ will be added to root of compact form and to
content section of full form.
The value of 'audio_duration’ is integer and keeps total duration in
seconds of the object and children.getFullChildren(String, String[], String[], String[], Long, Long, String[], Boolean,
Boolean, Boolean)<any> getFullChildren(java.lang.String uuid,
java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.Long limit,
java.lang.Long offset,
java.lang.String[] types,
java.lang.Boolean show_hidden,
java.lang.Boolean audio_duration,
java.lang.Boolean children_count)
<any> getChildrenNumber(java.lang.String uuid,
java.lang.String[] languages,
java.lang.String[] types)
uuid - UUID of MtgObject.languages - Array of preferable content languages.types - Array of requested types of children, i.e. for Museum children could be
MtgObjectType.Exhibit or MtgObjectType.Collection, while
for Tour children could be MtgObjectType.TouristAttraction or
MtgObjectType.StoryNavigation.<any> getMuseumByIp(java.lang.String[] languages,
java.lang.String[] includes,
java.lang.String[] except,
java.lang.String ip,
java.lang.Boolean audio_duration,
java.lang.Boolean children_count)
languages - Array of preferable content languages.includes - Array of ContentSectionModifier (by default: ContentSectionModifier.CHILDREN).except - The same array of ContentSectionModifier as above for
excluding.ip - External API value. Used to set external IP directly.audio_duration - Defines if the total audio duration shall be added to returned
MTGObject(s).
Values: `true` or `false`. Default value: `false`. Makes sense for
MTGObjects museum, tour or collection.
Field 'audio_duration’ will be added to root of compact form and to
content section of full form.
The value of 'audio_duration’ is integer and keeps total duration in
seconds of the object and children.children_count - Defines if the field `children_count` shall be added to full form of
MTGObject in content section.
Values: `true` or `false`. Default value: `false`. Makes sense for
MTGObjects museum, tour or collection.<any> getProductId(java.lang.String uuid)
uuid - UUID of MtgObject.<any> searchCompactByProductIds(java.lang.String[] languages,
java.lang.String[] productIds,
java.lang.String[] includes,
java.lang.String[] except)
languages - Array of preferable languages.productIds - Array of product IDs.includes - Array of ContentSectionModifier.except - The same array of ContentSectionModifier as above for excluding.searchFullByProductIds(String[], String[], String[], String[])<any> searchFullByProductIds(java.lang.String[] languages,
java.lang.String[] productIds,
java.lang.String[] includes,
java.lang.String[] except)