Package com.gwtplatform.mvp.client.proxy.PlaceRequest

Examples of com.gwtplatform.mvp.client.proxy.PlaceRequest.Builder


            article.setDate(date);
            article.setName(name);
            article.setTag(tag);
            article.setKeyHash(result.getIdHash());
            AddArticleEvent.fire(AddArticlesPresenter.this, article);
            Builder request = new PlaceRequest.Builder().nameToken(
                NameTokens.getLookfor()).with(
                LookforPresenter.Parameters.id.name(),
                result.getIdHash());

            placeManager.revealPlace(request.build());
          }
        });
  }
View Full Code Here


    setInSlot(TYPE_SetContent, editorPresenter);
  }

  @Override
  public void handleCancel() {
    Builder request = new PlaceRequest.Builder().nameToken(NameTokens
        .getArticles());

    placeManager.revealPlace(request.build());
  }
View Full Code Here

        });
  }

  @Override
  public void handleClickName(Tags tag, String idHash) {
    Builder request = new PlaceRequest.Builder().nameToken(NameTokens.getLookfor()).
        with(LookforPresenter.Parameters.id.name(), idHash);
   
    placeManager.revealPlace(request.build());
  }
View Full Code Here

        articlesDto.setDate(action.getDate());
        articlesDto.setKeyHash(action.getKeyHash());
        articlesDto.setName(action.getName());
        articlesDto.setTag(result.getTagOut());
        uiHandlers.updateSuccessProduct(articlesDto);
        Builder request = new PlaceRequest.Builder().nameToken(
            NameTokens.getLookfor()).with(
            LookforPresenter.Parameters.id.name(),
            result.getIdHash());

        placeManager.revealPlace(request.build());
      }
    });
  }
View Full Code Here

    this.uiHandlers=uiHandlers;
  }

  @Override
  public void handleCancel() {
    Builder request = new PlaceRequest.Builder().nameToken(NameTokens.getArticles());
    placeManager.revealPlace(request.build());
  }
View Full Code Here

    }
  }

  @Override
  public void handleProduct(String key) {
    Builder request = new PlaceRequest.Builder().nameToken(
        NameTokens.getLookfor()).with(
        LookforPresenter.Parameters.id.name(), key);

    placeManager.revealPlace(request.build());
  }
View Full Code Here

    getView().watchArticles(offerId, result);
  }

  @Override
  public void handleFriend(String email) {
    Builder request = new PlaceRequest.Builder().nameToken(NameTokens.getSocial()).
        with(MessagesPresenter.Parameters.user.name(), email);
   
    placeManager.revealPlace(request.build());
  }
View Full Code Here

    }else if(tag != null){
      productsPresenter.retireveFromServer(Tags.valueOf(tag));
    }else if(tag == null && id == null){
      Tags[] tags = Tags.values();
      Tags randomTag = tags[Random.nextInt(tags.length)];
      Builder newRequest = new PlaceRequest.Builder().nameToken(NameTokens
          .getLookfor()).with(Parameters.tag.name(), randomTag.name());
      placeManager.revealPlace(newRequest.build());
    }
  }
View Full Code Here

    }
  }

  @Override
  public void loadFriendInfo(String email) {
    Builder request = new PlaceRequest.Builder().nameToken(
        NameTokens.getSocial()).with(
        MessagesPresenter.Parameters.user.name(), email);
    placeManager.revealPlace(request.build());
  }
View Full Code Here

    getView().setOffers(article);
  }

  @Override
  public void handleWatchProduct(String id) {
    Builder request = new PlaceRequest.Builder().nameToken(NameTokens.getLookfor()).
        with(LookforPresenter.Parameters.id.name(), id);
   
    placeManager.revealPlace(request.build());
  }
View Full Code Here

TOP

Related Classes of com.gwtplatform.mvp.client.proxy.PlaceRequest.Builder

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.