com.adobe.repository.bindings.dsc.client
Class ResourceSynchronizerClient
java.lang.Object
com.adobe.repository.bindings.dsc.client.ResourceSynchronizerClient
public class ResourceSynchronizerClient
- extends java.lang.Object
This class is used to retrieve information helpful to synchronizing local copies of resources
with those in the Repository.
- See Also:
DeltaList
,
DeltaInfo
Method Summary |
DeltaList |
getDeltaList(java.lang.Long lastDeltaTime,
java.lang.Boolean includeFoldering,
java.util.List resourcesOfInterest,
java.util.List foldersOfInterest)
Retrieves synchronization information on folders containing resources of interest. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceSynchronizerClient
public ResourceSynchronizerClient(ServiceClientFactory factory)
- Repository Service Client constructor.
- Parameters:
factory
- - A com.adobe.idp.dsc.clientsdk.ServiceClientFactory instance that sets up the properties for the Repository service.
getDeltaList
public DeltaList getDeltaList(java.lang.Long lastDeltaTime,
java.lang.Boolean includeFoldering,
java.util.List resourcesOfInterest,
java.util.List foldersOfInterest)
throws RepositoryException
- Retrieves synchronization information on folders containing resources of interest.
- Parameters:
lastDeltaTime
- The starting time for checking for changes in resources indicated
by resourcesOfInterest
and foldersOfInterest
.
It is in seconds since January 1, 1970, 00:00:00 GMT.includeFoldering
- true
if a list of all the current folders should be returned, false
otherwise.resourcesOfInterest
- A list of resources that should be examined for changes between lastDeltaTime
and the present.foldersOfInterest
- A list of folders whose contained resources should be examined for changes between lastDeltaTime
and the present.
- Throws:
RepositoryException