public static class MediaItemService.NotImplementedMediaItemService extends Object implements MediaItemService
MediaItemService.NotImplementedMediaItemService| Constructor and Description |
|---|
MediaItemService.NotImplementedMediaItemService() |
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
createMediaItem(UserId userId,
String appId,
String albumId,
MediaItem mediaItem,
SecurityToken token)
Create a MediaItem in the given album for the given user.
|
Future<Void> |
deleteMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
SecurityToken token)
Deletes a MediaItem by ID.
|
Future<MediaItem> |
getMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
Set<String> fields,
SecurityToken token)
Retrieves a MediaItem by ID.
|
Future<RestfulCollection<MediaItem>> |
getMediaItems(Set<UserId> userIds,
GroupId groupId,
String appId,
Set<String> fields,
CollectionOptions options,
SecurityToken token)
Retrieves MediaItems by users and groups.
|
Future<RestfulCollection<MediaItem>> |
getMediaItems(UserId userId,
String appId,
String albumId,
Set<String> fields,
CollectionOptions options,
SecurityToken token)
Retrieves MediaItems by Album.
|
Future<RestfulCollection<MediaItem>> |
getMediaItems(UserId userId,
String appId,
String albumId,
Set<String> mediaItemIds,
Set<String> fields,
CollectionOptions options,
SecurityToken token)
Retrieves MediaItems by IDs.
|
Future<Void> |
updateMediaItem(UserId userId,
String appId,
String albumId,
String mediaItemId,
MediaItem mediaItem,
SecurityToken token)
Updates a MediaItem for the given user.
|
public MediaItemService.NotImplementedMediaItemService()
public Future<MediaItem> getMediaItem(UserId userId, String appId, String albumId, String mediaItemId, Set<String> fields, SecurityToken token) throws ProtocolException
MediaItemServicegetMediaItem in interface MediaItemServiceuserId - Identifies the owner of the MediaItem to retrieveappId - Identifies the application of the MeiaItem to retrievealbumId - Identifies the album containing the MediaItemmediaItemId - Identifies the MediaItem to retrievefields - Indicates fields to be returned; empty set implies alltoken - A valid SecurityTokenProtocolExceptionpublic Future<RestfulCollection<MediaItem>> getMediaItems(UserId userId, String appId, String albumId, Set<String> mediaItemIds, Set<String> fields, CollectionOptions options, SecurityToken token) throws ProtocolException
MediaItemServicegetMediaItems in interface MediaItemServiceuserId - Identifies the owner of the MediaItemsappId - Identifies the application of the MediaItemsalbumId - Identifies the album containing the MediaItemsmediaItemIds - Identifies the MediaItems to retrievefields - Specifies the fields to return; empty set implies alloptions - Sorting/filtering/pagination optionstoken - A valid SecurityTokenProtocolExceptionpublic Future<RestfulCollection<MediaItem>> getMediaItems(UserId userId, String appId, String albumId, Set<String> fields, CollectionOptions options, SecurityToken token) throws ProtocolException
MediaItemServicegetMediaItems in interface MediaItemServiceuserId - Identifies the owner of the MediaItemsappId - Identifies the application of the MediaItemsalbumId - Identifies the Album containing the MediaItemsfields - Specifies the fields to return; empty set implies alloptions - Sorting/filtering/pagination optionstoken - A valid SecurityTokenProtocolExceptionpublic Future<RestfulCollection<MediaItem>> getMediaItems(Set<UserId> userIds, GroupId groupId, String appId, Set<String> fields, CollectionOptions options, SecurityToken token) throws ProtocolException
MediaItemServicegetMediaItems in interface MediaItemServiceuserIds - Identifies the users that this request is relative togroupId - Identifies the users' groups to retrieve MediaItems fromappId - Identifies the application to retrieve MediaItems fromfields - The fields to return; empty set implies alloptions - Sorting/filtering/pagination optionstoken - A valid SecurityTokenProtocolExceptionpublic Future<Void> deleteMediaItem(UserId userId, String appId, String albumId, String mediaItemId, SecurityToken token) throws ProtocolException
MediaItemServicedeleteMediaItem in interface MediaItemServiceuserId - Identifies the owner of the MediaItem to deleteappId - Identifies the application hosting the MediaItemalbumId - Identifies the parent album of the MediaItemmediaItemId - Identifies the MediaItem to deletetoken - A valid SecurityTokenProtocolExceptionpublic Future<Void> createMediaItem(UserId userId, String appId, String albumId, MediaItem mediaItem, SecurityToken token) throws ProtocolException
MediaItemServicecreateMediaItem in interface MediaItemServiceuserId - Identifies the owner of the MediaItem to createappId - Identifies the application hosting the MediaItemalbumId - Identifies the album to contain the MediaItemmediaItem - The MediaItem to createtoken - A valid SecurityTokenProtocolExceptionpublic Future<Void> updateMediaItem(UserId userId, String appId, String albumId, String mediaItemId, MediaItem mediaItem, SecurityToken token) throws ProtocolException
MediaItemServiceupdateMediaItem in interface MediaItemServiceuserId - Identifies the owner of the MediaItem to updateappId - Identifies the application hosting the MediaItemalbumId - Identifies the album containing the MediaItemmediaItemId - Identifies the MediaItem to updatemediaItem - The updated MediaItem to persisttoken - A valid SecurityTokenProtocolExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.