Examples of BlogEnterOrEditForm


Examples of evolaris.platform.admin.web.form.BlogEnterOrEditForm

   *      org.apache.struts.action.ActionForm,
   *      javax.servlet.http.HttpServletRequest,
   *      javax.servlet.http.HttpServletResponse)
   */
  public ActionForward create(ActionMapping mapping, ActionForm form,HttpServletRequest req, HttpServletResponse resp)  {
    BlogEnterOrEditForm f = (BlogEnterOrEditForm)form;
    Blog blog = new Blog();
    Group group = this.getCurrentGroup(req);
    checkAccessRights(req, group);
    formToBlog(f, blog);
    blog.setGroup(group);
View Full Code Here

Examples of evolaris.platform.admin.web.form.BlogEnterOrEditForm

   *      org.apache.struts.action.ActionForm,
   *      javax.servlet.http.HttpServletRequest,
   *      javax.servlet.http.HttpServletResponse)
   */
  public ActionForward modify(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse resp) {
    BlogEnterOrEditForm f = (BlogEnterOrEditForm)form;
    BlogManager mgr = new BlogManager(locale,session);
    Blog blog = mgr.getBlog(f.getId());
    if (blog == null) {
      throw new InputException(getResources(req).getMessage(locale, "admin.BlogNotFound", f.getId()));
    }
    checkAccessRights(req, blog.getGroup());
    formToBlog(f, blog);
    ensureUniqueCodePerGroup(blog, req);
    mgr.modifyBlog(blog);
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.