rd.setSecurityDenyACL(RepositoryDocument.SECURITY_TYPE_DOCUMENT,denyAclArray);
}
// Now do standard stuff
String mimeType = googleFile.getMimeType();
DateTime createdDate = googleFile.getCreatedDate();
DateTime modifiedDate = googleFile.getModifiedDate();
String extension = googleFile.getFileExtension();
String title = googleFile.getTitle();
if (mimeType != null)
rd.setMimeType(mimeType);
if (createdDate != null)
rd.setCreatedDate(new Date(createdDate.getValue()));
if (modifiedDate != null)
rd.setModifiedDate(new Date(modifiedDate.getValue()));
if (extension != null)
{
if (title == null)
title = "";
rd.setFileName(title + "." + extension);