public interface IShareDocumentService
| Modifier and Type | Method and Description |
|---|---|
String |
publishDocumentToSpace(String space,
javax.jcr.Node node,
String comment,
String perm)
Share a document to a space, permission of space's user also
apply to this document.
|
void |
publishDocumentToUser(String user,
javax.jcr.Node node,
String comment,
String perm)
Share a document to a user
|
void |
unpublishDocumentToSpace(String space,
org.exoplatform.services.jcr.core.ExtendedNode node)
Unshare a document to a space
|
void |
unpublishDocumentToUser(String username,
org.exoplatform.services.jcr.core.ExtendedNode node)
Unshare a document to a user
|
String publishDocumentToSpace(String space, javax.jcr.Node node, String comment, String perm)
There is a symbolic link of origin document will create at Documents/Shared folder of destination space.
space - destination space will share file innode - file will be sharedcomment - message attach with share activityperm - permission of destination space's member on origin nodevoid publishDocumentToUser(String user, javax.jcr.Node node, String comment, String perm)
There is a symbolic link of origin document will be created at Private/Documents/Shared folder of destination user.
user - destination user to share file withnode - file will be sharedcomment - message attach with share activityperm - permission of destination space's member on origin nodevoid unpublishDocumentToUser(String username, org.exoplatform.services.jcr.core.ExtendedNode node)
The symbolic link of origin document will be removed from Private/Documents/Shared folder of destination user.
username - destination user to share file withnode - file will be sharedvoid unpublishDocumentToSpace(String space, org.exoplatform.services.jcr.core.ExtendedNode node)
The symbolic link of origin document will be removed from Documents/Shared folder of destination space.
space - destination user to share file withnode - file will be sharedCopyright © 2003–2020 eXo Platform SAS. All rights reserved.