public class EasyShare extends ModuleRoot
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
request, sic| Constructor and Description |
|---|
EasyShare() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
buildQuery(DocumentModel documentModel) |
EasyShareUnrestrictedRunner |
buildUnrestrictedRunner(String docId,
Long pageIndex) |
Object |
doGet() |
String |
getFileName(DocumentModel doc) |
javax.ws.rs.core.Response |
getFileStream(String shareId,
String fileId) |
Object |
getFolderListing(String shareId,
String folderId,
Long pageIndex) |
protected String |
getIpAddr() |
Object |
getShareListing(String shareId,
Long pageIndex) |
void |
sendNotification(String notification,
DocumentModel docShare,
Map<String,Object> mail) |
getLink, getSkinResource, handleError, setContextdisptachAdapter, isAdaptercheckGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRootgetAdapterprotected final org.apache.commons.logging.Log log
public EasyShare()
public EasyShareUnrestrictedRunner buildUnrestrictedRunner(String docId, Long pageIndex)
protected static String buildQuery(DocumentModel documentModel)
public Object getFolderListing(String shareId, String folderId, Long pageIndex)
public Object getShareListing(String shareId, Long pageIndex)
public String getFileName(DocumentModel doc) throws NuxeoException
NuxeoExceptionpublic javax.ws.rs.core.Response getFileStream(String shareId, String fileId) throws NuxeoException
NuxeoExceptionpublic void sendNotification(String notification, DocumentModel docShare, Map<String,Object> mail)
Copyright © 2018 Nuxeo. All rights reserved.