mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Google Integration:
- Version history of googleeditable content is now correct - You can now upload new content to a googleeditable content node (previously the uploaded content was over written) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20333 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -64,6 +64,7 @@ import com.google.gdata.data.acl.AclScope;
|
||||
import com.google.gdata.data.docs.DocumentEntry;
|
||||
import com.google.gdata.data.docs.DocumentListEntry;
|
||||
import com.google.gdata.data.docs.FolderEntry;
|
||||
import com.google.gdata.data.docs.PdfEntry;
|
||||
import com.google.gdata.data.docs.PresentationEntry;
|
||||
import com.google.gdata.data.docs.SpreadsheetEntry;
|
||||
import com.google.gdata.data.docs.DocumentListEntry.MediaType;
|
||||
@@ -736,6 +737,10 @@ public class GoogleDocsServiceImpl extends TransactionListenerAdapter
|
||||
{
|
||||
docEntry = new PresentationEntry();
|
||||
}
|
||||
else if (MediaType.PDF.getMimeType().equals(mimetype) == true)
|
||||
{
|
||||
docEntry = new PdfEntry();
|
||||
}
|
||||
else
|
||||
{
|
||||
docEntry = new DocumentEntry();
|
||||
|
Reference in New Issue
Block a user