public class MobileDocument extends DocumentObject
| Constructor and Description |
|---|
MobileDocument(WebContext ctx,
DocumentRef docRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
doGet() |
Object |
doHasLiked() |
Object |
doLike() |
Object |
emailToCurrentPrincipal() |
String |
getDisplayPrincipalName() |
String |
getDisplayPrincipalName(Object object)
Return the display name of an expected principal.
|
String |
getDisplayPrincipalName(String name) |
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 emailToCurrentPrincipal()
public Object doLike()
public Object doHasLiked()
public Object doGet()
doGet in class DocumentObjectpublic boolean hasPreview()
throws ClientException
ClientExceptionpublic NuxeoPrincipal getPrincipal()
public String getJSFURLPath(DocumentModel docModel) throws Exception
Exceptionpublic String getDownloadURL(DocumentModel docModel) throws Exception
Exceptionpublic String getPreviewURL()
public String getDisplayPrincipalName(Object object)
object - must be of type org.nuxeo.ecm.core.api.NuxeoPrincipalpublic String getDisplayPrincipalName()
Copyright © 2014 Nuxeo SA. All rights reserved.