/*
 * Copyright (C) 2003-2009 eXo Platform SAS.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Affero General Public License
 * as published by the Free Software Foundation; either version 3
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see<http://www.gnu.org/licenses/>.
 */
package org.exoplatform.services.wcm.core;

/**
 * Created by The eXo Platform SAS Author : eXoPlatform
 * chuong.phan@exoplatform.com, phan.le.thanh.chuong@gmail.com Jul 17, 2009
 */
public class NodetypeConstant {

  public static final String NT_BASE                          = "nt:base";
  
  public static final String NT_HIERARCHY_NODE                = "nt:hierarchyNode";

  public static final String NT_FILE                          = "nt:file";

  public static final String NT_FOLDER                        = "nt:folder";

  public static final String NT_UNSTRUCTURED                  = "nt:unstructured";

  public static final String NT_RESOURCE                      = "nt:resource";

  public static final String NT_VERSIONED_CHILD               = "nt:versionedChild";

  public static final String DC_ELEMENT_SET                   = "dc:elementSet";
  
  public static final String DC_TITLE                         = "dc:title";
  
  public static final String DC_DESCRIPTION                   = "dc:description";
  
  public static final String DC_CREATOR                       = "dc:creator";
  
  public static final String DC_SOURCE                        = "dc:source";

  public static final String JCR_ROOT_VERSION                 = "jcr:rootVersion";

  public static final String JCR_FROZEN_NODE                  = "jcr:frozenNode";
  
  public static final String NT_FROZEN_NODE                   = "nt:frozenNode";

  public static final String JCR_CONTENT                      = "jcr:content";

  public static final String JCR_ENCODING                     = "jcr:encoding";

  public static final String JCR_MIME_TYPE                    = "jcr:mimeType";

  public static final String JCR_DATA                         = "jcr:data";

  public static final String JCR_PATH                         = "jcr:path";

  public static final String JCR_LAST_MODIFIED                = "jcr:lastModified";

  public static final String JCR_DATE_MODIFIED                = "jcr:dateModified";

  public static final String JCR_PRIMARY_TYPE                 = "jcr:primaryType";

  public static final String JCR_MIXIN_TYPES                  = "jcr:mixinTypes";

  public static final String JCR_SCORE                        = "jcr:score";

  public static final String MIX_REFERENCEABLE                = "mix:referenceable";
  
  public static final String MIX_FILE_TYPE                    = "mix:fileType";
  
  public static final String EXO_FILE_TYPE                    = "exo:fileType";

  public static final String MIX_VERSIONABLE                  = "mix:versionable";

  public static final String EXO_OWNER                        = "exo:owner";

  public static final String EXO_OWNEABLE                     = "exo:owneable";

  public static final String EXO_DATETIME                     = "exo:datetime";
  
  public static final String EXO_MODIFY = "exo:modify";
  public static final String EXO_SORTABLE = "exo:sortable";

  public static final String EXO_RSS_ENABLE                   = "exo:rss-enable";

  public static final String EXO_PRIVILEGEABLE                = "exo:privilegeable";

  public static final String EXO_TITLE                        = "exo:title";
  
  public static final String EXO_LANGUAGE                     = "exo:language";

  public static final String EXO_DATE_CREATED                 = "exo:dateCreated";

  public static final String EXO_DATE_MODIFIED                = "exo:dateModified";
  
  public static final String EXO_LAST_MODIFIED_DATE = "exo:lastModifiedDate";
  public static final String EXO_LAST_MODIFIER = "exo:lastModifier";

  public static final String EXO_DOCUMENT_FOLDER              = "exo:documentFolder";

  public static final String EXO_PICTURE_FOLDER               = "exo:pictureFolder";

  public static final String EXO_VIDEO_FOLDER                 = "exo:videoFolder";

  public static final String EXO_MUSIC_FOLDER                 = "exo:musicFolder";

  public static final String EXO_WEBCONTENT                   = "exo:webContent";

  public static final String EXO_CSS_FOLDER                   = "exo:cssFolder";

  public static final String EXO_JS_FOLDER                    = "exo:jsFolder";

  public static final String EXO_WEB_FOLDER                   = "exo:webFolder";

  public static final String EXO_THEME_FOLDER                 = "exo:themeFolder";

  public static final String EXO_LINK_FOLDER                  = "exo:linkFolder";

  public static final String EXO_PORTAL_FOLDER                = "exo:portalFolder";

  public static final String EXO_MULTIMEDIA_FOLDER            = "exo:multimediaFolder";

  public static final String EXO_CSS_FILE                     = "exo:cssFile";

  public static final String EXO_JS_FILE                      = "exo:jsFile";

  public static final String EXO_HTML_FILE                    = "exo:htmlFile";

  public static final String EXO_TEMPLATE_FILE                = "exo:templateFile";

  public static final String EXO_PRESENTATION_TYPE            = "exo:presentationType";

  public static final String EXO_SHARED_CSS                   = "exo:sharedCSS";

  public static final String EXO_SHARED_JS                    = "exo:sharedJS";

  public static final String EXO_ACTIVE                       = "exo:active";

  public static final String EXO_PRIORITY                     = "exo:priority";

  public static final String EXO_TAXONOMY                     = "exo:taxonomy";

  public static final String EXO_TAXONOMY_LINK                = "exo:taxonomyLink";

  public static final String EXO_HIDDENABLE                   = "exo:hiddenable";

  public static final String EXO_CATEGORY                     = "exo:category";

  public static final String EXO_METADATA                     = "exo:metadata";

  public static final String EXO_NEWSLETTER_ENTRY             = "exo:newsletterEntry";

  public static final String EXO_NEWS                         = "exo:news";

  public static final String EXO_LINKABLE                     = "exo:linkable";

  public static final String EXO_LINKS                        = "exo:links";

  public static final String EXO_ROLES                        = "exo:roles";

  public static final String EXO_RESOURCES                    = "exo:resources";
  
  public static final String EXO_DRIVE = "exo:driveMetadata";
  
  public static final String EXO_LABEL = "exo:driveLabel";
  
  public static final String PUBLICATION_LIVE_REVISION        = "publication:liveRevision";

  public static final String PUBLICATION_WEBPAGES_PUBLICATION = "publication:webpagesPublication";
  
  public static final String EXO_ACCESSIBLE_MEDIA = "exo:accessibleMedia";
  
  public static final String EXO_ALTERNATIVE_TEXT = "exo:alternativeText";
  
  public static final String EXO_CAPTIONS = "exo:captions";
  
  public static final String EXO_AUDIO_DESCRIPTION = "exo:audioDescription";
  
  public static final String EXO_ACCESSIBLE_MEDADATA_TYPE = "exo:accessibleMetadataType";
  
  public static final String MEDIA_CAPTIONS = "captions";
  
  public static final String MEDIA_AUDIO_DESCRIPTION = "audioDescription";
  
  public static final String MEDIA_ALTERNATIVE_TEXT = "alternativeText";
  
  public static final String EXO_HIDE_EXPLORER_PANEL = "exo:hideExplorerPanel";
  
  public static final String MIX_COMMENTABLE = "mix:commentable";
  
  public static final String MIX_VOTABLE = "mix:votable";
  
  public static final String MIX_I18N = "mix:i18n";
  
  public static final String EXO_THUMBNAILS_FOLDER = "exo:thumbnails";
  
  public static final String EXO_PRIMARYTYPE = "exo:primaryType";
  
  public static final String EXO_TRASH_FOLDER = "exo:trashFolder";
  
  public static final String EXO_FAVOURITE_FOLDER = "exo:favoriteFolder";
  
  public final static String EXO_MUSICFOLDER = "exo:musicFolder";
  
  public final static String EXO_VIDEOFOLDER = "exo:videoFolder";
  
  public final static String EXO_PICTUREFOLDER = "exo:pictureFolder";
  
  public final static String EXO_DOCUMENTFOLDER = "exo:documentFolder";
  
  public final static String EXO_SEARCHFOLDER = "exo:searchFolder";

  public final static String EXO_RECORDINGSFOLDER = "exo:recordingsFolder";

  public static final String[] SPECIFIC_FOLDERS = { EXO_MUSICFOLDER,
                                              EXO_VIDEOFOLDER, EXO_PICTUREFOLDER, EXO_DOCUMENTFOLDER, EXO_SEARCHFOLDER,
                                              EXO_RECORDINGSFOLDER };

  public static final String JCR_MIMETYPE = "jcr:mimeType";

  public static final String GTN_NAME ="gtn:name";
  
  public static final String EXO_SYMLINK = "exo:symlink";
  
  public static final String EXO_WEBCONTENT_CHILD = "exo:webContentChild";
  
  public static final String PUBLICATION_LIVE_DATE = "publication:liveDate";
  
  public static final String EXO_START_EVENT = "exo:startEvent";
  
  public static final String EXO_INDEX = "exo:index";
  
  public static final String EXO_TARGET_DATA = "exo:targetData";
  
  public static final String EXO_WORKSPACE = "exo:workspace";
  
  public static final String EXO_NAME = "exo:name";
  
  public static final String JCR_UUID = "jcr:uuid";
  public static final String EXO_UUID = "exo:uuid";
  // public static final String PUBLICATION_STATE_AND_VERSION_BASED_PUBLICATION
  // = "publication:stateAndVersionBasedPublication";
  
  public static final String DOCUMENTS    = "Documents";
  public static final String FAVORITE    = "Favorites";
  public static final String SHARED    = "Shared";
  public static final String OWNED_BY_ME = "OwnedByMe";
  public static final String HIDDEN      = "Hidden";
  public static final String TRASH       = "Trash";
  
  public static final String SORT_BY_NODENAME = "Alphabetic" ;
  public static final String SORT_BY_NODETYPE= "Type" ;
  public static final String SORT_BY_NODESIZE= "Size" ;
  public static final String SORT_BY_CREATED_DATE= "CreatedDate" ;
  public static final String SORT_BY_DATE= "Date" ;
  public static final String SORT_BY_MODIFIED_DATE= "ModifiedDate" ;
  
  public static final String PROPERTY_SORT = "Property" ;
  public static final String SORT_BY_OWNER = "Owner";
  public static final String SORT_BY_VERSIONABLE = "Versionable";
  public static final String SORT_BY_AUDITING = "Auditing";
  public static final String SHOW_OWNED_BY_USER_DOC = "OwnedByMe";

  public static final String EOO_ONLYOFFICE_FILE = "eoo:onlyofficeFile";

  public static final String DOCUMENTS_VIEW_MIXIN      = "mix:documentsView";

  public static final String DOCUMENT_VIEWS_PROPERTY   = "exo:documentViews";

  public static final String DOCUMENT_VIEWERS_PROPERTY = "exo:documentViewers";
}
