Package net.baguajie.domains

Examples of net.baguajie.domains.Forward


      throw new RuntimeException("Invalid activity type:" + activity.getType());
    }
    Spot target = spotRepository.findOne(activity.getTargetSpot());
 
    // save forward as comment
    Forward fwd = Forward.from(bean, signInUser);
    fwd.setAct(activity);
    fwd = forwardRepository.save(fwd);
   
    // incr forwarded count of original activity
    activityRepository.inc(activity.getId(), "forwardedCount", 1);
   
View Full Code Here


      @PathVariable String type, Model model,
      HttpServletRequest request, HttpSession session){
    if(!ajaxUtil.isAjaxRequest(request)){
      throw new ResourceNotFoundException();
    }
    Forward fwd = forwadRepository.findOne(id);
    model.addAttribute("fwd", fwd);
    return "ops/fwd."+ type;
  }
View Full Code Here

TOP

Related Classes of net.baguajie.domains.Forward

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.