public class ShareDocumentService extends Object implements IShareDocumentService, org.picocontainer.Startable
| Modifier and Type | Field and Description |
|---|---|
static String |
MIX_PRIVILEGEABLE |
| Constructor and Description |
|---|
ShareDocumentService(org.exoplatform.services.jcr.RepositoryService _repoService,
org.exoplatform.services.cms.link.LinkManager _linkManager,
org.exoplatform.services.jcr.ext.app.SessionProviderService _sessionProviderService) |
public static final String MIX_PRIVILEGEABLE
public ShareDocumentService(org.exoplatform.services.jcr.RepositoryService _repoService,
org.exoplatform.services.cms.link.LinkManager _linkManager,
org.exoplatform.services.jcr.ext.app.SessionProviderService _sessionProviderService)
public String publicDocumentToSpace(String space, javax.jcr.Node currentNode, String comment, String perm)
IShareDocumentServiceThere is a symbolic link of origin document will create at Documents/Shared folder of destination space.
publicDocumentToSpace in interface IShareDocumentServicespace - destination space will share file incurrentNode - file will be sharedcomment - message attach with share activityperm - permission of destination space's member on origin nodepublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.StartableCopyright © 2003–2016 eXo Platform SAS. All rights reserved.