[jboss-cvs] jboss-seam/examples/seambay/src/org/jboss/seam/example/seambay ...

Shane Bryzak sbryzak at redhat.com
Sun Jun 24 22:56:41 EDT 2007


  User: sbryzak2
  Date: 07/06/24 22:56:41

  Modified:    examples/seambay/src/org/jboss/seam/example/seambay  
                        AuctionService.java AuctionServiceRemote.java
  Log:
  don't return auction id
  
  Revision  Changes    Path
  1.16      +1 -3      jboss-seam/examples/seambay/src/org/jboss/seam/example/seambay/AuctionService.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AuctionService.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seambay/src/org/jboss/seam/example/seambay/AuctionService.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- AuctionService.java	25 Jun 2007 00:29:25 -0000	1.15
  +++ AuctionService.java	25 Jun 2007 02:56:41 -0000	1.16
  @@ -41,13 +41,11 @@
      }
      
      @WebMethod
  -   public Integer createAuction(String title, String description, int categoryId)
  +   public void createAuction(String title, String description, int categoryId)
      {
         AuctionAction action = getAuctionAction();      
         action.createAuction();
         action.setDetails(title, description, categoryId);
  -      
  -      return action.getAuction().getAuctionId();
      }
      
      @WebMethod
  
  
  
  1.10      +1 -1      jboss-seam/examples/seambay/src/org/jboss/seam/example/seambay/AuctionServiceRemote.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AuctionServiceRemote.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seambay/src/org/jboss/seam/example/seambay/AuctionServiceRemote.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- AuctionServiceRemote.java	25 Jun 2007 00:29:25 -0000	1.9
  +++ AuctionServiceRemote.java	25 Jun 2007 02:56:41 -0000	1.10
  @@ -10,7 +10,7 @@
      
      Category[] listCategories();
      
  -   Integer createAuction(String title, String description, int categoryId);   
  +   void createAuction(String title, String description, int categoryId);   
      Auction getNewAuctionDetails();
      void updateAuctionDetails(String title, String description, int categoryId);
      void setAuctionDuration(int days);
  
  
  



More information about the jboss-cvs-commits mailing list