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, syncFileAndReturnDetailedResultpublic 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 DuraStoreSyncEndpointpublic void deleteContent(String spaceId, String contentId) throws ContentStoreException
SyncEndpointdeleteContent in interface SyncEndpointdeleteContent in class DuraStoreSyncEndpointContentStoreExceptionprotected void addUpdateContent(String contentId, MonitoredFile syncFile)
addUpdateContent in class DuraStoreSyncEndpointpublic Iterator<String> getFilesList()
SyncEndpointgetFilesList in interface SyncEndpointgetFilesList in class DuraStoreSyncEndpointCopyright © 2009–2014 DuraSpace. All rights reserved.