public class DuraStoreChunkSyncEndpoint extends DuraStoreSyncEndpoint
Constructor and Description |
---|
DuraStoreChunkSyncEndpoint(ContentStore contentStore,
String username,
String spaceId,
boolean syncDeletes,
boolean jumpStart,
long maxFileSize) |
DuraStoreChunkSyncEndpoint(ContentStore contentStore,
String username,
String spaceId,
boolean syncDeletes,
long maxFileSize,
boolean syncUpdates,
boolean renameUpdates,
boolean jumpStart,
String updateSuffix,
String prefix) |
Modifier and Type | Method and Description |
---|---|
protected void |
addUpdateContent(String contentId,
MonitoredFile syncFile) |
void |
deleteContent(String spaceId,
String contentId)
Removes content from the endpoint.
|
protected Map<String,String> |
getContentProperties(String spaceId,
String contentId) |
Iterator<String> |
getFilesList()
Retrieves a listing of all files available at the endpoint.
|
addEndPointListener, createProps, doAddContent, getContentStore, getSpaceId, getUsername, removeEndPointListener, syncFile, syncFileAndReturnDetailedResult
public DuraStoreChunkSyncEndpoint(ContentStore contentStore, String username, String spaceId, boolean syncDeletes, boolean jumpStart, long maxFileSize)
public DuraStoreChunkSyncEndpoint(ContentStore contentStore, String username, String spaceId, boolean syncDeletes, long maxFileSize, boolean syncUpdates, boolean renameUpdates, boolean jumpStart, String updateSuffix, String prefix)
protected Map<String,String> getContentProperties(String spaceId, String contentId)
getContentProperties
in class DuraStoreSyncEndpoint
public void deleteContent(String spaceId, String contentId) throws ContentStoreException
SyncEndpoint
deleteContent
in interface SyncEndpoint
deleteContent
in class DuraStoreSyncEndpoint
ContentStoreException
protected void addUpdateContent(String contentId, MonitoredFile syncFile)
addUpdateContent
in class DuraStoreSyncEndpoint
public Iterator<String> getFilesList()
SyncEndpoint
getFilesList
in interface SyncEndpoint
getFilesList
in class DuraStoreSyncEndpoint
Copyright © 2009–2014 DuraSpace. All rights reserved.