public class Lookup extends Object implements Serializable
Constructor and Description |
---|
Lookup()
No-arg constructor.
|
public Response execute()
Response
from iTunesRuntimeException
- wrapping any IOException
thrown performing the
request or parsing the responseexecute(Connector)
public Response execute(Connector connector)
Connector
implementation.connector
- Connector
instance, not null
Response
from iTunesIllegalArgumentException
- if argument null
RuntimeException
- wrapping any IOException
thrown performing the
request or parsing the responseexecute()
public Lookup addId(String id)
id
- an iTunes item id, can be null
this
instance for method chainingpublic Lookup setIds(Collection<String> ids)
ids
- a Collection
of iTunes item ids, can be null
or emptythis
instance for method chainingpublic Lookup addAmgArtistId(String amgArtistId)
amgArtistId
- an All Music artist id, can be null
this
instance for method chainingpublic Lookup setAmgArtistIds(Collection<String> amgArtistIds)
amgArtistIds
- a Collection
of All Music artist ids, can be
null
or emptythis
instance for method chainingpublic Lookup addAmgAlbumId(String amgAlbumId)
amgAlbumId
- an All Music album id, can be null
this
instance for method chainingpublic Lookup setAmgAlbumId(Collection<String> amgAlbumIds)
amgAlbumIds
- a Collection
of All Music album ids, can be
null
or emptythis
instance for method chainingpublic Lookup addAmgVideoId(String amgVideoId)
amgVideoId
- an All Music video id, can be null
this
instance for method chainingpublic Lookup setAmgVideoIds(Collection<String> amgVideoIds)
amgVideoIds
- a Collection
of All Music video ids, can be
null
or emptythis
instance for method chainingpublic Lookup addUpc(String upc)
upc
- a UPC, can be null
this
instance for method chainingpublic Lookup setUpcs(Collection<String> upcs)
upcs
- a Collection
of UPCs, can be
null
or emptythis
instance for method chainingpublic Lookup addIsbn(String isbn)
isbn
- an ISBN, can be null
this
instance for method chainingpublic Lookup setIsbns(Collection<String> isbns)
isbns
- a Collection
of ISBNs, can be
null
or emptythis
instance for method chainingpublic Lookup setEntity(Entity entity)
entity
- an Entity
, or null
this
instance for method chainingpublic int getLimit()
public Lookup setLimit(int limit)
limit
- the maximum number of results to include in the responsethis
instance for method chainingpublic Lookup setSort(Sort sort)
sort
- a Sort
instance, or null
this
instance for method chainingCopyright © 2018. All rights reserved.