コード例 #1
0
  public void authorize(boolean authorized, String taskId, String callbackUrl) {
    auctionService.authorizeAuction(taskId, authorized);

    Util.redirectTo(callbackUrl);
  }
コード例 #2
0
 @Produces
 @RequestScoped
 @Named("authorizeAuction")
 public Auction getAuction() {
   return auctionService.findAuctionByTaskId(taskId);
 }