Package com.adobe.cq.dam.mac.sync.helper
Interface MACTenantConfiguration
public interface MACTenantConfiguration
Adobe Marketing Cloud cloud service configuration.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the local aem user used for managing key pair.String[]Returns the DAM Folder paths from the MAC instance that will be synchronised.Returns the audience configured for oAuth.Returns the client id configured for oAuth.Get Oauth ScopesgetPath()Returns the configuration's path from the repository.Returns the ValueMap propertiesReturns theResourcebacking this configurationReturns the tenant's name, as used in the login URL.Returns the tenant URL for the allocated instance.booleanReturns Folder publish public flag.booleanReturns the synchronisation's status.
-
Field Details
-
JCR_PROP_MAC_DAM_ROOT
- See Also:
-
MAC_CONFIG_ROOT
- See Also:
-
RESOURCE_TYPE
- See Also:
-
MP_CONFIG_ROOT
- See Also:
-
MP_RESOURCE_TYPE
- See Also:
-
JCR_PROP_TENANT
- See Also:
-
JCR_PROP_TENANT_URL
- See Also:
-
JCR_PROP_AUD
- See Also:
-
JCR_PROP_CLIENT_ID
- See Also:
-
JCR_PROP_SCOPES
- See Also:
-
JCR_PROP_SYNC_ENABLED
- See Also:
-
JCR_PROP_PUB_FOLDER
- See Also:
-
-
Method Details
-
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
-