@RemoteServiceRelativePath(value="gdocs")
public interface GDocsService
extends com.google.gwt.user.client.rpc.RemoteService
Modifier and Type | Method and Description |
---|---|
GUIDocument |
checkin(String sid,
long docId,
String comment,
boolean major)
Performs the check-in of a Google Docs's document into the LogicalDOC
repository.
|
String |
create(String sid,
String title,
String type)
Performs the creation of a new Google Docs's document.
|
void |
delete(String sid,
String resourceId)
Deletes a document to Google Docs.
|
String[] |
exportDocuments(String sid,
long[] ids)
Exports a selection of documents from LogicalDOC into GoogleDocs
|
void |
importDocuments(String sid,
String[] resourceIds,
long targetFolderId,
String format)
Imports some Google documents into LogicalDOC
|
String[] |
loadSettings(String sid)
Retrieve the settings saved for connecting to Google Docs.
|
void |
saveSettings(String sid,
String username,
String password)
Save the settings used by the Google Docs module
|
GUIDocument[] |
search(String sid,
String expression)
Search in documents into Google Docs
|
String |
upload(String sid,
long docId)
Uploads a document to Google Docs.
|
String upload(String sid, long docId) throws InvalidSessionException
docId
- ID of the document to uploadInvalidSessionException
void delete(String sid, String resourceId) throws InvalidSessionException
docId
- ID of the document to deleteInvalidSessionException
GUIDocument checkin(String sid, long docId, String comment, boolean major) throws InvalidSessionException
sid
- The session identifierdocId
- ID of the document to updatecomment
- The comment left for the checkinmajor
- If this is a major or minor releaseInvalidSessionException
String create(String sid, String title, String type) throws InvalidSessionException
sid
- The session identifiertitle
- Title of the new documenttype
- The type of the new document ('doc', 'xls' ...)InvalidSessionException
void importDocuments(String sid, String[] resourceIds, long targetFolderId, String format) throws InvalidSessionException
sid
- The session identifierresourceIds
- IDS of the documents to importtargetFolderId
- ID of the import folderformat
- The type of the documentsInvalidSessionException
String[] exportDocuments(String sid, long[] ids) throws InvalidSessionException
sid
- The session identifierids
- The ids of the document to be exportedInvalidSessionException
void saveSettings(String sid, String username, String password) throws InvalidSessionException
sid
- username
- password
- InvalidSessionException
String[] loadSettings(String sid) throws InvalidSessionException
InvalidSessionException
GUIDocument[] search(String sid, String expression) throws InvalidSessionException
sid
- expression
- InvalidSessionException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.