Class SiteExporter

java.lang.Object
org.fenixedu.cms.domain.SiteExporter

public class SiteExporter extends Object
Created by borgez-dsi on 24-06-2015.
  • Constructor Details

    • SiteExporter

      public SiteExporter(Site site)
  • Method Details

    • export

      public ByteArrayOutputStream export()
    • addToZipFile

      public static void addToZipFile(String filename, com.google.gson.JsonObject jsonObject, ZipOutputStream zos) throws IOException
      Throws:
      IOException
    • addToZipFile

      public static void addToZipFile(String filename, InputStream content, ZipOutputStream zos) throws IOException
      Throws:
      IOException
    • export

      protected com.google.gson.JsonObject export(Site site)
    • export

      protected com.google.gson.JsonObject export(Page page)
    • export

      protected com.google.gson.JsonObject export(Menu menu)
    • export

      protected com.google.gson.JsonObject export(MenuItem menuItem)
    • export

      protected com.google.gson.JsonObject export(Post post)
    • export

      protected com.google.gson.JsonObject export(Category category)
    • export

      protected com.google.gson.JsonObject export(PostFile postFile)
    • export

      protected com.google.gson.JsonObject export(Component component)
    • getSite

      public Site getSite()