com.silverpeas.importExportPeas.servlets
Class ImportDragAndDrop

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.stratelia.silverpeas.peasCore.servlets.SilverpeasHttpServlet
              extended by com.stratelia.silverpeas.peasCore.servlets.SilverpeasAuthenticatedHttpServlet
                  extended by com.silverpeas.importExportPeas.servlets.ImportDragAndDrop
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ImportDragAndDrop
extends SilverpeasAuthenticatedHttpServlet

Class declaration

Author:
See Also:
Serialized Form

Constructor Summary
ImportDragAndDrop()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void init(javax.servlet.ServletConfig config)
           
protected  boolean isDefaultClassificationModifiable(String topicId, String componentId)
          Is the default classification on the PdC used to classify the publications published in the specified topic of the specified component instance can be modified during the multi-publications import process?
 
Methods inherited from class com.stratelia.silverpeas.peasCore.servlets.SilverpeasAuthenticatedHttpServlet
getMainSessionController, getSessionInfo, renewSessionSecurityToken, service, throwUserSessionExpiration
 
Methods inherited from class com.stratelia.silverpeas.peasCore.servlets.SilverpeasHttpServlet
redirectOrForwardService, throwHttpForbiddenError, throwHttpNotFoundError, throwHttpPreconditionFailedError
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportDragAndDrop

public ImportDragAndDrop()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException,
                   IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

isDefaultClassificationModifiable

protected boolean isDefaultClassificationModifiable(String topicId,
                                                    String componentId)
Is the default classification on the PdC used to classify the publications published in the specified topic of the specified component instance can be modified during the multi-publications import process? If no default classification is defined for the specified topic (and for any of its parent topics), then false is returned.

Parameters:
topicId - the unique identifier of the topic.
componentId - the unique identifier of the component instance.
Returns:
true if the default classification can be modified during the automatical classification of the imported publications. False otherwise.


Copyright © 2016 Silverpeas. All Rights Reserved.