Interface FileUploadStateHydrationService
- All Known Implementing Classes:
- DefaultFileUploadStateHydrationService
public interface FileUploadStateHydrationService
Responsible for performing simple hydration of the references to 
Assets made within
 a FileUploadState by querying for those references and populating their full values.- Author:
- Samarth Dhruva (samarthd)
- 
Method SummaryModifier and TypeMethodDescriptionhydrate(FileUploadState unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs ofAssetsthat are referenced byunhydrated, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.
- 
Method Details- 
hydrateFileUploadState hydrate(FileUploadState unhydrated, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs ofAssetsthat are referenced byunhydrated, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.- Parameters:
- unhydrated- the unhydrated- FileUploadStatewhose references should be hydrated
- contextInfo- context information surrounding sandboxing and multitenant state
- Returns:
- the given unhydratedinstance after hydrating its references
 
 
-