Package net.sourceforge.stripes.action

Examples of net.sourceforge.stripes.action.RedirectResolution


     * Creates the card
     * @return a redirect resolution to the cards page, with a success message
     */
    public Resolution createCard() {
        doCreateCard();
        return new RedirectResolution(CardsActionBean.class);
    }
View Full Code Here


    public Resolution destroy() {
        accountService.destroyAccount(getContext().getUserInformation().getUserId());
        getContext().getMessages().add(new ScopedLocalizableMessage(DestroyAccountActionBean.class,
                                                                    "accountDestroyed"));
        getContext().logout();
        return new RedirectResolution(IndexActionBean.class);
    }
View Full Code Here

    /**
     * Cancels the destruction
     * @return a redirect resolution to the account page
     */
    public Resolution cancel() {
        return new RedirectResolution(AccountActionBean.class);
    }
View Full Code Here

     */
    public Resolution createAccount() {
        UserInformation userInformation =
            accountService.createAccount(userId, masterPassword);
        getContext().login(userInformation);
        return new RedirectResolution(CardsActionBean.class);
    }
View Full Code Here

     * Cancels the current operation
     * @return a redirect resolution to the cards page
     */
    @DontBind
    public Resolution cancel() {
        return new RedirectResolution(CardsActionBean.class);
    }
View Full Code Here

     * Deletes the card
     * @return a redirect resolution to the cards page, with a success message
     */
    public Resolution deleteCard() {
        doDeleteCard();
        return new RedirectResolution(CardsActionBean.class);
    }
View Full Code Here

     * Modifies the card
     * @return a redirect resolution to the cards page, with a success message
     */
    public Resolution modifyCard() {
        doModifyCard();
        return new RedirectResolution(CardsActionBean.class);
    }
View Full Code Here

     * Changes the password generation preferences
     * @return a redirect resolution to the preferences page, with a success message
     */
    public Resolution change() {
        doChange();
        return new RedirectResolution(PreferencesActionBean.class);
    }
View Full Code Here

     * Cancels the change
     * @return a redirect resolution to the preferences page
     */
    @DontBind
    public Resolution cancel() {
        return new RedirectResolution(PreferencesActionBean.class);
    }
View Full Code Here

     * Changes the password preferences
     * @return a redirect resolution to the preferences page, with a success message
     */
    public Resolution change() {
        doChange();
        return new RedirectResolution(PreferencesActionBean.class);
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.stripes.action.RedirectResolution

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.