Class PicturePreviewAdapterFactory
- java.lang.Object
-
- org.nuxeo.ecm.platform.picture.preview.adapter.factories.PicturePreviewAdapterFactory
-
- All Implemented Interfaces:
PreviewAdapterFactory
public class PicturePreviewAdapterFactory extends Object implements PreviewAdapterFactory
Preview adapter factory for the Picture document type- Author:
- qlamerand
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
ORIGINAL_JPEG_VIEW_NAME
protected static String
ORIGINAL_VIEW_NAME
Deprecated.since 7.2.
-
Constructor Summary
Constructors Constructor Description PicturePreviewAdapterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HtmlPreviewAdapter
getAdapter(DocumentModel doc)
-
-
-
Field Detail
-
ORIGINAL_JPEG_VIEW_NAME
protected static final String ORIGINAL_JPEG_VIEW_NAME
- See Also:
- Constant Field Values
-
ORIGINAL_VIEW_NAME
@Deprecated protected static final String ORIGINAL_VIEW_NAME
Deprecated.since 7.2. The Original view does not exist anymore. See NXP-16070.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PicturePreviewAdapterFactory
public PicturePreviewAdapterFactory()
-
-
Method Detail
-
getAdapter
public HtmlPreviewAdapter getAdapter(DocumentModel doc)
- Specified by:
getAdapter
in interfacePreviewAdapterFactory
-
-