Class PublishRendition
- java.lang.Object
-
- org.nuxeo.ecm.platform.rendition.operation.PublishRendition
-
public class PublishRendition extends Object
Publish the rendition of a document. If rendition is not given and default rendition option is false, it falls back onPublishDocument
operation.- Since:
- 10.3
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
defaultRendition
static String
ID
protected boolean
override
protected String
renditionName
protected CoreSession
session
protected DocumentModel
target
-
Constructor Summary
Constructors Constructor Description PublishRendition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
notifyPublishedEvent(DocumentModel proxy)
DocumentModel
run(DocumentModel doc)
DocumentModelList
run(DocumentModelList docs)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
renditionName
protected String renditionName
-
defaultRendition
protected boolean defaultRendition
-
target
protected DocumentModel target
-
override
protected boolean override
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel doc)
-
run
public DocumentModelList run(DocumentModelList docs)
-
notifyPublishedEvent
protected void notifyPublishedEvent(DocumentModel proxy)
- Since:
- 10.3
-
-