Interface DAMSyncService


  • public interface DAMSyncService
    Provides an interface to setup synchronization of DAM Folder.
    • Method Detail

      • registerDAMFolder

        void registerDAMFolder​(java.lang.String folderPath,
                               ResourceResolver resolver)
        Registers a new DAM folder from this instance to be synced with Adobe Marketing Cloud.
        Parameters:
        folderPath - the folder path
        resolver - Resource Resolver instance
      • publishResourcesToMP

        void publishResourcesToMP​(java.util.List<java.lang.String> resourcePaths,
                                  ResourceResolver resolver)
        Replicates resources from this instance to media portal instance
        Parameters:
        resourcePaths -
        resolver -
      • unpublishResourcesFromMP

        void unpublishResourcesFromMP​(java.util.List<java.lang.String> resourcePaths,
                                      ResourceResolver resolver)
        Unpublish resources from media portal instance
        Parameters:
        resourcePaths -
        resolver -
      • unregisterDAMFolder

        void unregisterDAMFolder​(java.lang.String folderPath,
                                 ResourceResolver resolver)
        Unregisters a DAM folder from this instance in order to cancel its synchronisation with Adobe Marketing Cloud.
        Parameters:
        folderPath - the folder path
        resolver - Resource Resolver instance
      • isMACSharedResource

        boolean isMACSharedResource​(java.lang.String resourcePath)
        Checks if resource is shared across system.
        Parameters:
        resourcePath - the resource at path to be checked
        Returns:
        true, if asset is shared