Google Doc Integration: Fix system unit test failures

* Fixed spreadsheet download
  * Refactored use of DocService to improve reliability
  * Reuse security tokens 
  * Consolidate code as a result of above changes



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30832 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2011-09-29 00:15:38 +00:00
parent acb0bbf7ee
commit 79508da9fc
6 changed files with 152 additions and 158 deletions

View File

@@ -32,13 +32,6 @@ public interface GoogleDocsService
* @return boolean true if enabled, false otherwise
*/
boolean isEnabled();
/**
* Initialises the googles doc service, checking the provided credentials are correct. This need
* not be called manually since other service calls will initialise the service on demand, but it can
* be helpful to know the "health" of the service up front.
*/
void initialise() throws GoogleDocsServiceInitException;
/**
* Indicates whether the mimetype is supported for creation in google docs.