public interface SocialDocument
| Modifier and Type | Method and Description |
|---|---|
DocumentModel |
getPublicDocument()
Return the public proxy of the source document if the source document is
public else return null.
|
DocumentModel |
getRestrictedDocument()
If source document is not an Article return the private proxy of the
source document if the source document is private else return null
If is the source document is an Article return the source document if
private else return null.
|
String |
getType() |
boolean |
isDocumentInSocialWorkspace()
Returns
true if this document is inside a SocialWorkspace
, false otherwise. |
boolean |
isPublic()
Returns
true if this document is public, false otherwise. |
boolean |
isRestrictedToMembers()
Returns
true if this document is restricted to a
SocialWorkspace members, false otherwise. |
DocumentModel |
makePublic()
Make this document public.
|
DocumentModel |
restrictToMembers()
Make this document restricted to a
SocialWorkspace members. |
boolean isDocumentInSocialWorkspace()
true if this document is inside a SocialWorkspace
, false otherwise.boolean isPublic()
throws ClientException
true if this document is public, false otherwise.ClientExceptionboolean isRestrictedToMembers()
throws ClientException
true if this document is restricted to a
SocialWorkspace members, false otherwise.ClientExceptionDocumentModel makePublic() throws ClientException
SocialWorkspace.ClientExceptionDocumentModel restrictToMembers() throws ClientException
SocialWorkspace members.ClientExceptionDocumentModel getPublicDocument() throws ClientException
ClientExceptionDocumentModel getRestrictedDocument() throws ClientException
ClientExceptionString getType()
Copyright © 2011 Nuxeo SA. All Rights Reserved.