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, setContext
disptachAdapter, isAdapter
checkGuard, 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkGuard, 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, setRoot
getAdapter
protected 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
NuxeoException
public javax.ws.rs.core.Response getFileStream(String shareId, String fileId) throws NuxeoException
NuxeoException
public void sendNotification(String notification, DocumentModel docShare, Map<String,Object> mail)
Copyright © 2018 Nuxeo. All rights reserved.