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 BoxFileObject()
public void initialize(Object... args)
initialize
in class AbstractResource<ResourceTypeImpl>
public String doGetFile(String fileId) throws DocumentNotFoundException, BoxJSONException
public void doDeleteFile(String fileId)
public String doUpdateFile(String fileId, String jsonBoxFile) throws BoxJSONException, ParseException, IllegalAccessException, InvocationTargetException
public String doPostFile(InputStream uploadedInputStream, String fileName, String parentId) throws BoxJSONException, IOException
BoxJSONException
IOException
public Object doGetComments(String fileId)
Copyright © 2015 Nuxeo SA. All rights reserved.