public class RenditionsRemover extends UnrestrictedSessionRunner
| Modifier and Type | Field and Description | 
|---|---|
protected DocumentModel | 
proxy  | 
static String | 
RENDITION_PROXY_PUBLISHED  | 
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted| Constructor and Description | 
|---|
RenditionsRemover(DocumentModel source)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected EventService | 
getEventService()  | 
protected void | 
notifyEvent(String eventId,
           DocumentModel doc,
           Map<String,Serializable> options)  | 
protected void | 
notifyRenditionPublished(List<String> removedProxyIds)  | 
void | 
run()
This method will be called by  
UnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.session available as an unrestricted
 session. | 
checkUnrestricted, getOriginatingUsername, runUnrestricted, setOriginatingUsernamepublic static final String RENDITION_PROXY_PUBLISHED
protected final DocumentModel proxy
public RenditionsRemover(DocumentModel source)
public void run()
UnrestrictedSessionRunnerUnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.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).
run in class UnrestrictedSessionRunnerprotected void notifyRenditionPublished(List<String> removedProxyIds)
protected void notifyEvent(String eventId, DocumentModel doc, Map<String,Serializable> options)
protected EventService getEventService()
Copyright © 2019 Nuxeo. All rights reserved.