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.ClientException
boolean isRestrictedToMembers() throws ClientException
true
if this document is restricted to a
SocialWorkspace
members, false
otherwise.ClientException
DocumentModel makePublic() throws ClientException
SocialWorkspace
.ClientException
DocumentModel restrictToMembers() throws ClientException
SocialWorkspace
members.ClientException
DocumentModel getPublicDocument() throws ClientException
ClientException
DocumentModel getRestrictedDocument() throws ClientException
ClientException
String getType()
Copyright © 2013 Nuxeo SA. All Rights Reserved.