Package org.jresearch.gossip.forms

Examples of org.jresearch.gossip.forms.ProcessItemForm


   */
  protected ActionForward process(ActionMapping mapping, ActionForm form,
      HttpServletRequest request, HttpServletResponse response)
      throws JGossipException {
    ForumDAO dao = ForumDAO.getInstance();
    ProcessItemForm piForm = (ProcessItemForm) form;
    RankForm rForm;
    if (request.getAttribute("rankForm") == null) {
      try {
        RankInfoDTO info = dao.getRankInfo(Integer.parseInt(piForm
            .getId()));
        rForm = new RankForm();
        BeanUtils.copyProperties(rForm, info);
      } catch (SQLException e) {
        throw new SystemException(e);
View Full Code Here


     */
    protected ActionForward process(ActionMapping mapping, ActionForm form,
            HttpServletRequest request, HttpServletResponse response)
            throws JGossipException {
        ForumDAO dao = ForumDAO.getInstance();
        ProcessItemForm piForm = (ProcessItemForm) form;
        try {
            dao.removeRank(Integer.parseInt(piForm.getId()));
//          Reload Post counted Ranks
      Ranks.getInstance().load();
        } catch (SQLException e) {
            throw new SystemException(e);
        }
View Full Code Here

TOP

Related Classes of org.jresearch.gossip.forms.ProcessItemForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.