<?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">	
	<!-- This is the system configuration for ecm. Be careful if you want to change this configuration -->
	
  <component>
    <key>org.exoplatform.services.cms.CmsService</key>
    <type>org.exoplatform.services.cms.impl.CmsServiceImpl</type>
  </component>
     
  <component>
	  <key>org.exoplatform.services.cms.actions.ActionServiceContainer</key>  
	  <type>org.exoplatform.services.cms.actions.impl.ActionServiceContainerImpl</type>
	  <init-params>
      <value-param>
        <name>workspace</name>
        <value>system</value>
      </value-param>
    </init-params>    
  </component>
  
  <component>
    <key>org.exoplatform.services.cms.CmsService</key>
    <type>org.exoplatform.services.cms.impl.CmsServiceImpl</type>
  </component>
  
	<component>
		<key>org.exoplatform.services.cms.actions.ActionServiceContainer</key>
		<type>org.exoplatform.services.cms.actions.impl.ActionServiceContainerImpl</type>
	</component>
	
	<component>
    <key>org.exoplatform.services.cms.templates.TemplateService</key>
    <type>org.exoplatform.services.cms.templates.impl.TemplateServiceImpl</type>    
  </component>
  <component>
    <key>org.exoplatform.services.workflow.WorkflowServiceContainer</key>
    <type>org.exoplatform.services.workflow.impl.jbpm.WorkflowServiceContainerImpl</type>            
    <init-params>
      <value-param>
        <name>hibernate.service</name>
        <description>if  this param is not existed or the value is empty, null or default.
          The workflow service will use the default Hibernate service.  If you modify the value,
          You need to  update the external plugin for  the hibernate service that you use as well</description>
        <value>default</value>
      </value-param>
	  <value-param>
        <name>jbpm_cfg</name>
        <description>Override configuration file from jbpm</description>
        <value>classpath:/jbpm.cfg.xml</value>
      </value-param>
    </init-params>
  </component>  
  
  <external-component-plugins>
    <target-component>org.exoplatform.services.cms.templates.TemplateService</target-component>
      <component-plugin>
        <name>addTemplates</name>
        <set-method>addTemplates</set-method>
        <type>org.exoplatform.services.cms.templates.impl.TemplatePlugin</type>    
        <init-params>
	        <value-param>
	        	<name>autoCreateInNewRepository</name>
	        	<value>true</value>
	        </value-param>
	        <value-param>
	        	<name>storedLocation</name>
	        	<value>jar:/resources/templates</value>
	        </value-param>
          <object-param>
            <name>template.configuration</name>
            <description>configuration for the localtion of templates to inject in jcr</description>
            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig">            	
              <field  name="nodeTypes">
                <collection type="java.util.ArrayList">               
                  <value>
                    <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$NodeType">
                      <field  name="nodetypeName"><string>exo:publishingProcess</string></field>
                      <field  name="documentTemplate"><boolean>false</boolean></field>
                      <field  name="label"><string>Content Publishing Workflow Action</string></field>
                      <field  name="referencedView">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/bp/contentPublishing/views/view1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>  
                        </collection>
                      </field>                  
                      <field  name="referencedDialog">
                        <collection type="java.util.ArrayList">
                          <value>
                            <object type="org.exoplatform.services.cms.templates.impl.TemplateConfig$Template">             
                              <field name="templateFile"><string>/actions/bp/contentPublishing/dialogs/dialog1.gtmpl</string></field>
                              <field name="roles"><string>*</string></field>                
                            </object>                           
                          </value>                      
                        </collection>
                      </field>                                    
                    </object>
                  </value>
                </collection>
              </field>
            </object>
          </object-param>
        </init-params>       
      </component-plugin>
  </external-component-plugins>
  <external-component-plugins>
	  <target-component>org.exoplatform.services.jcr.RepositoryService</target-component>      
	  <component-plugin>
	    <name>add.nodeType</name>
	    <set-method>addPlugin</set-method>
	    <type>org.exoplatform.services.jcr.impl.AddNodeTypePlugin</type>
	    <priority>111</priority>
	    <init-params>
	      <values-param>
	        <name>autoCreatedInNewRepository</name>
	        <description>Node types configuration file</description>
	        <value>jar:/conf/plugin-nodetypes-config.xml</value>
	        <value>jar:/conf/bussiness-process-nodetypes.xml</value>
	      </values-param>
	    </init-params>
	  </component-plugin>
	</external-component-plugins>

  <external-component-plugins>
    <target-component>org.exoplatform.services.cms.actions.ActionServiceContainer</target-component>       
	  <component-plugin>
	    <name>exo:businessProcessAction</name>
	    <set-method>addPlugin</set-method>
	    <type>org.exoplatform.services.plugin.actions.impl.BPActionPlugin</type>
					<priority>112</priority>
	    <init-params>
	      <object-param>
	        <name>predefined.actions</name>
	        <description>description</description>
	        <object type="org.exoplatform.services.cms.actions.impl.ActionConfig">
	          <field  name="workspace"><string>collaboration</string></field>
	          <field  name="actions">
	            <collection type="java.util.ArrayList">                                   
	              <value>
	                <object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Action">
	                  <field  name="type"><string>exo:publishingProcess</string></field>
	                  <field  name="name"><string>content publishing</string></field>                  
	                  <field  name="description"><string>content publishing workflow</string></field>
	                  <field  name="srcWorkspace"><string>collaboration</string></field>
	                  <field  name="srcPath"><string>/Documents/Validation Requests</string></field>
										<field  name="isDeep"><boolean>true</boolean></field>
										<field  name="lifecyclePhase">
											<collection type="java.util.ArrayList">
						           	<value><string>node_added</string></value>		
						           </collection>
										</field>
	                  <field  name="roles"><string>*:/platform/users</string></field>                     
	                  <field  name="variables">
	                    <string>exo:supervisor=*:/organization/management/executive-board;exo:validator=*:/platform/administrators</string>
	                  </field>              
	                  <field name="mixins">
	                    <collection type="java.util.ArrayList">
	                      <value>
	                        <object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Mixin">
	                          <field  name="name"><string>exo:publishLocation</string></field>
	                          <field  name="properties">
	                            <string>exo:publishWorkspace=collaboration;exo:publishPath=/Documents/Live;exo:validator=*:/platform/administrators</string>
	                          </field>
	                        </object>
	                      </value>
	                      <value>
	                        <object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Mixin">
	                          <field  name="name"><string>exo:pendingLocation</string></field>
	                          <field  name="properties">
	                            <string>exo:pendingWorkspace=collaboration;exo:pendingPath=/Documents/Pending</string>
	                          </field>
	                        </object>
	                      </value>
	                      <value>
	                        <object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Mixin">
	                          <field  name="name"><string>exo:backupLocation</string></field>
	                          <field  name="properties">
	                            <string>exo:backupWorkspace=backup;exo:backupPath=/Expired Documents</string>
	                          </field>
	                        </object>
	                      </value>
	                      <value>
	                        <object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Mixin">
	                          <field  name="name"><string>exo:trashLocation</string></field>
	                          <field  name="properties">
	                            <string>exo:trashWorkspace=collaboration;exo:trashPath=/Documents/Trash</string>
	                          </field>
	                        </object>
	                      </value>
												<value>
              						<object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Mixin">
              							<field  name="name"><string>mix:affectedNodeTypes</string></field>
              							<field  name="properties">
              								<string>exo:affectedNodeTypeNames=exo:article,exo:podcast,exo:sample,kfx:document,nt:file,rma:filePlan</string>
														</field>
													</object>
                    	 	</value>		
	                    </collection>     
	                  </field>    
	                </object>  
	              </value>
	            </collection>   
	          </field>  
	        </object>
	      </object-param>
	    </init-params>          
	  </component-plugin>
	  <component-plugin>
	    <name>exo:scriptAction</name>   
	    <set-method>addPlugin</set-method>
	    <type>org.exoplatform.services.cms.actions.impl.ScriptActionPlugin</type>
	    <init-params>
	      <object-param>
	        <name>predefined.actions</name>
	        <description>description</description>
	        <object type="org.exoplatform.services.cms.actions.impl.ActionConfig">
	          <field  name="workspace"><string>collaboration</string></field>
	          <field  name="actions">
	            <collection type="java.util.ArrayList">
	              <value>
	                <object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Action">
	                  <field  name="type"><string>exo:sendMailAction</string></field>
	                  <field  name="name"><string>sendMail</string></field>                  
	                  <field  name="description"><string>send a notification mail</string></field>
	                  <field  name="srcWorkspace"><string>collaboration</string></field>
	                  <field  name="srcPath"><string>/Documents/Validation Requests</string></field>
	                  <field  name="isDeep"><boolean>true</boolean></field>
										<field  name="lifecyclePhase">
	                  	<collection type="java.util.ArrayList">
												<value><string>read</string></value>
											</collection>
										</field>
	                  <field  name="roles"><string>*:/platform/administrators</string></field>
	                  <field  name="variables">
	                    <string>exo:to=benjamin.mestrallet@exoplatform.com</string>
	                  </field>
										<field  name="mixins">
					            <collection type="java.util.ArrayList">
					            	<value>
						  						<object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Mixin">
						  							<field  name="name"><string>mix:affectedNodeTypes</string></field>
						  							<field  name="properties">
						  								<string>exo:affectedNodeTypeNames=exo:article,exo:podcast,exo:sample,kfx:document,nt:file,rma:filePlan</string>
														</field>
													</object>
						  					</value>		
					            </collection>
					          </field>                        
	                </object>  
	              </value>
	              <value>
	                <object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Action">
	                  <field  name="type"><string>exo:publishingRequest</string></field>
	                  <field  name="name"><string>publishing request</string></field>                  
	                  <field  name="description"><string>request for publishing a document</string></field>
	                  <field  name="srcWorkspace"><string>collaboration</string></field>
	                  <field  name="srcPath"><string>/Users/mary/Private/Documents</string></field>
	                  <field  name="isDeep"><boolean>true</boolean></field>
										         <field  name="lifecyclePhase">
	                  	<collection type="java.util.ArrayList">
												          <value><string>read</string></value>
											         </collection>
										         </field>
	                  <field  name="roles"><string>marry</string></field>
	                  <field  name="variables">
	                    <string>exo:requestPath=/Documents/Validation Requests;exo:reservePath=/Users/marry/Private/Documents/Publishing Requested</string>
	                  </field>
										         <field  name="mixins">
					                <collection type="java.util.ArrayList">
					            	     <value>
						  						           <object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Mixin">
						  							            <field  name="name"><string>mix:affectedNodeTypes</string></field>
						  							            <field  name="properties">
						  								             <string>exo:affectedNodeTypeNames=exo:article,exo:podcast,exo:sample,kfx:document,nt:file,rma:filePlan</string>
														             </field>
													            </object>
		  									          </value>		
					                </collection>
					              </field>                        
	                </object>  
	              </value>
	              <value>
	                <object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Action">
	                  <field  name="type"><string>exo:publishingRequest</string></field>
	                  <field  name="name"><string>publishing request</string></field>                  
	                  <field  name="description"><string>request for publishing a document</string></field>
	                  <field  name="srcWorkspace"><string>collaboration</string></field>
	                  <field  name="srcPath"><string>/Users/root/Private/Documents</string></field>
	                  <field  name="isDeep"><boolean>true</boolean></field>
										         <field  name="lifecyclePhase">
	                  	 <collection type="java.util.ArrayList">
												           <value><string>read</string></value>
											          </collection>
										         </field>
	                  <field  name="roles"><string>root</string></field>
	                  <field  name="variables">
	                    <string>exo:requestPath=/Documents/Validation Requests;exo:reservePath=/Users/root/Private/Documents/Publishing Requested</string>
	                  </field>
										         <field  name="mixins">
					                <collection type="java.util.ArrayList">
					                  <value>
						  						           <object type="org.exoplatform.services.cms.actions.impl.ActionConfig$Mixin">
						  							            <field  name="name"><string>mix:affectedNodeTypes</string></field>
						  							            <field  name="properties">
						  								             <string>exo:affectedNodeTypeNames=exo:article,exo:podcast,exo:sample,kfx:document,nt:file,rma:filePlan</string>
														             </field>
													            </object>
              					    </value>		
					                </collection>
					              </field>                        
	                </object>  
	              </value>                                  
	            </collection>   
	          </field>  
	        </object>
	      </object-param>
	    </init-params>    
	  </component-plugin>
 </external-component-plugins>
  <external-component-plugins>
    <target-component>org.exoplatform.services.database.HibernateService</target-component>
    <component-plugin> 
      <name>add.hibernate.mapping</name>
      <set-method>addPlugin</set-method>
      <type>org.exoplatform.services.database.impl.AddHibernateMappingPlugin</type>
      <init-params>
        <values-param>
          <name>hibernate.mapping</name>
          <value>org/jbpm/graph/action/Script.hbm.xml</value>
		    <value>org/jbpm/db/hibernate.queries.hbm.xml</value>
		    <value>org/jbpm/db/hibernate.types.hbm.xml</value>
		    <value>org/jbpm/graph/def/ProcessDefinition.hbm.xml</value>
		    <value>org/jbpm/graph/def/Node.hbm.xml</value>
		    <value>org/jbpm/graph/def/Transition.hbm.xml</value>
		    <value>org/jbpm/graph/def/Event.hbm.xml</value>
		    <value>org/jbpm/graph/def/Action.hbm.xml</value>
		    <value>org/jbpm/graph/def/SuperState.hbm.xml</value>
		    <value>org/jbpm/graph/def/ExceptionHandler.hbm.xml</value>
		    <value>org/jbpm/instantiation/Delegation.hbm.xml</value>
		    <value>org/jbpm/graph/node/StartState.hbm.xml</value>
		    <value>org/jbpm/graph/node/EndState.hbm.xml</value>
		    <value>org/jbpm/graph/node/ProcessState.hbm.xml</value>
		    <value>org/jbpm/graph/node/Decision.hbm.xml</value>
		    <value>org/jbpm/graph/node/Fork.hbm.xml</value>
		    <value>org/jbpm/graph/node/Join.hbm.xml</value>
		    <value>org/jbpm/graph/node/State.hbm.xml</value>
		    <value>org/jbpm/graph/node/TaskNode.hbm.xml</value>
		
		    <value>org/jbpm/context/def/ContextDefinition.hbm.xml</value>
		    <value>org/jbpm/context/def/VariableAccess.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/def/Swimlane.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/def/Task.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/def/TaskController.hbm.xml</value>
		    <value>org/jbpm/module/def/ModuleDefinition.hbm.xml</value>
		    <value>org/jbpm/bytes/ByteArray.hbm.xml</value>
		    <value>org/jbpm/file/def/FileDefinition.hbm.xml</value>
		    <value>org/jbpm/scheduler/def/CreateTimerAction.hbm.xml</value>
		    <value>org/jbpm/scheduler/def/CancelTimerAction.hbm.xml</value>
		    <value>org/jbpm/graph/exe/Comment.hbm.xml</value>
		    <value>org/jbpm/graph/exe/ProcessInstance.hbm.xml</value>
		    <value>org/jbpm/graph/exe/Token.hbm.xml</value>
		    <value>org/jbpm/graph/exe/RuntimeAction.hbm.xml</value>
		    <value>org/jbpm/module/exe/ModuleInstance.hbm.xml</value>
		    <value>org/jbpm/context/exe/ContextInstance.hbm.xml</value>
		    <value>org/jbpm/context/exe/TokenVariableMap.hbm.xml</value>
		    <value>org/jbpm/context/exe/VariableInstance.hbm.xml</value>
		    <value>org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml</value>
		    <value>org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml</value>
		    <value>org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml</value>
		    <value>org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml</value>
		    <value>org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml</value>
		    <value>org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml</value>
		    <value>org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml</value>
		    <value>org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml</value>
		    <value>org/jbpm/job/Job.hbm.xml</value>
		    <value>org/jbpm/job/Timer.hbm.xml</value>
			<value>org/jbpm/job/ExecuteNodeJob.hbm.xml</value>
		    <value>org/jbpm/job/ExecuteActionJob.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/exe/PooledActor.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml</value>
			<value>org/jbpm/logging/log/ProcessLog.hbm.xml</value>
		    <value>org/jbpm/logging/log/MessageLog.hbm.xml</value>
		    <value>org/jbpm/logging/log/CompositeLog.hbm.xml</value>
		    <value>org/jbpm/graph/log/ActionLog.hbm.xml</value>
		    <value>org/jbpm/graph/log/NodeLog.hbm.xml</value>
		    <value>org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml</value>
		    <value>org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml</value>
		    <value>org/jbpm/graph/log/ProcessStateLog.hbm.xml</value>
		    <value>org/jbpm/graph/log/SignalLog.hbm.xml</value>
		    <value>org/jbpm/graph/log/TokenCreateLog.hbm.xml</value>
		    <value>org/jbpm/graph/log/TokenEndLog.hbm.xml</value>
		    <value>org/jbpm/graph/log/TransitionLog.hbm.xml</value>
		    <value>org/jbpm/context/log/VariableLog.hbm.xml</value>
		    <value>org/jbpm/context/log/VariableCreateLog.hbm.xml</value>
		    <value>org/jbpm/context/log/VariableDeleteLog.hbm.xml</value>
		    <value>org/jbpm/context/log/VariableUpdateLog.hbm.xml</value>
		    <value>org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml</value>
		    <value>org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml</value>
		    <value>org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml</value>
		    <value>org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml</value>
		    <value>org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml</value>
		    <value>org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml</value>
		    <value>org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/log/TaskLog.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml</value>
		    <value>org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml</value>  
        </values-param>
      </init-params>
    </component-plugin>
  </external-component-plugins>  
	<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>workflow.configuration</name>
	        <description>configuration for the workflow path</description>
	        <object type="org.exoplatform.services.jcr.ext.hierarchy.impl.HierarchyConfig">
	        	<field name="workspaces">
	          	<collection type="java.util.ArrayList">
	          		<value><string>system</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>exoWorkflowSystemPath</string></field>
		                  <field  name="path"><string>/jcr:system/exo:workflow</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>any</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>businessProcessesPath</string></field>
	                  <field  name="path"><string>/jcr:system/exo:workflow/business processes</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>				                  
				                </collection>
				              </field>   			               
		              	</object>
	              	</value>
              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		              		              		              		              		              		              	        		              		             	              		              	         	              	
	          	</collection>              	              	
	          </field>
	        </object>
	      </object-param>
	    </init-params>            
	  </component-plugin>
	</external-component-plugins>	   
</configuration>
