2.1.3.5.3. Query Service

The QueryService component is used to manage many queries, including adding, removing or executing a query. The configuration of this component is found in /core/core-configuration/src/main/webapp/WEB-INF/conf/wcm-core/core-services-configuration.xml.


<component>
    <key>org.exoplatform.services.cms.queries.QueryService</key>  
    <type>org.exoplatform.services.cms.queries.impl.QueryServiceImpl</type>
    <init-params>
      <value-param>
        <name>workspace</name>
        <value>system</value>
      </value-param>   
      <value-param>
        <name>relativePath</name>
        <value>Private/Searches</value>
      </value-param>
      <value-param>
        <name>group</name>
        <value>*:/platform/administrators</value>
      </value-param>            
    </init-params>          
 </component>

Details:

Name Type Value Description
workspace string system The workspace name.
relativePath string Private/Searches The path to the query location.
group string *:/platform/administrators The group is allowed to access the query folder.
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus