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
|
javax.ws.rs.core.Response |
doDelete() |
javax.ws.rs.core.Response |
doDeleteFiles(String filename) |
Object |
doGet() |
Object |
doGetHtml(javax.ws.rs.core.Request request) |
javax.ws.rs.core.Response |
doPost() |
Object |
getFile(javax.ws.rs.core.Request request) |
Object |
getFile(javax.ws.rs.core.Request request,
String filename) |
javax.ws.rs.core.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 javax.ws.rs.core.Response doDelete()
doDelete
in class DocumentObject
public javax.ws.rs.core.Response doDeleteFiles(String filename)
public javax.ws.rs.core.Response doPost()
doPost
in class DocumentObject
public javax.ws.rs.core.Response hasFile()
public Object getFile(@Context javax.ws.rs.core.Request request)
public Object doGetHtml(@Context javax.ws.rs.core.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 © 2015 Nuxeo SA. All rights reserved.