Package com.cosmicpush.app.domain.accounts.actions

Examples of com.cosmicpush.app.domain.accounts.actions.UpdateAccountAction


  }

  @POST
  public Response updateAccount(@FormParam("firstName") String firstName, @FormParam("lastName") String lastName, @FormParam("emailAddress") String emailAddress) throws Exception {

    UpdateAccountAction action = new UpdateAccountAction(firstName, lastName, emailAddress);
    account.apply(action);
    config.getAccountStore().update(account);

    return Response.seeOther(new URI("manage/account")).build();
  }
View Full Code Here

TOP

Related Classes of com.cosmicpush.app.domain.accounts.actions.UpdateAccountAction

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.