Package com.google.gdata.data.extensions

Examples of com.google.gdata.data.extensions.LastViewed


   * Returns the time when the document was last viewed by the user.
   *
   * @return the last viewed time
   */
  public DateTime getLastViewed() {
    LastViewed lastViewed = getExtension(LastViewed.class);
    return lastViewed == null ? null : lastViewed.getValue();
  }
View Full Code Here


   */
  public void setLastViewed(DateTime lastViewed) {
    if (lastViewed == null) {
      removeExtension(LastViewed.class);
    } else {
      setExtension(new LastViewed(lastViewed));
    }
  }
View Full Code Here

   * Returns the time when the document was last viewed by the user.
   *
   * @return the last viewed time
   */
  public DateTime getLastViewed() {
    LastViewed lastViewed = getExtension(LastViewed.class);
    return lastViewed == null ? null : lastViewed.getValue();
  }
View Full Code Here

   */
  public void setLastViewed(DateTime lastViewed) {
    if (lastViewed == null) {
      removeExtension(LastViewed.class);
    } else {
      setExtension(new LastViewed(lastViewed));
    }
  }
View Full Code Here

TOP

Related Classes of com.google.gdata.data.extensions.LastViewed

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.