public class CreatePicture extends Object
Modifier and Type | Field and Description |
---|---|
protected Properties |
content |
static String |
ID |
protected static org.apache.commons.logging.Log |
log |
protected String |
name |
static String |
PICTURE_FIELD |
protected Properties |
pictureTemplates |
protected CoreSession |
session |
Constructor and Description |
---|
CreatePicture() |
Modifier and Type | Method and Description |
---|---|
protected ArrayList<Map<String,Object>> |
computePictureTemplates() |
DocumentModel |
run(DocumentModel doc) |
DocumentModel |
run(DocumentRef doc) |
public static final String ID
public static final String PICTURE_FIELD
protected CoreSession session
protected Properties content
protected Properties pictureTemplates
protected static final org.apache.commons.logging.Log log
public CreatePicture()
protected ArrayList<Map<String,Object>> computePictureTemplates()
public DocumentModel run(DocumentModel doc) throws IOException
IOException
public DocumentModel run(DocumentRef doc) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.