Class LicenseActionService

java.lang.Object
sk.iway.iwcm.setup.LicenseActionService

public class LicenseActionService extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    setModel(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Prepare model attributes, based on input values.
    static String
    updateLicense(LicenseFormBean licenseForm, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Update WebJET license.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • updateLicense

      public static String updateLicense(LicenseFormBean licenseForm, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Update WebJET license. License is not checked, but user must give correct login username and password and this user must have ADMIN role.
      Parameters:
      licenseForm - - bean oontaining login and license
      model -
      request -
      response -
      Returns:
      Throws:
      IOException
      javax.servlet.ServletException
    • setModel

      public static void setModel(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Prepare model attributes, based on input values. Model will be used by page.
      Parameters:
      model -
      request -
      response -