public static class AlbumService.NotImplementedAlbumService extends Object implements AlbumService
AlbumService.NotImplementedAlbumService| Constructor and Description |
|---|
AlbumService.NotImplementedAlbumService() |
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
createAlbum(UserId userId,
String appId,
Album album,
SecurityToken token)
Creates an album for the given user.
|
Future<Void> |
deleteAlbum(UserId userId,
String appId,
String albumId,
SecurityToken token)
Deletes a single album for the given user with the given album ID.
|
Future<Album> |
getAlbum(UserId userId,
String appId,
Set<String> fields,
String albumId,
SecurityToken token)
Retrieves a single album for the given user with the given album ID.
|
Future<RestfulCollection<Album>> |
getAlbums(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
SecurityToken token)
Retrieves albums for the given user and group.
|
Future<RestfulCollection<Album>> |
getAlbums(UserId userId,
String appId,
Set<String> fields,
CollectionOptions options,
Set<String> albumIds,
SecurityToken token)
Retrieves albums for the given user with the given album IDs.
|
Future<Void> |
updateAlbum(UserId userId,
String appId,
Album album,
String albumId,
SecurityToken token)
Updates an album for the given user.
|
public AlbumService.NotImplementedAlbumService()
public Future<Album> getAlbum(UserId userId, String appId, Set<String> fields, String albumId, SecurityToken token) throws ProtocolException
AlbumServicegetAlbum in interface AlbumServiceuserId - Identifies the person to retrieve the album fromappId - Identifies the application to retrieve the album fromfields - Indicates the fields to return. Empty set implies allalbumId - Identifies the album to retrievetoken - A valid SecurityTokenProtocolExceptionpublic Future<RestfulCollection<Album>> getAlbums(UserId userId, String appId, Set<String> fields, CollectionOptions options, Set<String> albumIds, SecurityToken token) throws ProtocolException
AlbumServicegetAlbums in interface AlbumServiceuserId - Identifies the person to retrieve albums forappId - Identifies the application to retrieve albums fromfields - The fields to return; empty set implies alloptions - The sorting/filtering/pagination optionsalbumIds - The set of album ids to fetchtoken - A valid SecurityTokenProtocolExceptionpublic Future<RestfulCollection<Album>> getAlbums(Set<UserId> userIds, GroupId groupId, String appId, Set<String> fields, CollectionOptions options, SecurityToken token) throws ProtocolException
AlbumServicegetAlbums in interface AlbumServiceuserIds - Identifies the users to retrieve albums fromgroupId - Identifies the group to retrieve albums fromappId - Identifies the application to retrieve albums fromfields - The fields to return. Empty set implies alloptions - The sorting/filtering/pagination optionstoken - A valid SecurityTokenProtocolExceptionpublic Future<Void> deleteAlbum(UserId userId, String appId, String albumId, SecurityToken token) throws ProtocolException
AlbumServicedeleteAlbum in interface AlbumServiceuserId - Identifies the user to delete the album fromappId - Identifies the application to delete the album fromalbumId - Identifies the album to deletetoken - A valid SecurityTokenProtocolExceptionpublic Future<Void> createAlbum(UserId userId, String appId, Album album, SecurityToken token) throws ProtocolException
AlbumServicecreateAlbum in interface AlbumServiceuserId - Identifies the user to create the album forappId - Identifies the application to create the album inalbum - The album to createtoken - A valid SecurityTokenProtocolExceptionpublic Future<Void> updateAlbum(UserId userId, String appId, Album album, String albumId, SecurityToken token) throws ProtocolException
AlbumServiceupdateAlbum in interface AlbumServiceuserId - Identifies the user to update the album forappId - Identifies the application to update the album inalbum - Defines the updated albumalbumId - Identifies the ID of the album to updatetoken - A valid SecurityTokenProtocolExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.