public class PictureChangedListener extends Object implements EventListener
Modifier and Type | Field and Description |
---|---|
static String |
EMPTY_PICTURE_PATH |
Constructor and Description |
---|
PictureChangedListener() |
Modifier and Type | Method and Description |
---|---|
protected String |
getEmptyPicturePath() |
protected DocumentModel |
getParentDocument(CoreSession session,
DocumentModel doc) |
void |
handleEvent(Event event)
Handle the given event.
|
protected void |
preFillPictureViews(CoreSession session,
DocumentModel doc) |
public static final String EMPTY_PICTURE_PATH
public PictureChangedListener()
public void handleEvent(Event event)
EventListener
Event.cancel()
handleEvent
in interface EventListener
event
- the eventprotected void preFillPictureViews(CoreSession session, DocumentModel doc)
protected String getEmptyPicturePath()
protected DocumentModel getParentDocument(CoreSession session, DocumentModel doc)
Copyright © 2016 Nuxeo SA. All rights reserved.