public class MobileDocument extends DocumentObject
| Constructor and Description |
|---|
MobileDocument(WebContext ctx,
DocumentRef docRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
doGet() |
Object |
doLike() |
Object |
doMailIt() |
String |
getDownloadURL() |
String |
getDownloadURL(DocumentModel docModel) |
String |
getJSFURLPath() |
String |
getJSFURLPath(DocumentModel docModel) |
String |
getPreviewURL() |
NuxeoPrincipal |
getPrincipal() |
boolean |
hasPreview() |
Object |
redirectToRealURL()
Needed to not break the navigation after a false PUT see NXP-8778 as I'm
redirected to this /@put URL
|
doDelete, doHead, doPost, doPut, getAdapter, getCoreSession, getDelete, getDocument, getPut, getTitle, initialize, newDocument, newDocument, newDocument, search, traversedisptachAdapter, isAdaptercheckGuard, 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, toStringpublic MobileDocument(WebContext ctx, DocumentRef docRef)
public Object redirectToRealURL()
public Object doMailIt()
public Object doLike()
public Object doGet()
doGet in class DocumentObjectpublic boolean hasPreview()
throws PropertyException,
ClientException
PropertyExceptionClientExceptionpublic NuxeoPrincipal getPrincipal()
public String getJSFURLPath(DocumentModel docModel) throws Exception
Exceptionpublic String getDownloadURL(DocumentModel docModel) throws Exception
Exceptionpublic String getPreviewURL()
Copyright © 2012 Nuxeo SA. All Rights Reserved.