Examples of cancelActivity()


Examples of com.ourlinc.helloworld.model.User.cancelActivity()

    Activity act = m_ActivityService.getActivity(actId);
    if (null == act) {
      request.setAttribute("errorMsg", "找不到id=" + actId + "的活动");
      return "error";
    }
    user.cancelActivity(act);
    user.flush();
    response.sendRedirect("/activity/index.jspx");
    return null;
  }
View Full Code Here

Examples of com.ourlinc.helloworld.model.User.cancelActivity()

        u.flush();
      }
    } else if ("delete".equals(op)) {// 删除用户
      User dUser = m_UserService.getUser(id);
      if (null != dUser) {
        dUser.cancelActivity(act);
        dUser.flush();
      }
    }
    List<User> u = act.getMembers();
    ResultPage<User> rp = ResultPage.OnList.wrap(u);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.