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 CollectionManagercollectionManagerprotected OperationContextctxstatic StringIDprotected intlimitprotected intmaxDepthprotected Stringreasonprotected RenditionServicerenditionServiceprotected CoreSessionsession
-
Constructor Summary
Constructors Constructor Description GetContainerRendition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BlobListgetCollectionBlobs(Collection collection, int currentDepth)protected BlobgetDefaultRendition(DocumentModel doc, int currentDepth)protected BlobListgetFolderishBlobs(DocumentModel parent, int currentDepth)protected BlobprocessContainer(DocumentModel doc, int currentDepth)Blobrun(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
-
-