001/*
002 * (C) Copyright 2010 Nuxeo SA (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 *     Olivier Grisel
016 */
017package org.nuxeo.ecm.platform.video;
018
019/**
020 * Video constants.
021 */
022public class VideoConstants {
023
024    public static final String VIDEO_TYPE = "Video";
025
026    public static final String VIDEO_FACET = "Video";
027
028    public static final String STORYBOARD_PROPERTY = "vid:storyboard";
029
030    public static final String INFO_PROPERTY = "vid:info";
031
032    public static final String DURATION_PROPERTY = "vid:info/duration";
033
034    public static final String TRANSCODED_VIDEOS_PROPERTY = "vid:transcodedVideos";
035
036    public static final String HAS_STORYBOARD_FACET = "HasStoryboard";
037
038    public static final String HAS_VIDEO_PREVIEW_FACET = "HasVideoPreview";
039
040    @Deprecated
041    /**
042     * @deprecated since 5.7.2
043     */
044    public static final String VIDEO_CHANGED_PROPERTY = "videoChanged";
045
046    public static final String VIDEO_CHANGED_EVENT = "videoChanged";
047
048    /**
049     * @since 7.10
050     */
051    public static final String CTX_FORCE_INFORMATIONS_GENERATION = "forceInformationsGeneration";
052
053
054    // Constant utility class.
055    private VideoConstants() {
056    }
057
058}