|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GoogleDocsService
Google docs integration service interface
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
boolean isEnabled()
boolean isSupportedMimetype(java.lang.String mimetype)
mimetype - mimetype
void createGoogleDoc(org.alfresco.service.cmr.repository.NodeRef nodeRef,
GoogleDocsPermissionContext permissionContext)
nodeRef - node referencepermissionContext - permission context
GoogleDocsUnsupportedMimetypeExceptionvoid deleteGoogleResource(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - node referencejava.io.InputStream getGoogleDocContent(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - node reference
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||