Package org.nuxeo.wopi
Class Helpers
java.lang.Object
org.nuxeo.wopi.Helpers
- Since:
- 10.3
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static Blob
getEditableBlob
(DocumentModel doc, String xpath) static String
static String
getJWTToken
(javax.servlet.http.HttpServletRequest request) static long
getJWTTokenExp
(String token) static String
getWOPIURL
(String baseURL, String action, DocumentModel doc, String xpath) protected static boolean
isExternalBlobProvider
(Blob blob) Deprecated.static String
principalFullName
(NuxeoPrincipal principal) static String
protected static boolean
supportsSync
(Blob blob) protected static String
userDisplayName
(String id, String first, String last)
-
Field Details
-
UTF_7
-
-
Method Details
-
readUTF7String
-
createJWTToken
-
getJWTToken
-
getJWTTokenExp
-
principalFullName
-
getEditableBlob
-
isExternalBlobProvider
Deprecated.since 11.1, usesupportsSync(org.nuxeo.ecm.core.api.Blob)
(with opposite semantics) instead -
supportsSync
-
getWOPIURL
-
userDisplayName
-
getHeader
-
supportsSync(org.nuxeo.ecm.core.api.Blob)
(with opposite semantics) instead