Class GetContainerRendition
- java.lang.Object
-
- org.nuxeo.ecm.platform.rendition.operation.GetContainerRendition
-
public class GetContainerRendition extends Object
Returns a Folderish Document or Collection default rendition.- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description GetContainerRendition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
renditionService
protected RenditionService renditionService
-
collectionManager
protected CollectionManager collectionManager
-
reason
protected String reason
-
limit
protected int limit
-
maxDepth
protected int maxDepth
-
session
protected CoreSession session
-
ctx
protected OperationContext ctx
-
-
Method Detail
-
getCollectionBlobs
protected BlobList getCollectionBlobs(Collection collection, int currentDepth) throws IOException
- Throws:
IOException
-
getDefaultRendition
protected Blob getDefaultRendition(DocumentModel doc, int currentDepth) throws IOException
- Throws:
IOException
-
getFolderishBlobs
protected BlobList getFolderishBlobs(DocumentModel parent, int currentDepth) throws IOException
- Throws:
IOException
-
processContainer
protected Blob processContainer(DocumentModel doc, int currentDepth) throws IOException
- Throws:
IOException
-
run
public Blob run(DocumentModel doc) throws IOException
- Throws:
IOException
-
-