public final class CQConfigManagerClient extends CQClient
/conf
----/confName
jcr:title
----/settings
----/configCapability1
----/configCapability2
A config can be created using create(String title, CQConfigCapability...).CQConfigManagerClient.CQConfig| Modifier and Type | Class and Description |
|---|---|
static class |
CQConfigManagerClient.CQConfig
Helper class to update or delete an existing config.
|
static class |
CQConfigManagerClient.CQConfigCapability
List of available Config Capabilities in AEM
|
CQClient.Builder, CQClient.InternalBuilder<T extends CQClient>LOG, STATISTICS_ROOT, wcmCommands| Constructor and Description |
|---|
CQConfigManagerClient(org.apache.http.impl.client.CloseableHttpClient http,
org.apache.sling.testing.clients.SlingClientConfig config) |
CQConfigManagerClient(URI serverUrl,
String user,
String password) |
| Modifier and Type | Method and Description |
|---|---|
CQConfigManagerClient.CQConfig |
create(String configTitle,
CQConfigManagerClient.CQConfigCapability... capabilities)
Creates a config on default config path /conf
|
CQConfigManagerClient.CQConfig |
create(String parentPath,
String configTitle,
CQConfigManagerClient.CQConfigCapability... capabilities)
Creates a CQConfig on the given path
|
CQConfigManagerClient.CQConfig |
create(String parentPath,
String configTitle,
String configName,
CQConfigManagerClient.CQConfigCapability... capabilities)
Created a Config on the given path and with given name
|
copyLanguages, copyPage, createPage, createPageWithRetry, createVersion, deletePage, deletePageWithRetry, getAuthorSitesPage, lockPage, movePage, movePage, pageExists, pageExistsWithRetry, pageExistsWithRetry, resetPageStatistics, restoreTree, restoreVersion, rolloutPage, searchAndReplaceInPages, searchInPages, setPageProperties, setPageProperty, setPagePropertyImage, unlockPage, uploadFileCQStylecreateFolder, createNode, createNodeRecursive, deletePath, doGetJson, exists, getJsonNode, getJsonNode, getNodeNameFromPath, getParentPath, getUUId, getUUID, importContent, importContent, importJson, move, setPropertiesString, setPropertyString, setPropertyStringArray, upload, waitExists, waitUntilExistsadaptTo, addValue, close, doDelete, doGet, doGet, doGet, doHead, doPatch, doPost, doPost, doPut, doRawRequest, doRequest, doStreamGet, doStreamPost, doStreamRequest, execute, execute, execute, execute, execute, execute, execute, execute, getClientId, getConnectionManager, getCookieStore, getCredentialsProvider, getParams, getPassword, getPath, getPath, getUrl, getUrl, getUrl, getUser, getValue, getValues, hasValuepublic CQConfigManagerClient(org.apache.http.impl.client.CloseableHttpClient http,
org.apache.sling.testing.clients.SlingClientConfig config)
throws org.apache.sling.testing.clients.ClientException
org.apache.sling.testing.clients.ClientExceptionpublic CQConfigManagerClient.CQConfig create(String configTitle, CQConfigManagerClient.CQConfigCapability... capabilities) throws org.apache.sling.testing.clients.ClientException
configTitle - title of the config to be createdcapabilities - capabilities of the configs eg Editable Templatesorg.apache.sling.testing.clients.ClientException - if the request failspublic CQConfigManagerClient.CQConfig create(String parentPath, String configTitle, CQConfigManagerClient.CQConfigCapability... capabilities) throws org.apache.sling.testing.clients.ClientException
parentPath - path below which config should be createdconfigTitle - title of the config to be createdcapabilities - capabilities of the configs eg Editable Templatesorg.apache.sling.testing.clients.ClientException - if the request failspublic CQConfigManagerClient.CQConfig create(String parentPath, String configTitle, String configName, CQConfigManagerClient.CQConfigCapability... capabilities) throws org.apache.sling.testing.clients.ClientException
parentPath - path below which config should be createdconfigTitle - title of the config to be createdconfigName - node name for the configcapabilities - capabilities of the configs eg Editable Templatesorg.apache.sling.testing.clients.ClientException - if the request failsCopyright © 2021. All rights reserved.