I'm working with Hybris 6.2 and I'm trying to retrieve the Media files related to a MediaFolder. My MediaFolders are named after products and I wanted to be able to retrieve them through the folder, but haven't found an example on how to do it.
The MediaFolderModel class has no reference to the MediaFiles and looking through the help didn't bring up any info or examples as to how to retrieve all of the files located in a MediaFolder. Also the MediaService has no method that uses a MediaFolder to get the files. My only other guess is to do it through a FlexibleSearch query but I wanted to know first if there's already an OOTB implementation for it.
Is there an OOTB way to retrieve the files related to a MediaFolder?