001/* 002 * (C) Copyright 2010 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Olivier Grisel 018 */ 019package org.nuxeo.ecm.platform.video; 020 021/** 022 * Video constants. 023 */ 024public class VideoConstants { 025 026 public static final String VIDEO_TYPE = "Video"; 027 028 public static final String VIDEO_FACET = "Video"; 029 030 public static final String STORYBOARD_PROPERTY = "vid:storyboard"; 031 032 public static final String INFO_PROPERTY = "vid:info"; 033 034 public static final String DURATION_PROPERTY = "vid:info/duration"; 035 036 public static final String TRANSCODED_VIDEOS_PROPERTY = "vid:transcodedVideos"; 037 038 public static final String HAS_STORYBOARD_FACET = "HasStoryboard"; 039 040 public static final String HAS_VIDEO_PREVIEW_FACET = "HasVideoPreview"; 041 042 @Deprecated 043 /** 044 * @deprecated since 5.7.2 045 */ 046 public static final String VIDEO_CHANGED_PROPERTY = "videoChanged"; 047 048 public static final String VIDEO_CHANGED_EVENT = "videoChanged"; 049 050 /** 051 * @since 7.10 052 */ 053 public static final String CTX_FORCE_INFORMATIONS_GENERATION = "forceInformationsGeneration"; 054 055 056 // Constant utility class. 057 private VideoConstants() { 058 } 059 060}