@Name(value="createDocumentRestlet") @Scope(value=EVENT) public class CreateDocumentRestlet extends BaseNuxeoRestlet implements LiveEditConstants, Serializable
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
documentManager |
protected NavigationContext |
navigationContext |
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 and Description |
---|
CreateDocumentRestlet() |
Modifier and Type | Method and Description |
---|---|
void |
handle(org.restlet.data.Request req,
org.restlet.data.Response res) |
getHttpRequest, getHttpResponse, getQueryParamValue, getRestletFullUrl, getUserPrincipal, handleError, handleError, handleError, handleError, setEntityToBlobOutput
getContext, getLogger, init, isStarted, isStopped, setContext, start, stop
@In(create=true) protected transient NavigationContext navigationContext
protected CoreSession documentManager
public CreateDocumentRestlet()
public void handle(org.restlet.data.Request req, org.restlet.data.Response res)
handle
in class org.restlet.Restlet
Copyright © 2018 Nuxeo. All rights reserved.