public abstract class BoxAdapter extends Object
Constructor and Description |
---|
BoxAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
BoxItem |
getBoxItem() |
DocumentModel |
getDoc() |
abstract BoxItem |
getMiniItem() |
void |
save(CoreSession session)
Update the document (nx/box sides) thanks to a box item
|
void |
setBoxItem(BoxItem boxItem)
Update the box item properties
|
void |
setCreator(String value) |
void |
setDescription(String value) |
void |
setTitle(String value) |
public BoxAdapter(DocumentModel doc) throws ClientException
ClientException
public BoxItem getBoxItem()
public abstract BoxItem getMiniItem()
public void setBoxItem(BoxItem boxItem)
boxItem
- containing values updatedpublic DocumentModel getDoc()
public void save(CoreSession session) throws ClientException, ParseException, InvocationTargetException, IllegalAccessException, BoxJSONException
public void setTitle(String value) throws ClientException
ClientException
public void setDescription(String value) throws ClientException
ClientException
public void setCreator(String value) throws ClientException
ClientException
Copyright © 2014 Nuxeo SA. All rights reserved.