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 java.lang.StringJCR_PROP_AUDstatic java.lang.StringJCR_PROP_CLIENT_IDstatic java.lang.StringJCR_PROP_MAC_DAM_ROOTstatic java.lang.StringJCR_PROP_PUB_FOLDERstatic java.lang.StringJCR_PROP_SCOPESstatic java.lang.StringJCR_PROP_SYNC_ENABLEDstatic java.lang.StringJCR_PROP_TENANTstatic java.lang.StringJCR_PROP_TENANT_URLstatic java.lang.StringMAC_CONFIG_ROOTstatic java.lang.StringMP_CONFIG_ROOTstatic java.lang.StringMP_RESOURCE_TYPEstatic java.lang.StringRESOURCE_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDAMUser()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.StringgetOAuthAudience()Returns the audience configured for oAuth.java.lang.StringgetOAuthClientId()Returns the client id configured for oAuth.java.lang.StringgetOAuthScope()Get Oauth Scopesjava.lang.StringgetPath()Returns the configuration's path from the repository.ValueMapgetProperties()Returns the ValueMap propertiesResourcegetResource()Returns theResourcebacking this configurationjava.lang.StringgetTenant()Returns the tenant's name, as used in the login URL.java.lang.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 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 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
java.lang.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
-
-