001/* 002 * (C) Copyright 2014 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 GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl-2.1.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * Thomas Roger 016 */ 017 018package org.nuxeo.ecm.platform.picture.api; 019 020import static org.apache.commons.logging.LogFactory.getLog; 021 022import org.apache.commons.logging.Log; 023 024/** 025 * Object to store the definition of a picture template, to be used when computing views for a given image. 026 * 027 * @deprecated since 7.1. Use {@link org.nuxeo.ecm.platform.picture.api.PictureConversion}. 028 */ 029@Deprecated 030public class PictureTemplate extends PictureConversion { 031 032 private static final Log log = getLog(PictureTemplate.class); 033 034 public PictureTemplate(String title, String description, String tag, Integer maxSize) { 035 super(title, description, tag, maxSize); 036 log.warn("PictureTemplate is deprecated since 7.1, please use PictureConversion instead"); 037 } 038}