Class RenditionsRemover
java.lang.Object
org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
org.nuxeo.ecm.platform.rendition.service.RenditionsRemover
Remove proxy to the same stored rendition with a different version.
- Author:
- Tiry
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected EventService
protected void
notifyEvent
(String eventId, DocumentModel doc, Map<String, Serializable> options) protected void
notifyRenditionPublished
(List<String> removedProxyIds) void
run()
This method will be called byUnrestrictedSessionRunner.runUnrestricted()
withUnrestrictedSessionRunner.session
available as an unrestricted session.Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
checkUnrestricted, getOriginatingUsername, runUnrestricted, setOriginatingUsername
-
Field Details
-
RENDITION_PROXY_PUBLISHED
- See Also:
-
proxy
-
-
Constructor Details
-
RenditionsRemover
-
-
Method Details
-
run
public void run()Description copied from class:UnrestrictedSessionRunner
This method will be called byUnrestrictedSessionRunner.runUnrestricted()
withUnrestrictedSessionRunner.session
available as an unrestricted session.It can also be called directly in which case the
UnrestrictedSessionRunner.session
available will be the one passed to#UnrestrictedSessionRunner(CoreSession)
.- Specified by:
run
in classUnrestrictedSessionRunner
-
notifyRenditionPublished
-
notifyEvent
-
getEventService
-