001/* 002 * Copyright (c) 2006-2013 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the Eclipse Public License v1.0 006 * which accompanies this distribution, and is available at 007 * http://www.eclipse.org/legal/epl-v10.html 008 * 009 * Contributors: 010 * Vladimir Pasquier <vpasquier@nuxeo.com> 011 * Laurent Doguin <ldoguin@nuxeo.com> 012 * 013 */ 014package org.nuxeo.ecm.platform.thumbnail; 015 016/** 017 * @since 5.7 018 */ 019public class ThumbnailConstants { 020 021 public static final String THUMBNAIL_FACET = "Thumbnail"; 022 023 public static final String THUMBNAIL_MIME_TYPE = "image/jpeg"; 024 025 public static final String THUMBNAIL_PROPERTY_NAME = "thumb:thumbnail"; 026 027 public static final String ANY_TO_THUMBNAIL_CONVERTER_NAME = "anyToThumbnail"; 028 029 public static final String PDF_AND_IMAGE_TO_THUMBNAIL_CONVERTER_NAME = "pdfAndImageToThumbnail"; 030 031 public static final String ANY_TO_PDF_TO_THUMBNAIL_CONVERTER_NAME = "anyToPdfToThumbnail"; 032 033 public static final String THUMBNAIL_SIZE_PARAMETER_NAME = "size"; 034 035 public static final String THUMBNAIL_DEFAULT_SIZE = "350x350"; 036 037 public enum EventNames { 038 /** 039 * Event sent after checking before updating document if the main blob has been updated 040 */ 041 scheduleThumbnailUpdate 042 } 043 044}