/** * Returns the user who last modified the document. * * @return the user who last modified the document */ public LastModifiedBy getLastModifiedBy() { LastModifiedBy lastModifiedBy = getExtension(LastModifiedBy.class); return lastModifiedBy == null ? null : lastModifiedBy; }
/** * Returns the user who last modified the document. * * @return the user who last modified the document */ public LastModifiedBy getLastModifiedBy() { LastModifiedBy lastModifiedBy = getExtension(LastModifiedBy.class); return lastModifiedBy == null ? null : lastModifiedBy; }
/** * Returns the user who last modified the document. * * @return the user who last modified the document */ public LastModifiedBy getLastModifiedBy() { LastModifiedBy lastModifiedBy = getExtension(LastModifiedBy.class); return lastModifiedBy == null ? null : lastModifiedBy; }
/** * 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(); }
/** * 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(); }
/** * Returns the document's resource id. * * @return the resource id. */ public String getResourceId() { ResourceId resourceId = getExtension(ResourceId.class); return resourceId == null ? null : resourceId.getValue(); }
/** * Returns the suggested filename for this document. * * @return the filename */ public String getSuggestedFilename() { SuggestedFilename filename = getExtension(SuggestedFilename.class); return filename == null ? null : filename.getValue(); }
/** * Returns the document's resource id. * * @return the resource id. */ public String getResourceId() { ResourceId resourceId = getExtension(ResourceId.class); return resourceId == null ? null : resourceId.getValue(); }
/** * Returns the amount of quota consumed by the document. * * @return the quota used */ public Long getQuotaBytesUsed() { QuotaBytesUsed quotaBytes = getExtension(QuotaBytesUsed.class); return quotaBytes == null ? null : quotaBytes.getValue(); }
/** * Returns the amount of quota consumed by the document. * * @return the quota used */ public Long getQuotaBytesUsed() { QuotaBytesUsed quotaBytes = getExtension(QuotaBytesUsed.class); return quotaBytes == null ? null : quotaBytes.getValue(); }
/** * Returns a flag for whether writers can invite other collaborators * * @return whether writers can invite */ public Boolean isWritersCanInvite(){ WritersCanInvite writersCanInvite = getExtension(WritersCanInvite.class); return writersCanInvite == null ? null : writersCanInvite.getValue(); }
/** * Returns the time when the document was last commented by the user. * * @return the last commented time */ public DateTime getLastCommented() { LastCommented lastCommented = getExtension(LastCommented.class); return lastCommented == null ? null : lastCommented.getValue(); }
/** * 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(); }
/** * Returns a flag for whether writers can invite other collaborators * * @return whether writers can invite */ public Boolean isWritersCanInvite(){ WritersCanInvite writersCanInvite = getExtension(WritersCanInvite.class); return writersCanInvite == null ? null : writersCanInvite.getValue(); }
/** * Returns the amount of quota consumed by the document. * * @return the quota used */ public Long getQuotaBytesUsed() { QuotaBytesUsed quotaBytes = getExtension(QuotaBytesUsed.class); return quotaBytes == null ? null : quotaBytes.getValue(); }
/** * Returns the original filename for this document. * * @return the filename */ public String getFilename() { Filename filename = getExtension(Filename.class); return filename == null ? null : filename.getValue(); }
/** * Returns the MD5 checksum calculated for the document. * * @return the MD5 checksum */ public String getMd5Checksum() { Md5Checksum md5Checksum = getExtension(Md5Checksum.class); return md5Checksum == null ? null : md5Checksum.getValue(); }
/** * Returns a flag for whether writers can invite other collaborators * * @return whether writers can invite */ public Boolean isWritersCanInvite(){ WritersCanInvite writersCanInvite = getExtension(WritersCanInvite.class); return writersCanInvite == null ? null : writersCanInvite.getValue(); }
/** * Returns the document's resource id. * * @return the resource id. */ public String getResourceId() { ResourceId resourceId = getExtension(ResourceId.class); return resourceId == null ? null : resourceId.getValue(); }
/** * Returns the description of this document. * * @return the description ({@code null} means no description was set, whereas the empty-string * means the description is empty) */ public String getDescription() { Description description = getExtension(Description.class); if (description == null) { return null; } return description.getValue() == null ? "" : description.getValue(); }