Examples of NewUserActionResult


Examples of net.relatedwork.shared.dto.NewUserActionResult

  @Override
  public NewUserActionResult execute(NewUserAction newUserAction,
      ExecutionContext context) throws ActionException {

    NewUserActionResult resultObject;
   
    // Update sessionInformation object for client
    ServerSIO session = new ServerSIO(newUserAction.getSession());
    session.save();
   
    // Register new user on server
    try {
      UserInformation UIO = new UserInformation(servletContext);
      UIO.registerNewUser(newUserAction);
    } catch (NewUserError e) {
      // something went wrong
      throw new ActionException(e.getMessage());
    }
   
    // everything ok
    return new NewUserActionResult();
  }
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.