public final class FacebookPhotoStorage extends ContentStorage
| Modifier and Type | Class and Description |
|---|---|
static class |
FacebookPhotoStorage.FacebookEntry
Represents a single Facebook content entry.
|
ContentStorage.ContentStorageListener| Modifier and Type | Field and Description |
|---|---|
static CAContentCore.ServiceType |
SERVICE_TYPE
Service type declaration for this storage
|
| Constructor and Description |
|---|
FacebookPhotoStorage() |
FacebookPhotoStorage(boolean autoSchedule) |
| Modifier and Type | Method and Description |
|---|---|
java.util.EnumSet<AnalysisBackend.Capability> |
getBackendCapabilities() |
CAContentCore.ServiceType |
getServiceType() |
java.lang.String |
getTargetUrl(AccessDetails details) |
void |
removeMetadata(UserIdentity userId,
java.util.Collection<java.lang.String> guids)
Remove the synchronized content
|
boolean |
synchronizeAccount(UserIdentity userId)
Note: the synchronization is only one-way, from Facebook to front-end,
no information will be transmitted to the other direction.
|
getBackends, getBackends, getContentStorageListener, isAutoSchedule, setBackends, setBackends, setContentStorageListenerpublic static final CAContentCore.ServiceType SERVICE_TYPE
public FacebookPhotoStorage()
public FacebookPhotoStorage(boolean autoSchedule)
autoSchedule - public java.lang.String getTargetUrl(AccessDetails details)
getTargetUrl in class ContentStoragepublic java.util.EnumSet<AnalysisBackend.Capability> getBackendCapabilities()
getBackendCapabilities in class ContentStoragepublic void removeMetadata(UserIdentity userId, java.util.Collection<java.lang.String> guids)
ContentStorageremoveMetadata in class ContentStorageuserId - this user's metadata will be removed from the front-endguids - optional list of GUIDs, if null, everything is removedpublic boolean synchronizeAccount(UserIdentity userId)
synchronizeAccount in class ContentStorageuserId - public CAContentCore.ServiceType getServiceType()
getServiceType in class ContentStorageCopyright © 2015 Tampere University of Technology, Pori Department.