public class BoxCommentAdapter extends Object
Modifier and Type | Field and Description |
---|---|
protected BoxComment |
boxComment |
protected Map<String,Object> |
boxProperties |
protected DocumentModel |
comment |
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) |
protected BoxComment boxComment
protected final Map<String,Object> boxProperties
protected DocumentModel comment
public BoxCommentAdapter(DocumentModel doc)
public void setBoxComment(BoxComment boxComment)
public void save(CoreSession session) throws ParseException, InvocationTargetException, IllegalAccessException, BoxJSONException
public BoxComment getBoxComment()
Copyright © 2016 Nuxeo SA. All rights reserved.