public interface CollectionService
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<retrofit2.Response<Void>> |
addMediaToCollection(CollectionAddMediaQuery collectionAddMediaQuery)
Adds media assets to a collection.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
createCollection(CollectionCreateQuery collectionCreateQuery)
Creates a collection.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
deleteCollection(CollectionInfoQuery collectionInfoQuery)
Deletes a collection.
|
io.reactivex.Observable<retrofit2.Response<Collection>> |
getCollectionInfo(CollectionInfoQuery collectionInfoQuery)
Gets all the information for a specific collection.
|
io.reactivex.Observable<retrofit2.Response<List<String>>> |
getCollectionMediaIds(CollectionInfoQuery collectionInfoQuery)
Gets a list of the media assets ids of a collection.
|
io.reactivex.Observable<retrofit2.Response<List<Collection>>> |
getCollections(CollectionQuery collectionQuery)
Gets a list of collections using query information.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
removeMediaFromCollection(CollectionRemoveMediaQuery collectionRemoveMediaQuery)
Removes media assets from a collection.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
shareCollection(CollectionShareQuery collectionShareQuery)
Shares a collection.
|
io.reactivex.Observable<retrofit2.Response<List<Collection>>> getCollections(CollectionQuery collectionQuery) throws IllegalAccessException
collectionQuery - Information to correctly filter/paginate collections.Observable with list of Collection.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<Collection>> getCollectionInfo(CollectionInfoQuery collectionInfoQuery) throws IllegalAccessException
collectionInfoQuery - Information about the collection we want to get the information
from.Observable with Collection information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<Void>> createCollection(CollectionCreateQuery collectionCreateQuery) throws IllegalAccessException
collectionCreateQuery - Information about the collection we want to create.Observable with the request Response information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<Void>> deleteCollection(CollectionInfoQuery collectionInfoQuery) throws IllegalAccessException
collectionInfoQuery - Information to identify the collection we want to delete.Observable with the request Response information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<List<String>>> getCollectionMediaIds(CollectionInfoQuery collectionInfoQuery)
collectionInfoQuery - Information to identify the collection we want to retrieve media
from.Observable with list of media assets ids.io.reactivex.Observable<retrofit2.Response<Void>> addMediaToCollection(CollectionAddMediaQuery collectionAddMediaQuery) throws IllegalAccessException
collectionAddMediaQuery - Information needed to add media to a collection.Observable with the request Response information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<Void>> removeMediaFromCollection(CollectionRemoveMediaQuery collectionRemoveMediaQuery) throws IllegalAccessException
collectionRemoveMediaQuery - Information needed to remove media from a collection.Observable with the request Response information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<Void>> shareCollection(CollectionShareQuery collectionShareQuery) throws IllegalAccessException
collectionShareQuery - Information required for sharing a collection.Observable with the request Response information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.Copyright © 2018. All rights reserved.