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, traverse
disptachAdapter, isAdapter
checkGuard, 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, toString
public MobileDocument(WebContext ctx, DocumentRef docRef)
public Object redirectToRealURL()
public Object doMailIt()
public Object doLike()
public Object doGet()
doGet
in class DocumentObject
public boolean hasPreview() throws PropertyException, ClientException
PropertyException
ClientException
public NuxeoPrincipal getPrincipal()
public String getJSFURLPath(DocumentModel docModel) throws Exception
Exception
public String getDownloadURL(DocumentModel docModel) throws Exception
Exception
public String getPreviewURL()
Copyright © 2012 Nuxeo SA. All Rights Reserved.