public class PrestaShopSynchronizer
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
COMMAND_EXECUTE |
protected static java.lang.String |
COMPONENT_CONFIGURATION_ID |
protected static int |
MAX_STORES_PER_SEGMENT |
protected static java.lang.String |
OPTION_EMAIL_UNIQUE |
protected static java.lang.String |
OPTION_JDBC_RESOURCE_NAME |
protected static java.lang.String |
OPTION_RUN_AS |
protected static java.lang.String |
OPTION_SHOP_NAME |
protected static java.lang.String |
OPTION_SYNC_KEY |
protected static java.lang.String |
OPTION_TABLE_PREFIX |
protected javax.jdo.PersistenceManagerFactory |
pmf |
protected java.util.List<java.lang.String> |
runningSegments |
protected long |
startedAt |
protected static java.lang.String |
WORKFLOW_NAME |
Constructor and Description |
---|
PrestaShopSynchronizer() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected void |
handleRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
init(javax.servlet.ServletConfig config) |
protected void |
synchronize(java.lang.String id,
java.lang.String providerName,
java.lang.String segmentName,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected static final java.lang.String COMMAND_EXECUTE
protected static final java.lang.String WORKFLOW_NAME
protected static final java.lang.String COMPONENT_CONFIGURATION_ID
protected static final int MAX_STORES_PER_SEGMENT
protected static final java.lang.String OPTION_SHOP_NAME
protected static final java.lang.String OPTION_JDBC_RESOURCE_NAME
protected static final java.lang.String OPTION_TABLE_PREFIX
protected static final java.lang.String OPTION_SYNC_KEY
protected static final java.lang.String OPTION_RUN_AS
protected static final java.lang.String OPTION_EMAIL_UNIQUE
protected javax.jdo.PersistenceManagerFactory pmf
protected final java.util.List<java.lang.String> runningSegments
protected long startedAt
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void synchronize(java.lang.String id, java.lang.String providerName, java.lang.String segmentName, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.io.IOException
java.io.IOException
protected void handleRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.