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 Propertiescontentstatic StringIDprotected static Loglogprotected Stringnamestatic StringPICTURE_FIELDprotected PropertiespictureTemplatesprotected CoreSessionsession
-
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()DocumentModelrun(DocumentModel doc)DocumentModelrun(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
-
content
protected Properties content
-
pictureTemplates
protected Properties pictureTemplates
-
-
Constructor Detail
-
CreatePicture
public CreatePicture()
-
-
Method Detail
-
computePictureTemplates
protected ArrayList<Map<String,Object>> computePictureTemplates()
-
run
public DocumentModel run(DocumentModel doc) throws IOException
- Throws:
IOException
-
run
public DocumentModel run(DocumentRef doc) throws IOException
- Throws:
IOException
-
-