<?xml version="1.0" encoding="ISO-8859-1"?>
<configuration
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
   xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">


  <component>
    <key>org.exoplatform.services.cms.documents.DocumentTypeService</key>  
    <type>org.exoplatform.services.cms.documents.impl.DocumentTypeServiceImpl</type>
		<init-params>
      <object-param>
				<name>Content</name>
				<object type="org.exoplatform.services.cms.documents.impl.DocumentType">
					<field name="contentsType"><string>true</string></field>
					<field name="displayInFilter"><string>true</string></field>
					<field name="mimeTypes">
						<collection type="java.util.ArrayList">
						</collection>
					</field>
				</object>
			</object-param>						
      <object-param>
				<name>Documents</name>
				<object type="org.exoplatform.services.cms.documents.impl.DocumentType">
          <field name="contentsType"><string>false</string></field>
          <field name="displayInFilter"><string>true</string></field>
					<field name="mimeTypes">
						<collection type="java.util.ArrayList">
  						<value><string>application/</string></value>
  						<value><string>text/</string></value>
						</collection>
					</field>
				</object>
			</object-param>						
			<object-param>
				<name>Images</name>
				<object type="org.exoplatform.services.cms.documents.impl.DocumentType">
				  <field name="contentsType"><string>false</string></field>
				  <field name="displayInFilter"><string>true</string></field>
					<field name="mimeTypes">
						<collection type="java.util.ArrayList">
							<value><string>image/</string></value>
						</collection>
					</field>
				</object>
			</object-param>
			<object-param>
				<name>Video</name>
				<object type="org.exoplatform.services.cms.documents.impl.DocumentType">
					<field name="contentsType"><string>false</string></field>
					<field name="displayInFilter"><string>true</string></field>
					<field name="mimeTypes">
						<collection type="java.util.ArrayList">
							<value><string>video/</string></value>
						</collection>
					</field>
				</object>
			</object-param>
      <object-param>
				<name>Music</name>
				<object type="org.exoplatform.services.cms.documents.impl.DocumentType">
					<field name="contentsType"><string>false</string></field>
					<field name="displayInFilter"><string>true</string></field>
					<field name="mimeTypes">
						<collection type="java.util.ArrayList">
							<value><string>audio/</string></value>
							<value><string>audio/mp3</string></value>
							<value><string>audio/mpeg</string></value>
							<value><string>audio/x-wav</string></value>
							<value><string>audio/basic</string></value>
							<value><string>audio/mid</string></value>
							<value><string>audio/midi</string></value>
							<value><string>audio/x-pn-realaudio</string></value>
						</collection>
					</field>
				</object>
				</object-param>
	      <object-param>
    			<name>accessibleMedia</name>
    			<object type="org.exoplatform.services.cms.documents.impl.DocumentType">
          	<field name="contentsType"><string>false</string></field>
          	<field name="displayInFilter"><string>false</string></field>
      			<field name="mimeTypes">
            	<collection type="java.util.ArrayList">
         				<value><string>video/x-flv</string></value>
         				<value><string>audio/mp3</string></value>
        			</collection>
      			</field>
    			</object>
   			</object-param>
		</init-params>
  </component>	
</configuration>
