org.nuxeo.ecm.platform.picture.api.adapters
Class AbstractPictureAdapter
java.lang.Object
org.nuxeo.ecm.platform.picture.api.adapters.AbstractPictureAdapter
- All Implemented Interfaces:
- PictureResourceAdapter
- Direct Known Subclasses:
- DefaultPictureAdapter
public abstract class AbstractPictureAdapter
- extends java.lang.Object
- implements PictureResourceAdapter
Method Summary |
void |
createPictureimpl(java.lang.String description,
java.lang.String tag,
java.lang.String title,
java.lang.Integer maxsize,
java.lang.String filename,
java.lang.Integer width,
java.lang.Integer height,
java.lang.Integer depth,
Blob fileContent)
|
void |
setDocumentModel(DocumentModel doc)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VIEWS_PROPERTY
public static final java.lang.String VIEWS_PROPERTY
- See Also:
- Constant Field Values
CONTENT_XPATH
public static final java.lang.String CONTENT_XPATH
- See Also:
- Constant Field Values
FIELD_HEADLINE
public static final java.lang.String FIELD_HEADLINE
- See Also:
- Constant Field Values
FIELD_SUBHEADLINE
public static final java.lang.String FIELD_SUBHEADLINE
- See Also:
- Constant Field Values
FIELD_BYLINE
public static final java.lang.String FIELD_BYLINE
- See Also:
- Constant Field Values
FIELD_DATELINE
public static final java.lang.String FIELD_DATELINE
- See Also:
- Constant Field Values
FIELD_SLUGLINE
public static final java.lang.String FIELD_SLUGLINE
- See Also:
- Constant Field Values
FIELD_CREDIT
public static final java.lang.String FIELD_CREDIT
- See Also:
- Constant Field Values
FIELD_LANGUAGE
public static final java.lang.String FIELD_LANGUAGE
- See Also:
- Constant Field Values
FIELD_SOURCE
public static final java.lang.String FIELD_SOURCE
- See Also:
- Constant Field Values
FIELD_ORIGIN
public static final java.lang.String FIELD_ORIGIN
- See Also:
- Constant Field Values
FIELD_GENRE
public static final java.lang.String FIELD_GENRE
- See Also:
- Constant Field Values
FIELD_CAPTION
public static final java.lang.String FIELD_CAPTION
- See Also:
- Constant Field Values
FIELD_TYPAGE
public static final java.lang.String FIELD_TYPAGE
- See Also:
- Constant Field Values
SCHEMA_NAME
public static final java.lang.String SCHEMA_NAME
- See Also:
- Constant Field Values
MEDIUM_SIZE
public static final int MEDIUM_SIZE
- See Also:
- Constant Field Values
THUMB_SIZE
public static final int THUMB_SIZE
- See Also:
- Constant Field Values
AbstractPictureAdapter
public AbstractPictureAdapter()
setDocumentModel
public void setDocumentModel(DocumentModel doc)
- Specified by:
setDocumentModel
in interface PictureResourceAdapter
createPictureimpl
public void createPictureimpl(java.lang.String description,
java.lang.String tag,
java.lang.String title,
java.lang.Integer maxsize,
java.lang.String filename,
java.lang.Integer width,
java.lang.Integer height,
java.lang.Integer depth,
Blob fileContent)
throws java.io.IOException,
ClientException
- Throws:
java.io.IOException
ClientException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.