Package com.day.cq.dam.scene7.api
Interface Scene7PresetsService
public interface Scene7PresetsService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetEncodingPresets(Resource configResource) Get all encoding presets available for the given cloud config resource.getViewerPresets(Resource configResource) Get all viewer presets available for the given cloud config resource.booleanupdateEncodingPresets(Resource configResource) Update and cache the encoding presets from S7 server for the given cloud config resource.booleanupdateViewerPresets(Resource configResource) Update and cache the viewer presets from S7 server for the given cloud config resource.
-
Field Details
-
REL_PATH_ENCODING_PRESETS
The path to the encoding presets, relative to the cloud config root.- See Also:
-
REL_PATH_VIEWER_PRESETS
The path to the viewer presets, relative to the cloud config root.- See Also:
-
-
Method Details
-
getEncodingPresets
Get all encoding presets available for the given cloud config resource. Including the shared encoding presets.- Parameters:
configResource- The cloud config resource to get the encoding presets for.- Returns:
- Iterator of encoding preset resources.
-
getViewerPresets
Get all viewer presets available for the given cloud config resource. Including the shared viewer presets.- Parameters:
configResource- The cloud config resource to get the viewer presets for.- Returns:
- Iterator of viewer preset resources.
-
updateEncodingPresets
Update and cache the encoding presets from S7 server for the given cloud config resource.- Parameters:
configResource- The cloud config resource to update and cache the encoding presets for.- Returns:
Trueif update and caching was successful,falseotherwise.
-
updateViewerPresets
Update and cache the viewer presets from S7 server for the given cloud config resource.- Parameters:
configResource- The cloud config resource to update and cache the viewer presets for.- Returns:
Trueif update and caching was successful,falseotherwise.
-