public class BoxCommentAdapter extends Object
Constructor and Description |
---|
BoxCommentAdapter(DocumentModel doc)
Instantiate the adapter and the Box Comment from Nuxeo Document and
load its properties into json format
|
Modifier and Type | Method and Description |
---|---|
BoxComment |
getBoxComment() |
void |
save(CoreSession session)
Update the comment (nx/box sides)
|
void |
setBoxComment(BoxComment boxComment) |
public BoxCommentAdapter(DocumentModel doc) throws ClientException
ClientException
public void setBoxComment(BoxComment boxComment)
public void save(CoreSession session) throws ClientException, ParseException, InvocationTargetException, IllegalAccessException, BoxJSONException
public BoxComment getBoxComment()
Copyright © 2014 Nuxeo SA. All rights reserved.