Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.restAPI
Class UploadFileRestlet

java.lang.Object
  extended by org.restlet.Uniform
      extended by org.restlet.Restlet
          extended by org.nuxeo.ecm.platform.ui.web.restAPI.BaseNuxeoRestlet
              extended by org.nuxeo.ecm.platform.ui.web.restAPI.UploadFileRestlet
All Implemented Interfaces:
Serializable, LiveEditConstants

@Name(value="uploadFileRestlet")
@Scope(value=EVENT)
public class UploadFileRestlet
extends BaseNuxeoRestlet
implements LiveEditConstants, Serializable

Restlet to help LiveEdit clients update the blob content of a document

Author:
Sun Tan , Olivier Grisel
See Also:
Serialized Form

Field Summary
static String LIVED_AUTOVERSIONING_PROP
           
static String POLICY_MINOR_INCR
           
 
Fields inherited from interface org.nuxeo.ecm.platform.ui.web.tag.fn.LiveEditConstants
ACTION, ACTION_CREATE_DOCUMENT, ACTION_CREATE_DOCUMENT_FROM_TEMPLATE, ACTION_EDIT_DOCUMENT, actionSelectorTag, BLOB_FIELD, BLOB_PROPERTY_NAME, DEFAULT_BLOB_FIELD, DEFAULT_DOCTYPE, DEFAULT_FILENAME_FIELD, DEFAULT_SCHEMA, DEFAULT_SUB_BLOB_FIELD, DOC_REF, DOC_TYPE, docBlobFieldNameTag, docBlobFieldPathTag, docFieldNameTag, docfieldPathTag, docFileAuthorizedExtensionsTag, docFileAuthorizedExtensionTag, docFileExtensionTag, docFilenameFieldNameTag, docFilenameFieldPathTag, docfileNameTag, docIsLockedTag, docIsVersionTag, docMimetypeTag, docPathTag, docRefTag, docRepositoryTag, docSchemaNameTag, docTitleTag, docTypeTag, documentTag, editIdTag, FILENAME_FIELD, FILENAME_PROPERTY_NAME, liveEditTag, MIMETYPE, REPO_ID, requestBaseURLTag, requestCookiesTag, requestCookieTag, requestHeadersTag, requestHeaderTag, requestInfoTag, SCHEMA, serverInfoTag, serverVersionTag, TEMPLATE_BLOB_FIELD, TEMPLATE_DOC_REF, TEMPLATE_REPO_ID, TEMPLATE_SCHEMA, templateDocumentTag, URL_ENCODE_CHARSET, userInfoTag, userLocaleTag, userNameTag, userPasswordTag, userTokenTag, wsdlAccessWebServiceTag, wsdlLEWebServiceTag, wsdlLocationsTag, XML_LE_NAMESPACE
 
Constructor Summary
UploadFileRestlet()
           
 
Method Summary
 void handle(org.restlet.data.Request req, org.restlet.data.Response res)
           
 
Methods inherited from class org.restlet.Restlet
getContext, getLogger, isStarted, isStopped, setContext, start, stop
 
Methods inherited from class org.restlet.Uniform
delete, delete, get, get, handle, head, head, options, options, post, post, put, put
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LIVED_AUTOVERSIONING_PROP

public static final String LIVED_AUTOVERSIONING_PROP
See Also:
Constant Field Values

POLICY_MINOR_INCR

public static final String POLICY_MINOR_INCR
See Also:
Constant Field Values
Constructor Detail

UploadFileRestlet

public UploadFileRestlet()
Method Detail

handle

public void handle(org.restlet.data.Request req,
                   org.restlet.data.Response res)
Overrides:
handle in class org.restlet.Restlet

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.