001/*
002 * (C) Copyright 2007-2010 Nuxeo SAS (http://nuxeo.com/) and contributors.
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.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 *     Nuxeo - initial API and implementation
016 *
017 * $Id$
018 */
019
020package org.nuxeo.ecm.platform.picture.api;
021
022/**
023 * Imaging constants.
024 *
025 * @author Laurent Doguin
026 */
027public class ImagingDocumentConstants {
028
029    public static final String PICTURE_TYPE_NAME = "Picture";
030
031    public static final String PICTURE_FACET = "Picture";
032
033    public static final String MULTIVIEW_PICTURE_FACET = "MultiviewPicture";
034
035    public static final String PICTURE_SCHEMA_NAME = "picture";
036
037    public static final String PICTUREBOOK_TYPE_NAME = "PictureBook";
038
039    public static final String PICTURE_VIEWS_PROPERTY = PICTURE_SCHEMA_NAME + ":views";
040
041    public static final String PICTURE_INFO_PROPERTY = PICTURE_SCHEMA_NAME + ":info";
042
043    public static final String PICTURETEMPLATES_PROPERTY_NAME = "picturebook:picturetemplates";
044
045    public static final String UPDATE_PICTURE_VIEW_EVENT = "updatePictureView";
046
047    /**
048     * @since 7.10
049     */
050    public static final String CTX_FORCE_VIEWS_GENERATION = "forceViewsGeneration";
051
052    private ImagingDocumentConstants() {
053        // Constants class
054    }
055
056}