Package com.hlcl.rql.util.as

Examples of com.hlcl.rql.util.as.PageArrayList


   */
  public PageArrayList sortChildsByGivenHeadlines(SortedSet<String> orderedHeadlines) throws RQLException {

    // create comparator and sort
    SortedHeadlinesPageComparator comparator = new SortedHeadlinesPageComparator(orderedHeadlines);
    PageArrayList sortedChilds = getChildPages().sort(comparator);

    // update cms
    changeOrder(sortedChilds);

    return sortedChilds;
View Full Code Here


   * @return returns die sortierte Liste der Kindseiten
   */
  public PageArrayList sortChildsByHeadlineAsc() throws RQLException {

    // sort
    PageArrayList sortedChilds = getChildPages().sortByHeadlineAsc();

    // update cms
    changeOrder(sortedChilds);

    return sortedChilds;
View Full Code Here

   * @return returns die sortierte Liste der Kindseiten
   */
  public PageArrayList sortChildsByHeadlineDesc() throws RQLException {

    // sort
    PageArrayList sortedChilds = getChildPages().sortByHeadlineDesc();

    // update cms
    changeOrder(sortedChilds);

    return sortedChilds;
View Full Code Here

   */
  public PageArrayList sortChildsByIdAsc() throws RQLException {

    // create comparator and sort
    PageIdPageComparator comparator = new PageIdPageComparator();
    PageArrayList sortedChilds = getChildPages().sort(comparator);

    // update cms
    changeOrder(sortedChilds);

    return sortedChilds;
View Full Code Here

  public PageArrayList sortChildsByIdDesc() throws RQLException {

    // create comparator and sort
    PageIdPageComparator comparator = new PageIdPageComparator();
    comparator.forceDescendingOrdering();
    PageArrayList sortedChilds = getChildPages().sort(comparator);

    // update cms
    changeOrder(sortedChilds);

    return sortedChilds;
View Full Code Here

   */
  public PageArrayList sortChildsByStandardFieldTextAsc(String standardFieldTextTmpltElemName) throws RQLException {

    // create comparator and sort
    StandardFieldTextPageComparator comparator = new StandardFieldTextPageComparator(standardFieldTextTmpltElemName);
    PageArrayList sortedChilds = getChildPages().sort(comparator);

    // update cms
    changeOrder(sortedChilds);

    return sortedChilds;
View Full Code Here

  public PageArrayList sortChildsByStandardFieldTextDesc(String standardFieldTextTmpltElemName) throws RQLException {

    // create comparator and sort
    StandardFieldTextPageComparator comparator = new StandardFieldTextPageComparator(standardFieldTextTmpltElemName);
    comparator.forceDescendingOrdering();
    PageArrayList sortedChilds = getChildPages().sort(comparator);

    // update cms
    changeOrder(sortedChilds);

    return sortedChilds;
View Full Code Here

   * Ordnet den ersten maxPages Seiten dieses Templates je dem Seitenelement, das auf dem gegebenen templateElement basiert, das
   * gegebenen Detail-Element-Berechtigungspaket zu.
   */
  public void assignAuthorizationPackageToPageElements(AuthorizationPackage authorizationPackage, TemplateElement templateElement,
      int maxPages) throws RQLException {
    PageArrayList pages = getAllPages(maxPages);
    for (Iterator iterator = pages.iterator(); iterator.hasNext();) {
      Page page = (Page) iterator.next();
      page.assignAuthorizationPackage(authorizationPackage, templateElement);
    }
  }
View Full Code Here

   * @return List of Pages
   */
  public void referencePageElements(TemplateElement templateElement, StandardFieldTextElement targetElement, int maxPages)
      throws RQLException {

    PageArrayList pages = getAllPages(maxPages);
    for (Iterator iterator = pages.iterator(); iterator.hasNext();) {
      Page page = (Page) iterator.next();
      page.getStandardFieldTextElement(templateElement.getName()).referenceTo(targetElement);
      page.freeOccupiedMemory();
    }
  }
View Full Code Here

   *
   * @return List of Pages
   */
  public void referencePageElements(TemplateElement templateElement, TextElement targetElement, int maxPages) throws RQLException {

    PageArrayList pages = getAllPages(maxPages);
    for (Iterator iterator = pages.iterator(); iterator.hasNext();) {
      Page page = (Page) iterator.next();
      page.getTextElement(templateElement.getName()).referenceTo(targetElement);
    }
  }
View Full Code Here

TOP

Related Classes of com.hlcl.rql.util.as.PageArrayList

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.