public class BoxFileObject extends AbstractResource<ResourceTypeImpl>
Constructor and Description |
---|
BoxFileObject() |
Modifier and Type | Method and Description |
---|---|
void |
doDeleteFile(String fileId) |
Object |
doGet() |
Object |
doGetComments(String fileId) |
String |
doGetFile(String fileId) |
String |
doPostFile(InputStream uploadedInputStream,
String fileName,
String parentId) |
String |
doUpdateFile(String fileId,
String jsonBoxFile) |
void |
initialize(Object... args) |
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
public void initialize(Object... args)
public Object doGet()
public String doGetFile(String fileId) throws NoSuchDocumentException, ClientException, BoxJSONException
public void doDeleteFile(String fileId) throws ClientException
ClientException
public String doUpdateFile(String fileId, String jsonBoxFile) throws ClientException, BoxJSONException, ParseException, IllegalAccessException, InvocationTargetException
public String doPostFile(InputStream uploadedInputStream, String fileName, String parentId) throws ClientException, BoxJSONException, IOException
Copyright © 2015 Nuxeo SA. All rights reserved.