@Name(value="contentDiffRestlet") @Scope(value=EVENT) public class ContentDiffRestlet extends BaseNuxeoRestlet
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
documentManager |
protected DocumentModel |
leftDoc |
protected org.jboss.seam.international.LocaleSelector |
localeSelector |
protected NavigationContext |
navigationContext |
protected DocumentModel |
rightDoc |
Constructor and Description |
---|
ContentDiffRestlet() |
Modifier and Type | Method and Description |
---|---|
void |
handle(org.restlet.data.Request req,
org.restlet.data.Response res) |
protected void |
handleNoContentDiff(org.restlet.data.Response res,
String xpath,
NuxeoException e) |
getHttpRequest, getHttpResponse, getQueryParamValue, getRestletFullUrl, getUserPrincipal, handleError, handleError, handleError, handleError, setEntityToBlobOutput
getContext, getLogger, init, isStarted, isStopped, setContext, start, stop
@In(create=true) protected NavigationContext navigationContext
@In(create=true) protected transient org.jboss.seam.international.LocaleSelector localeSelector
protected CoreSession documentManager
protected DocumentModel leftDoc
protected DocumentModel rightDoc
public ContentDiffRestlet()
public void handle(org.restlet.data.Request req, org.restlet.data.Response res)
handle
in class org.restlet.Restlet
protected void handleNoContentDiff(org.restlet.data.Response res, String xpath, NuxeoException e)
Copyright © 2016 Nuxeo SA. All rights reserved.