|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.gadgets.client.osapi.OsapiRequestBuilder<T>
T - Specific request builder implementation.public abstract class OsapiRequestBuilder<T extends OsapiRequestBuilder<?>>
A superclass for all request builders.
| Constructor Summary | |
|---|---|
protected |
OsapiRequestBuilder()
Required by JavaScriptObject policy. |
| Method Summary | |
|---|---|
protected T |
nativeSet(java.lang.String key,
com.google.gwt.core.client.JsArrayString value)
Helper method for setting key-value pair on the underlying JavaScript object. |
protected T |
nativeSet(java.lang.String key,
java.lang.String value)
Helper method for setting key-value pair on the underlying JavaScript object. |
T |
setGroupId(java.lang.String groupId)
Sets the groupId parameter on the request. |
T |
setUpdatedSince(java.util.Date date)
When specified the container should only return items whose updated date and time is equal to or more recent then the specified value. |
T |
setUserId(java.lang.String userId)
Sets the userId parameter on the request. |
| 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 |
|---|
protected OsapiRequestBuilder()
JavaScriptObject policy.
| Method Detail |
|---|
public final T setGroupId(java.lang.String groupId)
groupId parameter on the request. This parameter
specifies context for the built request.
groupId - group id to set.
public final T setUpdatedSince(java.util.Date date)
public final T setUserId(java.lang.String userId)
userId parameter on the request. This parameter
specifies context for the built request.
userId - user id to set.
protected final T nativeSet(java.lang.String key,
com.google.gwt.core.client.JsArrayString value)
protected final T nativeSet(java.lang.String key,
java.lang.String value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||