Package com.hlcl.rql.util.as

Examples of com.hlcl.rql.util.as.PageArrayList.first()


    // no one found
    if (children.size() == 0) {
      return null;
    }
    // wrap
    return new RecyclingTableBlock(children.first());
  }

  /**
   * Returns the first link table block from the blocks_bottom container or null, if it doesn't have a link table block page at all.
   */
 
View Full Code Here


    // no one found
    if (children.size() == 0) {
      return null;
    }
    // wrap
    return new LinkTableBlock(children.first());
  }

  /**
   * Returns the number of html view table blocks linked at the blocks_bottom container.
   */
 
View Full Code Here

    // no one found
    if (children.size() == 0) {
      return null;
    }
    // wrap
    return new HtmlViewTableBlock(children.first());
  }

  /**
   * Returns the recycling table block from the blocks_bottom container or creates a new one, if this leaf list page didn't have one
   * before.
 
View Full Code Here

    PageArrayList pages = getPage().getContainerChildPages(getParameter("blocksTmpltElemName"),
        getParameter("linkTableBlockTmpltName"));
    if (pages.isEmpty()) {
      return null;
    }
    return new LinkTableBlock(pages.first());
  }

  /**
   * Returns the first text block found in this page's container element blocks, or null, if no block found.
   */
 
View Full Code Here

    PageArrayList pages = getPage()
        .getContainerChildPages(getParameter("blocksTmpltElemName"), getParameter("textBlockTmpltName"));
    if (pages.isEmpty()) {
      return null;
    }
    return new TextBlock(pages.first());
  }

  /**
   * Try to disconnect the first found text block from this content page, if this page has a text block.
   * <p>
 
View Full Code Here

    // no one found
    if (children.size() == 0) {
      return null;
    }
    // wrap
    return new RecyclingTableBlock(children.first());
  }

  /**
   * Returns the recycling table block from the blocks container or creates a new one, if this content page didn't have one before.
   */
 
View Full Code Here

    // no one found
    if (children.size() == 0) {
      return null;
    }
    // wrap
    return new EnhancedListTableBlock(children.first());
  }

  /**
   * Creates a new recycling table block on the blocks container of this content page.
   *
 
View Full Code Here

    PageSearch pageSearch = getPageSearch();
    pageSearch.addPageIdCriteriaEqual(pageId);
    // max 1 page in result, so get all
    PageArrayList result = pageSearch.getPages();
    return result.size() != 1 ? null : result.first();
  }


  /**
   * Liefert den CmsClient.
View Full Code Here

    PageSearch pageSearch = getPageSearch();
    pageSearch.addPageIdCriteriaEqual(pageId);
    // max 1 page in result, so get all
    PageArrayList result = pageSearch.getPages();
    return result.size() != 1 ? null : result.first().getPageGuid();
  }

  /**
   * Setzt auf dem recycle bin tree node im Smart Tree die Suchanfrage.
   */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.