org.silverpeas.attachment.web
Class ActifyToAttachment

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.silverpeas.attachment.web.ActifyToAttachment
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ActifyToAttachment
extends javax.servlet.http.HttpServlet

Importer of 3D documents generated by Actify (from a CAD document) in Silverpeas.

See Also:
Serialized Form

Constructor Summary
ActifyToAttachment()
           
 
Method Summary
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Updates an existing attachment in Silverpeas with the 3D document generated by Actify for that attachment.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActifyToAttachment

public ActifyToAttachment()
Method Detail

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws javax.servlet.ServletException,
                    IOException
Updates an existing attachment in Silverpeas with the 3D document generated by Actify for that attachment.

Overrides:
service in class javax.servlet.http.HttpServlet
Parameters:
req - the incoming HTTP request with as parameter the file size, the identifier of an existing attachment, and the name of the file resulting of the conversion.
res - the sent back HTTP response.
Throws:
IOException - if an error occurs while importing the 3D file.
javax.servlet.ServletException - if an unexpected error occurs.


Copyright © 2016 Silverpeas. All Rights Reserved.