001/* 002 * Copyright (c) 2006-2011 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 * Nuxeo - initial API and implementation 011 * 012 * $Id$ 013 */ 014package org.nuxeo.ecm.core.schema; 015 016/** 017 * Defines base facet names used in the core. 018 * 019 * @author <a href="mailto:dm@nuxeo.com">Dragos Mihalache</a> 020 */ 021public final class FacetNames { 022 023 public static final String IMMUTABLE = "Immutable"; 024 025 /** 026 * Document may have children 027 */ 028 public static final String FOLDERISH = "Folderish"; 029 030 /** 031 * It will make it possible to create versions for this document type 032 */ 033 public static final String VERSIONABLE = "Versionable"; 034 035 /** 036 * If your Nuxeo target version is 5.3.2 or higher, you'll be able to manage the order of this document children 037 */ 038 public static final String ORDERABLE = "Orderable"; 039 040 /** 041 * The download link will be displayed in consistent places of the application 042 */ 043 public static final String DOWNLOADABLE = "Downloadable"; 044 045 /** 046 * The document type will be available in the seam context as variable "currentSuperSpace" when navigating in its 047 * children documents 048 */ 049 public static final String SUPER_SPACE = "SuperSpace"; 050 051 /** 052 * The publishing tab will be displayed on the document (unless you forbid the display of the publishing tab in the 053 * tabs filtering section) 054 */ 055 public static final String PUBLISHABLE = "Publishable"; 056 057 /** 058 * The document will be flagged as able to receive publications (and will be displayed in the publication tree). 059 */ 060 public static final String PUBLISH_SPACE = "PublishSpace"; 061 062 /** 063 * The document will be flagged as a container for documents able to receive publications (and will be displayed as 064 * a root in the available publication trees) 065 */ 066 public static final String MASTER_PUBLISH_SPACE = "MasterPublishSpace"; 067 068 /** 069 * It will display the comment tab and the comments associated to the document instance in the summary tab 070 */ 071 public static final String COMMENTABLE = "Commentable"; 072 073 /** 074 * The document type won't appear in the tree and in the folder content listing 075 */ 076 public static final String HIDDEN_IN_NAVIGATION = "HiddenInNavigation"; 077 078 /** 079 * The document type corresponds to a system document, not a user-visible document. It is often (but not always) 080 * hidden in navigation as well. 081 */ 082 public static final String SYSTEM_DOCUMENT = "SystemDocument"; 083 084 /** 085 * The document won't be full-text indexed. 086 * 087 * @since 5.7 088 */ 089 public static final String NOT_FULLTEXT_INDEXABLE = "NotFulltextIndexable"; 090 091 @Deprecated 092 public static final String BROWSE_VIA_SEARCH = "BrowseViaSearch"; 093 094 /** 095 * Facet to be used for full-text indexing of related text content (e.g. comments, annotations, tags...) 096 */ 097 public static final String HAS_RELATED_TEXT = "HasRelatedText"; 098 099 private FacetNames() { 100 } 101 102}