public abstract class AbstractPictureAdapter extends Object implements PictureResourceAdapter
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_XPATH |
static String |
FIELD_BYLINE |
static String |
FIELD_CAPTION |
static String |
FIELD_CREDIT |
static String |
FIELD_DATELINE |
static String |
FIELD_GENRE |
static String |
FIELD_HEADLINE |
static String |
FIELD_LANGUAGE |
static String |
FIELD_ORIGIN |
static String |
FIELD_SLUGLINE |
static String |
FIELD_SOURCE |
static String |
FIELD_SUBHEADLINE |
static String |
FIELD_TYPAGE |
static int |
MEDIUM_SIZE |
static String |
SCHEMA_NAME |
static int |
THUMB_SIZE |
static String |
VIEWS_PROPERTY |
Constructor and Description |
---|
AbstractPictureAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
createPictureimpl(String description,
String tag,
String title,
Integer maxsize,
String filename,
Integer width,
Integer height,
Integer depth,
Blob fileContent) |
void |
setDocumentModel(DocumentModel doc) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPicture, doCrop, doRotate, getFirstViewXPath, getPictureFromTitle, getViewXPath
public static final String VIEWS_PROPERTY
public static final String CONTENT_XPATH
public static final String FIELD_HEADLINE
public static final String FIELD_SUBHEADLINE
public static final String FIELD_BYLINE
public static final String FIELD_DATELINE
public static final String FIELD_SLUGLINE
public static final String FIELD_CREDIT
public static final String FIELD_LANGUAGE
public static final String FIELD_SOURCE
public static final String FIELD_ORIGIN
public static final String FIELD_GENRE
public static final String FIELD_CAPTION
public static final String FIELD_TYPAGE
public static final String SCHEMA_NAME
public static final int MEDIUM_SIZE
public static final int THUMB_SIZE
public void setDocumentModel(DocumentModel doc)
setDocumentModel
in interface PictureResourceAdapter
public void createPictureimpl(String description, String tag, String title, Integer maxsize, String filename, Integer width, Integer height, Integer depth, Blob fileContent) throws IOException, ClientException
IOException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.