Package com.hlcl.rql.as

Examples of com.hlcl.rql.as.Page


   * Overwrites the current row, always update the given headline.
   * <p>
   * Returns the row page which has to be filled in subclasses afterwards.
   */
  protected Page overwriteCurrentRowPage(String rowHeadline) throws RQLException {
    Page pageToOverwrite = currentRowPage;
    // it is assumed that method firstRow() was called before
    // check, if create or update
    if (overwrittenRowsCounter < existingRowsSize) {
      // update at least given row headline
      setCurrentRowHeadline(rowHeadline);
View Full Code Here


  public Map asPageGuidMap() throws RQLException {
    Map result = new HashMap(size());

    // insert all
    for (int i = 0; i < size(); i++) {
      Page p = getPage(i);
      result.put(p.getPageGuid(), p);
    }
    return result;
  }
View Full Code Here

   */
  public java.util.List<String> collectHeadlines() throws RQLException {

    java.util.List<String> result = new ArrayList<String>(this.size());
    for (int i = 0; i < size(); i++) {
      Page page = (Page) get(i);
      result.add(page.getHeadline());
    }
    return result;
  }
View Full Code Here

   * @see Page#getInfoText()
   */
  public String collectInfoText(String delimiter) throws RQLException {
    String result = "";
    for (int i = 0; i < size(); i++) {
      Page page = (Page) get(i);
      result += page.getInfoText() + delimiter;
    }
    return result;
  }
View Full Code Here

   */
  public java.util.List<String> collectTemplateNames() throws RQLException {

    java.util.List<String> result = new ArrayList<String>(this.size());
    for (int i = 0; i < size(); i++) {
      Page page = (Page) get(i);
      result.add(page.getTemplateName());
    }
    return result;
  }
View Full Code Here

   */
  public java.util.List<String> collectHeadlinesAndIds() throws RQLException {

    java.util.List<String> result = new ArrayList<String>(this.size());
    for (int i = 0; i < size(); i++) {
      Page page = (Page) get(i);
      result.add(page.getHeadlineAndId());
    }
    return result;
  }
View Full Code Here

  public Set collectLastChangedByUsers() throws RQLException {
    Set result = new HashSet();

    // insert all
    for (int i = 0; i < size(); i++) {
      Page p = getPage(i);
      result.add(p.getLastChangedByUser());
    }
    return result;
  }
View Full Code Here

   *
   * @see Page#release()
   */
  public void releaseAll() throws RQLException {
    for (int i = 0; i < size(); i++) {
      Page page = (Page) get(i);
      page.release();
    }
  }
View Full Code Here

   *
   * @see Page#submitToWorkflow()
   */
  public void submitAllToWorkflow() throws RQLException {
    for (int i = 0; i < size(); i++) {
      Page page = (Page) get(i);
      page.submitToWorkflow();
    }
  }
View Full Code Here

   */
  public int deleteAll(boolean ignoreReferences) throws RQLException {

    int result = 0;
    for (int i = 0; i < size(); i++) {
      Page page = (Page) get(i);
      try {
        page.delete(ignoreReferences);
        result += 1;
      } catch (MissingRightException mre) {
        // ignore
      }
    }
View Full Code Here

TOP

Related Classes of com.hlcl.rql.as.Page

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.