@Name(value="socialDocumentVisibilityActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class SocialDocumentVisibilityActions extends Object implements Serializable
| Constructor and Description |
|---|
SocialDocumentVisibilityActions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPublic()
Indicates if the current document is visible by everybody
|
boolean |
isPublic(DocumentModel document)
Indicates if the document passed as a parameter is visible by everybody
|
boolean |
isRestricted()
Indicates if the current document is only visible by members of the community
|
boolean |
isRestricted(DocumentModel document)
Indicates if the document passed as a parameter is only visible by members of the community
|
void |
makePublic()
create or update a proxy of the current social document in the public social section of the social workspace.
|
void |
makePublic(DocumentModel document)
create or update a proxy of the social document passed as an argument in the public social section of the social
workspace.
|
void |
restrictToMembers()
hide the current document to non members of the social collaboration workspace
|
void |
restrictToMembers(DocumentModel document)
Hide the social document passed as parameter to non members of the social collaboration workspace
|
public void makePublic()
throws ClientException
ClientExceptionpublic void makePublic(DocumentModel document) throws ClientException
ClientExceptionpublic void restrictToMembers()
throws ClientException
ClientExceptionpublic void restrictToMembers(DocumentModel document) throws ClientException
ClientExceptionpublic boolean isPublic()
throws ClientException
ClientExceptionpublic boolean isPublic(DocumentModel document) throws ClientException
ClientExceptionpublic boolean isRestricted()
throws ClientException
ClientExceptionpublic boolean isRestricted(DocumentModel document) throws ClientException
ClientExceptionCopyright © 2015 Nuxeo SA. All rights reserved.