Package org.springmodules.feedxt.web.view

Examples of org.springmodules.feedxt.web.view.RemoveSubscriptionsView


        User user = this.userHolder.getUser();
        return this.introductor.introduceInterfaces(user, new Class[]{RemoveSubscriptionsView.class});
    }

    protected ModelAndView onSubmit(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors) throws Exception {
        RemoveSubscriptionsView view = (RemoveSubscriptionsView) command;
        User user = (User) this.introductor.getTarget(view);
        if (view.getSubscriptionsToRemove() != null) {
            for (FeedSubscription s : view.getSubscriptionsToRemove()) {
                this.userService.removeSubscriptionToFeed(user, s);
            }
        }
        return new AjaxModelAndView(this.getSuccessView(), errors);
    }
View Full Code Here

TOP

Related Classes of org.springmodules.feedxt.web.view.RemoveSubscriptionsView

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.