Package com.tll.common.data

Examples of com.tll.common.data.ListingRequest


   * @param refresh Force the listing to be re-queried on the server if it is
   *        cached?
   */
  private void fetch(int ofst, Sorting srtg, boolean refresh) {
    this.listingRequest =
      new ListingRequest(listingId, listingDef, refresh ? ListingOp.REFRESH : ListingOp.FETCH, ofst, srtg);
    execute();
  }
View Full Code Here


   * @param ofst The listing index offset
   * @param srtg The sorting directive
   */
  @Override
  protected void doFetch(int ofst, Sorting srtg) {
    listingRequest = new ListingRequest(listingId, ofst, srtg);
    execute();
  }
View Full Code Here

  /**
   * Clear the listing.
   * @param retainListingState Retain the listing state on the server?
   */
  private void clear(boolean retainListingState) {
    listingRequest = new ListingRequest(listingId, retainListingState);
    execute();
  }
View Full Code Here

   * @throws Exception
   */
  public void testRefresh() throws Exception {
    final ListingContext context = getListingContext();

    final ListingRequest request = new ListingRequest(listingId1, getListingDef(), ListingOp.REFRESH, 0, null);

    final ListingPayload<Model> p = processor.process(ssnId1, context, request);

    assert p != null;
  }
View Full Code Here

TOP

Related Classes of com.tll.common.data.ListingRequest

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.