<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.types.override">

  <require>org.nuxeo.ecm.platform.types</require>

  <extension point="types" target="org.nuxeo.ecm.platform.types.TypeService">

    <type id="Root">
      <label>Server Root</label>
      <icon>/icons/folder.gif</icon>
      <bigIcon>/icons/folder_100.png</bigIcon>
      <description>serverRoot.description</description>
      <category>SuperDocument</category>
      <default-view>view_domains</default-view>
      <contentViews category="content">
        <contentView>document_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="Domain">
      <label>Domain</label>
      <icon>/icons/domain.gif</icon>
      <bigIcon>/icons/domain.gif</bigIcon>
      <category>SuperDocument</category>
      <description>Domain.description</description>
      <default-view>view_documents</default-view>
      <create-view>create_domain</create-view>
      <views>
        <view id="user_dashboard" value="user_dashboard"/>
      </views>
      <contentViews category="content">
        <contentView>document_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="WorkspaceRoot">
      <label>WorkspaceRoot</label>
      <icon>/icons/workspace.gif</icon>
      <bigIcon>/icons/workspace_100.png</bigIcon>
      <category>SuperDocument</category>
      <description>WorkspaceRoot.description</description>
      <default-view>view_documents</default-view>
      <contentViews category="content">
        <contentView>document_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="TemplateRoot">
      <label>TemplateRoot</label>
      <icon>/icons/folder_template.gif</icon>
      <bigIcon>/icons/template_100.png</bigIcon>
      <category>SuperDocument</category>
      <description>TemplateRoot.description</description>
      <default-view>view_documents</default-view>
      <contentViews category="content">
        <contentView>document_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="Workspace">
      <label>Workspace</label>
      <icon>/icons/workspace.gif</icon>
      <bigIcon>/icons/workspace_100.png</bigIcon>
      <category>Collaborative</category>
      <description>Workspace.description</description>
      <default-view>view_documents</default-view>
      <create-view>create_workspace</create-view>
      <contentViews category="content">
        <contentView>document_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="SectionRoot">
      <label>SectionRoot</label>
      <icon>/icons/section.png</icon>
      <bigIcon>/icons/section_100.png</bigIcon>
      <category>SuperDocument</category>
      <description>SectionRoot.description</description>
      <default-view>view_documents</default-view>
      <contentViews category="content">
        <contentView>section_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="Section">
      <label>Section</label>
      <icon>/icons/section.png</icon>
      <bigIcon>/icons/section_100.png</bigIcon>
      <category>Collaborative</category>
      <description>Section.description</description>
      <default-view>view_documents</default-view>
      <contentViews category="content">
        <contentView>section_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="Folder">
      <label>Folder</label>
      <icon>/icons/folder.gif</icon>
      <bigIcon>/icons/folder_100.png</bigIcon>
      <category>Collaborative</category>
      <description>Folder.description</description>
      <default-view>view_documents</default-view>
      <contentViews category="content">
        <contentView>document_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="OrderedFolder">
      <label>OrderedFolder</label>
      <icon>/icons/ordered_folder.png</icon>
      <bigIcon>/icons/ordered_folder_100.png</bigIcon>
      <category>Collaborative</category>
      <description>OrderedFolder.description</description>
      <default-view>view_documents</default-view>
      <contentViews category="content">
        <contentView>orderable_document_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="File">
      <label>File</label>
      <icon>/icons/file.gif</icon>
      <bigIcon>/icons/file_100.png</bigIcon>
      <category>SimpleDocument</category>
      <description>File.description</description>
      <default-view>view_documents</default-view>
    </type>

    <type id="Note">
      <label>Note</label>
      <icon>/icons/note.gif</icon>
      <bigIcon>/icons/note_100.png</bigIcon>
      <category>SimpleDocument</category>
      <description>Note.description</description>
      <default-view>view_documents</default-view>
    </type>

    <type id="AdvancedSearch">
      <label>Advanced Search</label>
      <icon>/icons/advanced_search.gif</icon>
      <bigIcon>/icons/folder_100.png</bigIcon>
      <default-view>view_documents</default-view>
    </type>

    <type id="Collections">
      <label>Collections</label>
      <description/>
      <default-view>view_documents</default-view>
      <icon>/icons/collection.png</icon>
      <bigIcon>/icons/collection_100.png</bigIcon>
      <category>Collaborative</category>
      <description>Folder.description</description>
      <default-view>view_documents</default-view>
      <contentViews category="content">
        <contentView>document_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="Collection">
      <label>Collection</label>
      <description/>
      <default-view>view_documents</default-view>
      <icon>/icons/collection.png</icon>
      <bigIcon>/icons/collection_100.png</bigIcon>
      <category>Collaborative</category>
      <description>Folder.description</description>
      <default-view>view_documents</default-view>
      <contentViews category="collectionContent">
        <contentView showInExportView="false">collection_content_contentview</contentView>
      </contentViews>
    </type>

    <type id="Favorites">
      <label>Favorites</label>
      <description/>
      <default-view>view_documents</default-view>
      <icon>/icons/pin.png</icon>
      <bigIcon>/icons/pin_100.png</bigIcon>
      <description>Folder.description</description>
      <default-view>view_documents</default-view>
      <contentViews category="collectionContent">
        <contentView showInExportView="false">collection_content_contentview</contentView>
      </contentViews>
    </type>

  </extension>

</component>
