Class CreatePicture
- java.lang.Object
-
- org.nuxeo.ecm.platform.picture.operation.CreatePicture
-
public class CreatePicture extends Object
Create a Picture document into the input document- Author:
- Thierry Delprat
-
-
Field Summary
Fields Modifier and Type Field Description protected Properties
content
static String
ID
protected static Log
log
protected String
name
static String
PICTURE_FIELD
protected Properties
pictureTemplates
protected CoreSession
session
-
Constructor Summary
Constructors Constructor Description CreatePicture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArrayList<Map<String,Object>>
computePictureTemplates()
DocumentModel
run(DocumentModel doc)
DocumentModel
run(DocumentRef doc)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
PICTURE_FIELD
public static final String PICTURE_FIELD
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
name
protected String name
-
content
protected Properties content
-
pictureTemplates
protected Properties pictureTemplates
-
log
protected static final Log log
-
-
Method Detail
-
run
public DocumentModel run(DocumentModel doc) throws IOException
- Throws:
IOException
-
run
public DocumentModel run(DocumentRef doc) throws IOException
- Throws:
IOException
-
-