public final class PicasaCloudStorage extends ContentStorage
Modifier and Type | Class and Description |
---|---|
static class |
PicasaCloudStorage.PicasaEntry
Represents a single picasa content entry
|
ContentStorage.ContentStorageListener
Modifier and Type | Field and Description |
---|---|
static CAContentCore.ServiceType |
SERVICE_TYPE
Service type declaration for this storage
|
Constructor and Description |
---|
PicasaCloudStorage() |
PicasaCloudStorage(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 Picasa to front-end,
no information will be transmitted to the other direction.
|
getBackends, getBackends, getContentStorageListener, isAutoSchedule, setBackends, setBackends, setContentStorageListener
public static final CAContentCore.ServiceType SERVICE_TYPE
public PicasaCloudStorage()
public PicasaCloudStorage(boolean autoSchedule)
autoSchedule
- public java.util.EnumSet<AnalysisBackend.Capability> getBackendCapabilities()
getBackendCapabilities
in class ContentStorage
public java.lang.String getTargetUrl(AccessDetails details)
getTargetUrl
in class ContentStorage
public void removeMetadata(UserIdentity userId, java.util.Collection<java.lang.String> guids)
ContentStorage
removeMetadata
in class ContentStorage
userId
- 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 ContentStorage
userId
- public CAContentCore.ServiceType getServiceType()
getServiceType
in class ContentStorage
Copyright © 2015 Tampere University of Technology, Pori Department.