com.google.gwt.gadgets.client.osapi.albums
Class GetAlbumsRequestBuilder

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.gadgets.client.osapi.OsapiRequestBuilder<T>
          extended by com.google.gwt.gadgets.client.osapi.CollectionRequestBuilder<GetAlbumsRequestBuilder>
              extended by com.google.gwt.gadgets.client.osapi.albums.GetAlbumsRequestBuilder

public class GetAlbumsRequestBuilder
extends CollectionRequestBuilder<GetAlbumsRequestBuilder>

Builder for requests returning OsapiCollection of Album.


Constructor Summary
protected GetAlbumsRequestBuilder()
          Required by JavaScriptObject policy.
 
Method Summary
 OsapiRequest<OsapiCollection<Album>> build()
          Builds the request.
 GetAlbumsRequestBuilder setIds(java.lang.String... ids)
          Sets a list of IDs specifying the Albums to retrieve.
 
Methods inherited from class com.google.gwt.gadgets.client.osapi.CollectionRequestBuilder
setContainsFilter, setCount, setEqualsFilter, setPresentFilter, setSorting, setStartIndex, setStartsWithFilter
 
Methods inherited from class com.google.gwt.gadgets.client.osapi.OsapiRequestBuilder
nativeSet, nativeSet, setGroupId, setUpdatedSince, setUserId
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetAlbumsRequestBuilder

protected GetAlbumsRequestBuilder()
Required by JavaScriptObject policy.

Method Detail

build

public final OsapiRequest<OsapiCollection<Album>> build()
Builds the request.

Returns:
OsapiRequest instance.

setIds

public final GetAlbumsRequestBuilder setIds(java.lang.String... ids)
Sets a list of IDs specifying the Albums to retrieve.

Parameters:
ids - A list of IDs.