public class GadgetDocument extends DocumentObject
Constructor and Description |
---|
GadgetDocument() |
Modifier and Type | Method and Description |
---|---|
void |
addFile(Blob file,
String filename)
Update a file in files schema
|
Response |
doDelete() |
Response |
doDeleteFiles(String filename) |
Object |
doGet() |
Object |
doGetHtml(Request request) |
Response |
doPost() |
Object |
getFile(Request request) |
Object |
getFile(Request request,
String filename) |
Response |
hasFile() |
void |
removeFile(String filename) |
doHead, doPut, getAdapter, getCoreSession, getDelete, getDocument, getPut, getTitle, initialize, newDocument, newDocument, newDocument, search, traverse
disptachAdapter, isAdapter
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
public Object doGet()
doGet
in class DocumentObject
public Response doDelete()
doDelete
in class DocumentObject
public Response doPost()
doPost
in class DocumentObject
public Response hasFile()
public Object doGetHtml(@Context Request request) throws PropertyException, ClientException, IOException
public void addFile(Blob file, String filename) throws ClientException
ClientException
public void removeFile(String filename) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.