Package webobjectsexamples.businesslogic.movies.common

Examples of webobjectsexamples.businesslogic.movies.common.Movie


    super(request);
  }

  @Override
  public WOActionResults createAction() throws Throwable {
    Movie movie = create(showFilter());
    editingContext().saveChanges();
    return response(movie, showFilter());
  }
View Full Code Here


    return response(movie, showFilter());
  }

  @Override
  public WOActionResults destroyAction() throws Throwable {
    Movie movie = routeObjectForKey("movie");
    editingContext().deleteObject(movie);
    editingContext().saveChanges();
    return response(movie, showFilter());
  }
View Full Code Here

    return response(routeObjectForKey("movie"), showFilter());
  }
 
  @Override
  public WOActionResults updateAction() throws Throwable {
    Movie movie = routeObjectForKey("movie");
    update(movie, showFilter());
    editingContext().saveChanges();
    return response(movie, showFilter());
  }
View Full Code Here

    return null;
  }
 
  public WOActionResults showDetailsAction() {
    EOEditingContext ec = ERXEC.newEditingContext();
    Movie movie = (Movie)ec.faultForGlobalID(currentDocument().eoKeyGlobalId(), ec);
   
    MovieDetails nextPage = (MovieDetails)pageWithName(MovieDetails.class.getName());
    nextPage.setMovie(movie);

    return nextPage;
View Full Code Here

TOP

Related Classes of webobjectsexamples.businesslogic.movies.common.Movie

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.