Interface MediaBuilderService

All Known Implementing Classes:
MediaBuilderServiceImpl

public interface MediaBuilderService
Author:
Chad Harchar (charchar)
  • Method Details

    • convertJsonToMedia

      Media convertJsonToMedia(String json, Class<?> type)
      Converts the given json String to Media given the Class that has been passed in.
      Parameters:
      json - the String to be converted to Media
      type - the Class that the Media should be
    • instantiateMediaFields

      void instantiateMediaFields(Media media)
      Instantiates any Media assignable field on the passed in Media object. This is used for xref objects that implement Media
      Parameters:
      media -