@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
ClientException
public void makePublic(DocumentModel document) throws ClientException
ClientException
public void restrictToMembers() throws ClientException
ClientException
public void restrictToMembers(DocumentModel document) throws ClientException
ClientException
public boolean isPublic() throws ClientException
ClientException
public boolean isPublic(DocumentModel document) throws ClientException
ClientException
public boolean isRestricted() throws ClientException
ClientException
public boolean isRestricted(DocumentModel document) throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.