public interface GoogleDocsService
| Modifier and Type | Method and Description |
|---|---|
void |
createGoogleDoc(org.alfresco.service.cmr.repository.NodeRef nodeRef,
GoogleDocsPermissionContext permissionContext)
Create a google doc from a given node.
|
void |
deleteGoogleResource(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Deletes the google resource associated with the node reference.
|
java.io.InputStream |
getGoogleDocContent(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the content as an input stream of google doc associated with the given node.
|
boolean |
isEnabled()
Indicates whether the GoogleDocs service is enabled or not.
|
boolean |
isSupportedMimetype(java.lang.String mimetype)
Indicates whether the mimetype is supported for creation in google docs.
|
boolean isEnabled()
boolean isSupportedMimetype(java.lang.String mimetype)
mimetype - mimetypevoid createGoogleDoc(org.alfresco.service.cmr.repository.NodeRef nodeRef,
GoogleDocsPermissionContext permissionContext)
nodeRef - node referencepermissionContext - permission contextGoogleDocsUnsupportedMimetypeExceptionvoid deleteGoogleResource(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - node referencejava.io.InputStream getGoogleDocContent(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - node referenceCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.