private void loadStories(SearchFilter filter) {
    int limit = 100;
    int offset = 0;
    filter.setDesk(newsDesk);

    boolean isLoadForSelectedUserOnly = false;
    String taskName = CONSTANTS.PUBLISHING_TASK;

    GetStoriesSummaryRequest request =
        new GetStoriesSummaryRequest(
            filter, false, isLoadForSelectedUserOnly, taskName, offset, limit);

    MultiRequestAction action = new MultiRequestAction();
    action.addRequest(request);

    // All Request
    fireEvent(new ProcessingEvent());
    requestHelper.execute(
        action,
        new TaskServiceCallback<MultiRequestActionResult>() {
          @Override
          public void processResult(MultiRequestActionResult aResponse) {
            getView().clearStories();
            GetStoriesSummaryResponse getStoriesResp = (GetStoriesSummaryResponse) aResponse.get(0);
            getView()
                .setStories(getStoriesResp.getStories(), newsDesk, getStoriesResp.getTotalCount());
            getView().setCounts(getStoriesResp.getCounts());
            fireEvent(new ProcessingCompletedEvent());
          }
        });
  }
 protected void save(AssignmentDto headline) {
   MultiRequestAction action = new MultiRequestAction();
   action.addRequest(new SaveAssignmentRequest(headline));
   requestHelper.execute(
       action,
       new TaskServiceCallback<MultiRequestActionResult>() {
         @Override
         public void processResult(MultiRequestActionResult aResponse) {
           loadStories(filter);
         }
       });
 }
  private void loadSearchParams() {
    MultiRequestAction action = new MultiRequestAction();
    action.addRequest(new GetUsersRequest());
    action.addRequest(new GetOrgsRequest());
    requestHelper.execute(
        action,
        new TaskServiceCallback<MultiRequestActionResult>() {
          @Override
          public void processResult(MultiRequestActionResult aResponse) {
            int i = 0;
            GetUsersResponse getUsers = (GetUsersResponse) aResponse.get(i++);
            getView().setUsers(getUsers.getUsers());

            GetOrgsResponse getOrgs = (GetOrgsResponse) aResponse.get(i++);
            getView().setOrgs(getOrgs.getOrgs());
            fireEvent(new ProcessingCompletedEvent());
          }
        });
  }