Package com.adobe.cq.dam.mac.sync.helper
Interface MACTenantConfiguration
-
public interface MACTenantConfigurationAdobe Marketing Cloud cloud service configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJCR_PROP_AUDstatic StringJCR_PROP_CLIENT_IDstatic StringJCR_PROP_MAC_DAM_ROOTstatic StringJCR_PROP_PUB_FOLDERstatic StringJCR_PROP_SCOPESstatic StringJCR_PROP_SYNC_ENABLEDstatic StringJCR_PROP_TENANTstatic StringJCR_PROP_TENANT_URLstatic StringMAC_CONFIG_ROOTstatic StringMP_CONFIG_ROOTstatic StringMP_RESOURCE_TYPEstatic StringRESOURCE_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDAMUser()Returns the local aem user used for managing key pair.String[]getMACSyncPaths()Returns the DAM Folder paths from the MAC instance that will be synchronised.StringgetOAuthAudience()Returns the audience configured for oAuth.StringgetOAuthClientId()Returns the client id configured for oAuth.StringgetOAuthScope()Get Oauth ScopesStringgetPath()Returns the configuration's path from the repository.ValueMapgetProperties()Returns the ValueMap propertiesResourcegetResource()Returns theResourcebacking this configurationStringgetTenant()Returns the tenant's name, as used in the login URL.StringgetTenantURL()Returns the tenant URL for the allocated instance.booleanisFolderPulishPublic()Returns Folder publish public flag.booleanisSyncEnabled()Returns the synchronisation's status.
-
-
-
Field Detail
-
JCR_PROP_MAC_DAM_ROOT
static final String JCR_PROP_MAC_DAM_ROOT
- See Also:
- Constant Field Values
-
MAC_CONFIG_ROOT
static final String MAC_CONFIG_ROOT
- See Also:
- Constant Field Values
-
RESOURCE_TYPE
static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
MP_CONFIG_ROOT
static final String MP_CONFIG_ROOT
- See Also:
- Constant Field Values
-
MP_RESOURCE_TYPE
static final String MP_RESOURCE_TYPE
- See Also:
- Constant Field Values
-
JCR_PROP_TENANT
static final String JCR_PROP_TENANT
- See Also:
- Constant Field Values
-
JCR_PROP_TENANT_URL
static final String JCR_PROP_TENANT_URL
- See Also:
- Constant Field Values
-
JCR_PROP_AUD
static final String JCR_PROP_AUD
- See Also:
- Constant Field Values
-
JCR_PROP_CLIENT_ID
static final String JCR_PROP_CLIENT_ID
- See Also:
- Constant Field Values
-
JCR_PROP_SCOPES
static final String JCR_PROP_SCOPES
- See Also:
- Constant Field Values
-
JCR_PROP_SYNC_ENABLED
static final String JCR_PROP_SYNC_ENABLED
- See Also:
- Constant Field Values
-
JCR_PROP_PUB_FOLDER
static final String JCR_PROP_PUB_FOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTenant
String getTenant()
Returns the tenant's name, as used in the login URL.- Returns:
- a String with the tenant name
-
getTenantURL
String getTenantURL()
Returns the tenant URL for the allocated instance.- Returns:
- a String with the URL
-
getDAMUser
String getDAMUser()
Returns the local aem user used for managing key pair. This user will be used in agent config for the agent, so should have replication permission. It is created automatically if does not exist already.- Returns:
- a String containing the CQ user ID
-
getOAuthClientId
String getOAuthClientId()
Returns the client id configured for oAuth.- Returns:
- a String containing the oauth client id
-
getOAuthAudience
String getOAuthAudience()
Returns the audience configured for oAuth.- Returns:
- a String containing the oauth audience
-
getMACSyncPaths
String[] getMACSyncPaths()
Returns the DAM Folder paths from the MAC instance that will be synchronised.- Returns:
- a String[] containing the folder paths that needs to be synced from MAC
-
getPath
String getPath()
Returns the configuration's path from the repository.- Returns:
- the configuration's path
-
getResource
Resource getResource()
Returns theResourcebacking this configuration- Returns:
- the configuration's resource
-
isSyncEnabled
boolean isSyncEnabled()
Returns the synchronisation's status.- Returns:
trueif the synchronisation is enabled,falseotherwise
-
getProperties
ValueMap getProperties()
Returns the ValueMap properties- Returns:
-
getOAuthScope
String getOAuthScope()
Get Oauth Scopes- Returns:
- scopes
-
isFolderPulishPublic
boolean isFolderPulishPublic()
Returns Folder publish public flag.- Returns:
trueif the folder to be published should be public(visible to all users in a tenant),falseotherwise
-
-