Class ModifyAssetServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class ModifyAssetServlet
    extends javax.servlet.http.HttpServlet

    ModifyAssetServlet class.

    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    ranger
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected AssetModel model  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doPost​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      protected java.lang.String getRequestParameter​(javax.servlet.http.HttpServletRequest request, java.lang.String name)
      getRequestParameter
      void init()
      init
      protected Asset parms2Asset​(javax.servlet.http.HttpServletRequest request, int nodeId)
      parms2Asset
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, 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

      • ModifyAssetServlet

        public ModifyAssetServlet()
    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException

        init

        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException - if any.
      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws javax.servlet.ServletException,
                           java.io.IOException
        Overrides:
        doPost in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        java.io.IOException
      • getRequestParameter

        protected java.lang.String getRequestParameter​(javax.servlet.http.HttpServletRequest request,
                                                       java.lang.String name)

        getRequestParameter

        Parameters:
        request - a HttpServletRequest object.
        name - a String object.
        Returns:
        a String object.
      • parms2Asset

        protected Asset parms2Asset​(javax.servlet.http.HttpServletRequest request,
                                    int nodeId)

        parms2Asset

        Parameters:
        request - a HttpServletRequest object.
        nodeId - a int.
        Returns:
        a Asset object.