Package com.adobe.cq.dam.mac.sync.helper
Interface MACTenantConfiguration
-
public interface MACTenantConfiguration
Adobe Marketing Cloud cloud service configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JCR_PROP_AUD
static java.lang.String
JCR_PROP_CLIENT_ID
static java.lang.String
JCR_PROP_MAC_DAM_ROOT
static java.lang.String
JCR_PROP_PUB_FOLDER
static java.lang.String
JCR_PROP_SCOPES
static java.lang.String
JCR_PROP_SYNC_ENABLED
static java.lang.String
JCR_PROP_TENANT
static java.lang.String
JCR_PROP_TENANT_URL
static java.lang.String
MAC_CONFIG_ROOT
static java.lang.String
MP_CONFIG_ROOT
static java.lang.String
MP_RESOURCE_TYPE
static java.lang.String
RESOURCE_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDAMUser()
Returns the local aem user used for managing key pair.java.lang.String[]
getMACSyncPaths()
Returns the DAM Folder paths from the MAC instance that will be synchronised.java.lang.String
getOAuthAudience()
Returns the audience configured for oAuth.java.lang.String
getOAuthClientId()
Returns the client id configured for oAuth.java.lang.String
getOAuthScope()
Get Oauth Scopesjava.lang.String
getPath()
Returns the configuration's path from the repository.ValueMap
getProperties()
Returns the ValueMap propertiesResource
getResource()
Returns theResource
backing this configurationjava.lang.String
getTenant()
Returns the tenant's name, as used in the login URL.java.lang.String
getTenantURL()
Returns the tenant URL for the allocated instance.boolean
isFolderPulishPublic()
Returns Folder publish public flag.boolean
isSyncEnabled()
Returns the synchronisation's status.
-
-
-
Field Detail
-
JCR_PROP_MAC_DAM_ROOT
static final java.lang.String JCR_PROP_MAC_DAM_ROOT
- See Also:
- Constant Field Values
-
MAC_CONFIG_ROOT
static final java.lang.String MAC_CONFIG_ROOT
- See Also:
- Constant Field Values
-
RESOURCE_TYPE
static final java.lang.String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
MP_CONFIG_ROOT
static final java.lang.String MP_CONFIG_ROOT
- See Also:
- Constant Field Values
-
MP_RESOURCE_TYPE
static final java.lang.String MP_RESOURCE_TYPE
- See Also:
- Constant Field Values
-
JCR_PROP_TENANT
static final java.lang.String JCR_PROP_TENANT
- See Also:
- Constant Field Values
-
JCR_PROP_TENANT_URL
static final java.lang.String JCR_PROP_TENANT_URL
- See Also:
- Constant Field Values
-
JCR_PROP_AUD
static final java.lang.String JCR_PROP_AUD
- See Also:
- Constant Field Values
-
JCR_PROP_CLIENT_ID
static final java.lang.String JCR_PROP_CLIENT_ID
- See Also:
- Constant Field Values
-
JCR_PROP_SCOPES
static final java.lang.String JCR_PROP_SCOPES
- See Also:
- Constant Field Values
-
JCR_PROP_SYNC_ENABLED
static final java.lang.String JCR_PROP_SYNC_ENABLED
- See Also:
- Constant Field Values
-
JCR_PROP_PUB_FOLDER
static final java.lang.String JCR_PROP_PUB_FOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTenant
java.lang.String getTenant()
Returns the tenant's name, as used in the login URL.- Returns:
- a String with the tenant name
-
getTenantURL
java.lang.String getTenantURL()
Returns the tenant URL for the allocated instance.- Returns:
- a String with the URL
-
getDAMUser
java.lang.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
java.lang.String getOAuthClientId()
Returns the client id configured for oAuth.- Returns:
- a String containing the oauth client id
-
getOAuthAudience
java.lang.String getOAuthAudience()
Returns the audience configured for oAuth.- Returns:
- a String containing the oauth audience
-
getMACSyncPaths
java.lang.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
java.lang.String getPath()
Returns the configuration's path from the repository.- Returns:
- the configuration's path
-
getResource
Resource getResource()
Returns theResource
backing this configuration- Returns:
- the configuration's resource
-
isSyncEnabled
boolean isSyncEnabled()
Returns the synchronisation's status.- Returns:
true
if the synchronisation is enabled,false
otherwise
-
getProperties
ValueMap getProperties()
Returns the ValueMap properties- Returns:
-
getOAuthScope
java.lang.String getOAuthScope()
Get Oauth Scopes- Returns:
- scopes
-
isFolderPulishPublic
boolean isFolderPulishPublic()
Returns Folder publish public flag.- Returns:
true
if the folder to be published should be public(visible to all users in a tenant),false
otherwise
-
-