JBoss.orgCommunity Documentation

QueryService

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/Queries</value>
        </value-param>
        <value-param>
            <name>group</name>
            <value>*:/admin</value>
        </value-param>
    </init-params>
</component>

Details:

Name Type Value Description
workspace string system The workspace name.
relativePath Private/Queries Private/Queries The path to the query location.
group string *:/adminThe group is allowed to access the query folder.