Package sk.iway.iwcm.sync.export
Class ExportSync
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
sk.iway.iwcm.sync.export.ExportSync
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ExportSync
extends javax.servlet.http.HttpServlet
ExportSync.java servuje zip archiv exportu z groupId, vyzaduje admin credentials
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doGet
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) static void
getExportZip
(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Na zaklade gorupId a admin logon v parametroch spravi Export a do response zapise zip file s obsahom exportu na export sa pouzivaExportManager
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
ExportSync
public ExportSync()
-
-
Method Details
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException - Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
getExportZip
public static void getExportZip(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException Na zaklade gorupId a admin logon v parametroch spravi Export a do response zapise zip file s obsahom exportu na export sa pouzivaExportManager
- Parameters:
path
-request
-response
-- Throws:
IOException
-