public class GetContainerRendition extends Object
Modifier and Type | Field and Description |
---|---|
protected CollectionManager |
collectionManager |
protected OperationContext |
ctx |
static String |
ID |
protected int |
limit |
protected int |
maxDepth |
protected String |
reason |
protected RenditionService |
renditionService |
protected CoreSession |
session |
Constructor and Description |
---|
GetContainerRendition() |
Modifier and Type | Method and Description |
---|---|
protected BlobList |
getCollectionBlobs(Collection collection,
int currentDepth) |
protected Blob |
getDefaultRendition(DocumentModel doc,
int currentDepth) |
protected BlobList |
getFolderishBlobs(DocumentModel parent,
int currentDepth) |
protected Blob |
processContainer(DocumentModel doc,
int currentDepth) |
Blob |
run(DocumentModel doc) |
public static final String ID
protected RenditionService renditionService
protected CollectionManager collectionManager
protected int limit
protected int maxDepth
protected CoreSession session
protected OperationContext ctx
public GetContainerRendition()
protected BlobList getCollectionBlobs(Collection collection, int currentDepth) throws IOException
IOException
protected Blob getDefaultRendition(DocumentModel doc, int currentDepth) throws IOException
IOException
protected BlobList getFolderishBlobs(DocumentModel parent, int currentDepth) throws IOException
IOException
protected Blob processContainer(DocumentModel doc, int currentDepth) throws IOException
IOException
public Blob run(DocumentModel doc) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.