@ProviderType
public interface MacSyncHelper
Modifier and Type | Method and Description |
---|---|
boolean |
canSync(ResourceResolver resourceResolver,
java.lang.String path)
Returns whether the current user can sync a folder with MAC
|
java.util.Map<java.lang.String,java.lang.String> |
getCCUsers(Resource currentResource)
Get List of CC Users
|
void |
updateReplicationAgentProviderPid(SyncAgent macSyncAgent,
ResourceResolver rr,
com.adobe.cq.dam.mac.sync.helper.impl.MACTenantConfiguration macConfiguration,
java.lang.String pid)
Each replication agent which uses OAuth server to server authentication should be bound to a specific
access token provider (GRANITE-9611).
|
java.util.Map<java.lang.String,java.lang.String> getCCUsers(Resource currentResource)
currentResource
- current resourceboolean canSync(ResourceResolver resourceResolver, java.lang.String path)
resourceResolver
- user resource resolverpath
- the path of resourcevoid updateReplicationAgentProviderPid(SyncAgent macSyncAgent, ResourceResolver rr, com.adobe.cq.dam.mac.sync.helper.impl.MACTenantConfiguration macConfiguration, java.lang.String pid)
macSyncAgent
- rr
- Resource resolvermacConfiguration
- mac configurationpid
- The pid of the access token providerCopyright © 2010 - 2020 Adobe. All Rights Reserved