/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2021-10-30 02:53:15 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp.help.workflow.function.news;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;

public final class createNews_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
  }

  public void _jspDestroy() {
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n");



      out.write("\r\n");
      out.write("\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" >\r\n");
      out.write("<html>\r\n");
      out.write("<head><meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("<title> </title>\r\n");
      out.write("    <META http-equiv=\"pragma\" content=\"no-cache\">\r\n");
      out.write("    <META http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
      out.write("    <META http-equiv=\"expires\" content=\"0\">\r\n");
      out.write("  \r\n");
      out.write("     <LINK rel=\"stylesheet\" type=\"text/css\" href=\"../func_style.css\">\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td class=\"STYLE31\">createNews(userid, title, rq, subjectId, topicId, canRevert, content ,tag)</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td><hr size=\"1\"></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("<p>[<span class=\"style32\"  >说明</span>]&nbsp;在指定的栏目中以指定人的名义发布一则新闻</p>\r\n");
      out.write("<p>[<span class=\"style32\"  >参看</span>]&nbsp;</p>\r\n");
      out.write("<p>[<span class=\"style32\"  >注意</span>]&nbsp;</p>\r\n");
      out.write("<p>１　如果由userid指定的人员在由subjectId指定的栏目中并不具有拟稿权限，那么新闻创建会失败。</p>\r\n");
      out.write("<p>２　本函数模拟创建新闻的动作，并不处理新闻的审核及发布。如果需要让新闻创建后，自动发布，请将指定的栏目设置成拟稿后自动发布。</p>\r\n");
      out.write("<p></p>\r\n");
      out.write("<p>[<span class=\"style32\">适用范围</span>] 　适用于任何可以运行脚本的地方</p>\r\n");
      out.write("<p>[<span class=\"style32\">参数</span>]</p>\r\n");
      out.write("<table width=\"100%\" style=\"font-size:12px\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#999999\">\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td width=\"14%\" nowrap><div align=\"center\">参数</div></td>\r\n");
      out.write("    <td width=\"9%\"><div align=\"center\">类型</div></td>\r\n");
      out.write("    <td width=\"77%\"><div align=\"center\">说明</div></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>userid</td>\r\n");
      out.write("    <td nowrap>数字型</td>\r\n");
      out.write("    <td>拟稿人的ID</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>title</td>\r\n");
      out.write("    <td nowrap>字符型　</td>\r\n");
      out.write("    <td>新闻的标题</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>rq</td>\r\n");
      out.write("    <td nowrap>字符型</td>\r\n");
      out.write("    <td>新闻起草时间,注意，请遵循 yyyy.mm.dd 的格式，如 '2006.12.31' </td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>subjectId</td>\r\n");
      out.write("    <td nowrap>数字型</td>\r\n");
      out.write("    <td>将新闻发布在哪个栏目中</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>topicId</td>\r\n");
      out.write("    <td nowrap>数字型</td>\r\n");
      out.write("    <td>主题的ID（没有主题时，使用参数0）</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>canRevert</td>\r\n");
      out.write("    <td nowrap>boolean</td>\r\n");
      out.write("    <td>true:表示允许回复，false表示不允许回复</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>content</td>\r\n");
      out.write("    <td nowrap>字符型</td>\r\n");
      out.write("    <td>新闻的内容 (可以是html代码) </td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>tag</td>\r\n");
      out.write("    <td nowrap>字符型</td>\r\n");
      out.write("    <td>任意的字符型数据，可根据需要将数据保存到新闻中，但这个数据不会在显示新闻时显示出来</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("<p>[<span class=\"style32\">返回值</span>]返回类型是数字型  ，返回新生成的新闻的ID，如果返回值&lt;0 表示生成失败</p>\r\n");
      out.write("<p>[<span class=\"style32\">示例</span>]</p>\r\n");
      out.write("　\r\n");
      out.write("<p>&nbsp; </p>\r\n");
      out.write("<p>&nbsp; </p>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
