<?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.CmsService</key>
    <type>org.exoplatform.services.cms.impl.CmsServiceImpl</type>
  </component>
    
   <component>
      <key>org.exoplatform.services.document.diff.DiffService</key>
      <type>org.exoplatform.services.document.impl.diff.DiffServiceImpl</type>
   </component>
   
   <component>
      <key>org.exoplatform.services.document.diff.DiffAlgorithm</key>
      <type>org.exoplatform.services.document.impl.diff.SimpleDiff</type>
   </component>
    
  <component>
	  <key>org.exoplatform.services.jcr.webdav.WebDavServiceImpl</key>
	  <type>org.exoplatform.services.cms.webdav.WebDavServiceImpl</type>
	  <init-params>
			<value-param>
				<name>auto-mix-lockable</name>
				<value>false</value>
			</value-param>
				
			<value-param>
				<name>def-folder-node-type</name>
				<value>nt:folder</value>
			</value-param>
				
			<value-param>
				<name>def-file-node-type</name>
				<value>nt:file</value>
			</value-param>
				
			<value-param>
				<name>def-file-mimetype</name>
				<value>text/plain</value>
			</value-param>
			
			<value-param>
	      <name>folder-icon-path</name>
	      <value>/ecmexplorer/skin/icons/16x16/NodeTypes/DefaultSkin/nt-folder.gif</value>
    	</value-param>
				
			<value-param>
				<name>update-policy</name>
				<value>update</value>
				<!--value>replace</value -->
				<!-- value>add</value -->
			</value-param>
			
			<value-param>
				<name>auto-version</name>
				<value>checkout</value>
			</value-param>
			
		</init-params>
</component>
    
  <external-component-plugins>
    <target-component>org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator</target-component>
    <component-plugin>
	    <name>addPaths</name>
	    <set-method>addPlugin</set-method>
	    <type>org.exoplatform.services.jcr.ext.hierarchy.impl.AddPathPlugin</type>            
	    <init-params>
	      <object-param>
	        <name>cms.configuration</name>
	        <description>configuration for the cms path</description>
	        <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig">
	        	<field name="workspaces">
	          	<collection type="java.util.ArrayList">
	          		<value><string>collaboration</string></value>	          		               
	          	</collection>              	
	          </field>
	          <field  name="jcrPaths">
	          	<collection type="java.util.ArrayList">
	          		<value>              	
		             	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
		             		<field  name="alias"><string>eXoApplications</string></field>
		                <field  name="path"><string>/exo:applications</string></field>
		                <field name="mixinTypes">
				              <collection type="java.util.ArrayList">
				              	<value><string>exo:hiddenable</string></value>
				            	</collection>
				            </field>				            	
		                <field name="permissions">
				              <collection type="java.util.ArrayList">               
				                <value>                            
				                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
				                      <field name="identity"><string>*:/platform/administrators</string></field>
				                      <field name="read"><string>true</string></field>                
				                      <field name="addNode"><string>true</string></field>                
				                      <field name="setProperty"><string>true</string></field>                
				                      <field name="remove"><string>true</string></field>                
				                    </object>  
				                </value>			                  
			                </collection>
			              </field>   			               
	              	</object>
              	</value>
             		<value>              	
		             	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
		             		<field  name="alias"><string>eXoServices</string></field>
		                <field  name="path"><string>/exo:services</string></field>
		                <field name="mixinTypes">
				              <collection type="java.util.ArrayList">
				              	<value><string>exo:hiddenable</string></value>
				            	</collection>
				            </field>
		                <field name="permissions">
				              <collection type="java.util.ArrayList">               
				                <value>                            
				                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
				                      <field name="identity"><string>*:/platform/administrators</string></field>
				                      <field name="read"><string>true</string></field>                
				                      <field name="addNode"><string>true</string></field>                
				                      <field name="setProperty"><string>true</string></field>                
				                      <field name="remove"><string>true</string></field>                
				                    </object>  
				                </value>			                  
			                </collection>
			              </field>   			               
	              	</object>
              	</value>	          		
              	<value>              	
	              	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
	              		<field  name="alias"><string>usersPath</string></field>
	                  <field  name="path"><string>/Users</string></field>
	                  <field name="permissions">
			                <collection type="java.util.ArrayList">               
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>false</string></field>                
			                      <field name="setProperty"><string>false</string></field>                
			                      <field name="remove"><string>false</string></field>                
			                    </object>  
			                  </value>
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>${exo.super.user:root}</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>false</string></field>                
			                      <field name="setProperty"><string>false</string></field>                
			                      <field name="remove"><string>false</string></field>                
			                    </object>  
			                  </value>
			                </collection>
			              </field>   			               
	              	</object>
              	</value>
              	<value>              	
	              	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
	              		<field  name="alias"><string>groupsPath</string></field>
	                  <field  name="path"><string>/Groups</string></field>
	                  <field name="permissions">
			                <collection type="java.util.ArrayList">               
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>false</string></field>                
			                      <field name="setProperty"><string>false</string></field>                
			                      <field name="remove"><string>false</string></field>                
			                    </object>  
			                  </value>
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>false</string></field>                
			                      <field name="setProperty"><string>false</string></field>                
			                      <field name="remove"><string>false</string></field>                
			                    </object>  
			                  </value>
			                </collection>
			              </field>   			               
	              	</object>
              	</value>	              		              		              		              	
	          	</collection>              	              	
	          </field>
	        </object>
	      </object-param>
	    </init-params>            
	  </component-plugin>    
    <component-plugin>
      <name>addPaths</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.jcr.ext.hierarchy.impl.AddPathPlugin</type>    
      <init-params>
        <object-param>
          <name>cms.configuration</name>
          <description>configuration for the digital-assets path</description>
          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig">
           	<field name="workspaces">
             	<collection type="java.util.ArrayList">
              	<value><string>collaboration</string></value>              	              
              </collection>              	
            </field>
            <field  name="jcrPaths">
             	<collection type="java.util.ArrayList">
             		<value>              	
		             	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
		             		<field  name="alias"><string>digitalAssetsPath</string></field>
		                <field  name="path"><string>/Digital Assets</string></field>
		                <field name="permissions">
				              <collection type="java.util.ArrayList">               
				                <value>                            
				                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
				                </value>
				                <value>                            
				                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>false</string></field>                
			                      <field name="remove"><string>false</string></field>                
			                    </object>  
				                </value>				                
			                </collection>
			              </field>   			               
	              	</object>
              	</value>
              	<value>              	
	              	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
	              		<field  name="alias"><string>digitalPicturePath</string></field>
	                  <field  name="path"><string>/Digital Assets/Pictures</string></field>
	                  <field name="mixinTypes">
				              <collection type="java.util.ArrayList">
				              	<value><string>exo:pictureFolder</string></value>
				            	</collection>
				            </field>
	                  <field name="permissions">
			                <collection type="java.util.ArrayList">               
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
				                <value>                            
				                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>false</string></field>                
			                      <field name="remove"><string>false</string></field>                
			                    </object>  
				                </value>			                  
			                </collection>
			              </field>   			               
	              	</object>
              	</value>	              		              	
              	<value>              	
	              	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
	              		<field  name="alias"><string>digitalVideoPath</string></field>
	                  <field  name="path"><string>/Digital Assets/Videos</string></field>
	                  <field name="mixinTypes">
				              <collection type="java.util.ArrayList">
				              	<value><string>exo:videoFolder</string></value>
				            	</collection>
				            </field>
	                  <field name="permissions">
			                <collection type="java.util.ArrayList">               
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
				                <value>                            
				                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>false</string></field>                
			                      <field name="remove"><string>false</string></field>                
			                    </object>  
				                </value>			                  
			                </collection>
			              </field>   			               
	              	</object>
              	</value>	              		              	
              	<value>              	
	              	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
	              		<field  name="alias"><string>digitalAudioPath</string></field>
	                  <field  name="path"><string>/Digital Assets/Music</string></field>
	                  <field name="mixinTypes">
				              <collection type="java.util.ArrayList">
				              	<value><string>exo:musicFolder</string></value>
				            	</collection>
				            </field>
	                  <field name="permissions">
			                <collection type="java.util.ArrayList">               
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
				                <value>                            
				                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>false</string></field>                
			                      <field name="remove"><string>false</string></field>                
			                    </object>  
				                </value>			                  
			                </collection>
			              </field>   			               
	              	</object>
              	</value>	              		              	
              </collection>              	              	
            </field>
          </object>
        </object-param>
      </init-params>            
    </component-plugin>
    <component-plugin>
      <name>addPaths</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.jcr.ext.hierarchy.impl.AddPathPlugin</type>    
      <init-params>
        <object-param>
          <name>cms.configuration</name>
          <description>configuration for documents management</description>
          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig">
           	<field name="workspaces">
             	<collection type="java.util.ArrayList">
              	<value><string>collaboration</string></value>              	               
              </collection>              	
            </field>
            <field  name="jcrPaths">
             	<collection type="java.util.ArrayList">
             		<value>              	
		             	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
		             		<field  name="alias"><string>documentsPath</string></field>
		                <field  name="path"><string>/Documents</string></field>
		                <field name="mixinTypes">
				              <collection type="java.util.ArrayList">
				              	<value><string>exo:documentFolder</string></value>
				            	</collection>
				            </field>
		                <field name="permissions">
				              <collection type="java.util.ArrayList">               
				                <value>                            
				                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
				                </value>
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
			                </collection>
			              </field>   			               
	              	</object>
              	</value>
              	<value>              	
	              	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
	              		<field  name="alias"><string>documentsLivePath</string></field>
	                  <field  name="path"><string>/Documents/Live</string></field>
	                  <field name="permissions">
			                <collection type="java.util.ArrayList">               
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
			                </collection>
			              </field>   			               
	              	</object>
              	</value>	              		              	
              	<value>              	
	              	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
	              		<field  name="alias"><string>documentsDraftPath</string></field>
	                  <field  name="path"><string>/Documents/Validation Requests</string></field>
	                  <field name="permissions">
			                <collection type="java.util.ArrayList">               
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>			                  
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
			                </collection>
			              </field>   			               
	              	</object>
              	</value>	              		              	
              	<value>              	
	              	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
	              		<field  name="alias"><string>documentsPendingPath</string></field>
	                  <field  name="path"><string>/Documents/Pending</string></field>
	                  <field name="permissions">
			                <collection type="java.util.ArrayList">               
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
			                </collection>
			              </field>   			               
	              	</object>
              	</value>
                <value>               
                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">                 
                    <field  name="alias"><string>documentsTrashPath</string></field>
                    <field  name="path"><string>/Documents/Trash</string></field>
                    <field name="permissions">
                      <collection type="java.util.ArrayList">               
                        <value>                            
                          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
                            <field name="identity"><string>*:/platform/administrators</string></field>
                            <field name="read"><string>true</string></field>                
                            <field name="addNode"><string>true</string></field>                
                            <field name="setProperty"><string>true</string></field>                
                            <field name="remove"><string>true</string></field>                
                          </object>  
                        </value>
                        <value>                            
                          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
                            <field name="identity"><string>*:/platform/users</string></field>
                            <field name="read"><string>true</string></field>                
                            <field name="addNode"><string>true</string></field>                
                            <field name="setProperty"><string>true</string></field>                
                            <field name="remove"><string>true</string></field>                
                          </object>  
                        </value>     
                      </collection>
                    </field>                       
                  </object>
                </value>                                                                                                      
              	<value>              	
	              	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
	              		<field  name="alias"><string>newDocumentsTrashPath</string></field>
	                  <field  name="path"><string>/Trash</string></field>
                    <field name="mixinTypes">
                      <collection type="java.util.ArrayList">
                        <value><string>exo:hiddenable</string></value>
                        <value><string>exo:trashFolder</string></value>
                      </collection>
                    </field>                      
	                  <field name="permissions">
			                <collection type="java.util.ArrayList">               
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>false</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>       
			                </collection>
			              </field>   			               
	              	</object>
              	</value>              		              		                            		              		              	
              </collection>              	              	
            </field>
          </object>
        </object-param>
      </init-params>            
    </component-plugin>
    
    <component-plugin>
      <name>addPaths</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.jcr.ext.hierarchy.impl.AddPathPlugin</type>    
      <init-params>
        <object-param>
          <name>cms.configuration</name>
          <description>configuration for record management spaces</description>
          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig">
           	<field name="workspaces">
             	<collection type="java.util.ArrayList">
              	<value><string>collaboration</string></value>              	               
              </collection>              	
            </field>
            <field  name="jcrPaths">
             	<collection type="java.util.ArrayList">
             		<value>              	
		             	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
		             		<field  name="alias"><string>recordsSpacePath</string></field>
		                <field  name="path"><string>/Records Space</string></field>
		                <field name="permissions">
				              <collection type="java.util.ArrayList">               
				                <value>                            
				                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
				                </value>
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value>
			                </collection>
			              </field>   			               
	              	</object>
              	</value>
              </collection>              	              	
            </field>
          </object>
        </object-param>
      </init-params>            
    </component-plugin>            
        
    <component-plugin>
      <name>addPaths</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.jcr.ext.hierarchy.impl.AddPathPlugin</type>    
      <init-params>
        <object-param>
          <name>cms.configuration</name>
          <description>configuration for backup workspace</description>
          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig">
           	<field name="workspaces">
             	<collection type="java.util.ArrayList">
              	<value><string>backup</string></value>              	               
              </collection>              	
            </field>
            <field  name="jcrPaths">
             	<collection type="java.util.ArrayList">
             		<value>              	
		             	<object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">              	 	
		             		<field  name="alias"><string>documentsBackupPath</string></field>
		                <field  name="path"><string>/Expired Documents</string></field>
		                <field name="mixinTypes">
				              <collection type="java.util.ArrayList">
				              	<value><string>exo:documentFolder</string></value>
				            	</collection>
				            </field>
		                <field name="permissions">
				              <collection type="java.util.ArrayList">               
				                <value>                            
				                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/administrators</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
				                </value>
			                  <value>                            
			                    <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
			                      <field name="identity"><string>*:/platform/users</string></field>
			                      <field name="read"><string>true</string></field>                
			                      <field name="addNode"><string>true</string></field>                
			                      <field name="setProperty"><string>true</string></field>                
			                      <field name="remove"><string>true</string></field>                
			                    </object>  
			                  </value> 
			                </collection>
			              </field>   			               
	              	</object>
              	</value>
              </collection>              	              	
            </field>
          </object>
        </object-param>
      </init-params>            
    </component-plugin>        


    <component-plugin>
      <name>addPaths</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.jcr.ext.hierarchy.impl.AddPathPlugin</type>    
      <init-params>
        <object-param>
          <name>cms.configuration</name>
          <description>configuration for public tag node</description>
          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig">
            <field name="workspaces">
              <collection type="java.util.ArrayList">
                <value><string>collaboration</string></value>                               
              </collection>               
            </field>
            <field  name="jcrPaths">
              <collection type="java.util.ArrayList">
              
                <value>               
                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">                 
                    <field  name="alias"><string>exoApplicationDataNode</string></field>
                    <field  name="path"><string>/Application Data</string></field>
                    <field name="mixinTypes">
                      <collection type="java.util.ArrayList">
                        <value><string>exo:hiddenable</string></value>
                      </collection>
                    </field>
                    <field name="permissions">
                      <collection type="java.util.ArrayList">               
                        <value>                            
                          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
                            <field name="identity"><string>*:/platform/administrators</string></field>
                            <field name="read"><string>true</string></field>                
                            <field name="addNode"><string>true</string></field>                
                            <field name="setProperty"><string>true</string></field>                
                            <field name="remove"><string>true</string></field>                
                          </object>  
                        </value>
                        <value>                            
                          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
                            <field name="identity"><string>*:/platform/users</string></field>
                            <field name="read"><string>true</string></field>                
                            <field name="addNode"><string>true</string></field>                
                            <field name="setProperty"><string>true</string></field>                
                            <field name="remove"><string>true</string></field>                
                          </object>  
                        </value>
                      </collection>
                    </field>                       
                  </object>
                </value>
                

                <value>               
                  <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$JcrPath">                 
                    <field  name="alias"><string>exoPublicTagNode</string></field>
                    <field  name="path"><string>/tags</string></field>
                    <field name="permissions">
                      <collection type="java.util.ArrayList">               
                        <value>                            
                          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
                            <field name="identity"><string>*:/platform/administrators</string></field>
                            <field name="read"><string>true</string></field>                
                            <field name="addNode"><string>true</string></field>                
                            <field name="setProperty"><string>true</string></field>                
                            <field name="remove"><string>true</string></field>                
                          </object>  
                        </value>
                        <value>                            
                          <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig$Permission">             
                            <field name="identity"><string>*:/platform/users</string></field>
                            <field name="read"><string>true</string></field>                
                            <field name="addNode"><string>true</string></field>                
                            <field name="setProperty"><string>true</string></field>                
                            <field name="remove"><string>true</string></field>                
                          </object>  
                        </value>      
                      </collection>
                    </field>                       
                  </object>
                </value>

                
              </collection>                               
            </field>
          </object>
        </object-param>
      </init-params>            
    </component-plugin>        
    
               
  </external-component-plugins> 
</configuration>
