Package com.hlcl.rql.as

Examples of com.hlcl.rql.as.ReddotDate


   * name of the mailbox; part before @
   * @param displayName
   *            clickable name of the mail address
   */
  public void setFooter(String responsibleId, String displayName) throws RQLException {
    setFooter(responsibleId, displayName, new ReddotDate());
  }
View Full Code Here


  /**
   * Sets the page updated to today and returns this reddot date, with date and time part.
   */
  public ReddotDate updatedToday() throws RQLException {
    ReddotDate today = new ReddotDate();
    setUpdated(today);
    return today;
  }
View Full Code Here

  /**
   * Sets the page updated to today and returns this reddot date, only date not time part.
   */
  public ReddotDate setUpdatedToday() throws RQLException {
    ReddotDate today = ReddotDate.now();
    setUpdated(today);
    return today;
  }
View Full Code Here

  /**
   * Sets the page updated to given date.
   */
  public void setUpdated(Date timestamp) throws RQLException {
    setUpdated(new ReddotDate(timestamp));
  }
View Full Code Here

   */
  public String getUpdatedOnIfAvailable(String ifNotAvailable) throws RQLException {
    Page page = getPage();
    String templateElementName = getParameter("pageUpdatedTmpltElemName");
    if (page.contains(templateElementName)) {
      ReddotDate rdDate = page.getStandardFieldDateValue(templateElementName);
      if (rdDate != null) {
        return rdDate.getAsyyyyMMdd();
      }
    }
    return ifNotAvailable;
  }
View Full Code Here

                .get("responsibleMailWorkAreaTmpltElemName")));
        responsibleDepartments.add(rowData);
      }

      // remember last refresh time only if no exception
      lastRefreshed = new ReddotDate();
    } finally {
      // release client
      if (client != null) {
        client.disconnect();
      }
View Full Code Here

  /**
   * Liefert den Zeitpunkt der nächsten automatischen Aktualisierung.
   */
  public ReddotDate getNextRefreshTime() {
    return new ReddotDate(lastRefreshed).rollMinutes(refreshIntervalInMinutes);
  }
View Full Code Here

  /**
   * Liefert die Anzahl der Minuten vom Aufruf bis zur nächsten automatischen Aktualisierung.
   */
  public long getNextRefreshTimeAsmm() {
    return getNextRefreshTime().minusAsmm(new ReddotDate());
  }
View Full Code Here

  /**
   * Liefert true, falls die Daten vom CMS neu gelesen werden müssen.
   */
  public boolean needsRefreshFromCms() {
    return lastRefreshed == null || getNextRefreshTime().before(new ReddotDate());
  }
View Full Code Here

    currentPg.startSetElementValues();
   
    // 2. step
    // remember new page element values only
    currentPg.addSetOptionListValue("templateElementName", "value");
    currentPg.addSetStandardFieldDateValue("templateElementName", new ReddotDate());
    currentPg.addSetStandardFieldNumericValue("templateElementName", 20);
    currentPg.addSetStandardFieldTextValue("templateElementName", "text value");
    currentPg.addSetStandardFieldUserDefinedValue("templateElementName", "value");
   
    // 2. step
View Full Code Here

TOP

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

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.