B C D E F G I J L M P R S T U V

B

broadcastPush(int, String, String) - Method in interface com.stackmob.sdkapi.PushService
Broadcast a push notification to all devices running this app.

C

com.stackmob.core - package com.stackmob.core
 
com.stackmob.core.customcode - package com.stackmob.core.customcode
 
com.stackmob.core.jar - package com.stackmob.core.jar
 
com.stackmob.core.rest - package com.stackmob.core.rest
 
com.stackmob.sdkapi - package com.stackmob.sdkapi
 
createObject(String, Map<String, Object>) - Method in interface com.stackmob.sdkapi.DatastoreService
Creates a new object in the datastore.
createUserWithFacebookId(String, String, String) - Method in interface com.stackmob.sdkapi.FacebookService
Creates a new user object, using the given facebook token for authentication.
createUserWithTwitter(String, String, String, String) - Method in interface com.stackmob.sdkapi.TwitterService
Creates a user with the given StackMob username and Twitter token and token secret.
CustomCodeMethod - Interface in com.stackmob.core.customcode
Defines an interface for a custom method within custom code.

D

DatastoreException - Exception in com.stackmob.core
Thrown when an error has occurred with the datastore.
DatastoreException(String) - Constructor for exception com.stackmob.core.DatastoreException
Constructs a new datastore exception with the specified detail message.
DatastoreException(String, Throwable) - Constructor for exception com.stackmob.core.DatastoreException
Constructs a new datastore exception with the specified detail message and cause.
DatastoreException(Throwable) - Constructor for exception com.stackmob.core.DatastoreException
Constructs a new datastore exception with the specified cause.
DatastoreService - Interface in com.stackmob.sdkapi
Provides access to the datastore for the active application.
deleteObject(String, String) - Method in interface com.stackmob.sdkapi.DatastoreService
Deletes an object in the datastore.

E

execute(ProcessedAPIRequest, SDKServiceProvider) - Method in interface com.stackmob.core.customcode.CustomCodeMethod
Generates a response for the given API request.

F

FacebookService - Interface in com.stackmob.sdkapi
Provides an object that can be used to communicate with Facebook.
FacebookServiceException - Exception in com.stackmob.core
Thrown when the Facebook service encounters an error.
FacebookServiceException(String) - Constructor for exception com.stackmob.core.FacebookServiceException
Constructs a new Facebook service exception with the specified detail message.
FacebookServiceException(String, Throwable) - Constructor for exception com.stackmob.core.FacebookServiceException
Constructs a new datastore exception with the specified detail message and cause.
FacebookServiceException(Throwable) - Constructor for exception com.stackmob.core.FacebookServiceException
Constructs a new Facebook service exception with the specified cause.
findAndVerifyUser(String, String, String) - Method in interface com.stackmob.sdkapi.TwitterService
Finds a StackMob user with the given Twitter token and token secret and then verifies the user's credentials are valid.
findAndVerifyUser(String, String) - Method in interface com.stackmob.sdkapi.TwitterService
Finds a StackMob user with the given Twitter user ID and then verifies the user's credentials are valid.
findUser(String, String) - Method in interface com.stackmob.sdkapi.FacebookService
Find the username assigned to the Facebook user ID contained in the given access token.
findUsername(String, String) - Method in interface com.stackmob.sdkapi.TwitterService
Finds a StackMob username given the associated Twitter user ID.

G

getApiVersion() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
Returns the API version number.
getAppName() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
Returns the application name.
getAppUrlSafeName() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
Deprecated. 
getCounter() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
Returns the request count.
getDatastoreService() - Method in interface com.stackmob.sdkapi.SDKServiceProvider
Get the DatastoreService required to access the datastore for the current application.
getExpiredTokens(boolean) - Method in interface com.stackmob.sdkapi.PushService
Get the tokens, which have been reported as expired by Apple's feedback service
getFacebookService() - Method in interface com.stackmob.sdkapi.SDKServiceProvider
Get the FacebookService required to communicate with Facebook for the current application.
getLoggedInUser() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
Returns the logged in user.
getMethodName() - Method in interface com.stackmob.core.customcode.CustomCodeMethod
Gets the name of the custom method.
getMethodName() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
Returns the method name.
getObjectModelNames() - Method in interface com.stackmob.sdkapi.DatastoreService
Retrieves a list of the object models declared for the current application.
getParams() - Method in interface com.stackmob.core.customcode.CustomCodeMethod
Gets the list of query parameters for this custom method.
getParams() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
The query parameters.
getPushService() - Method in interface com.stackmob.sdkapi.SDKServiceProvider
Get the PushService required to send push notifications for the current application.
getResponseCode() - Method in class com.stackmob.core.rest.ResponseToProcess
Returns the HTTP response code.
getResponseMap() - Method in class com.stackmob.core.rest.ResponseToProcess
Returns the response map.
getResponseStatus() - Method in class com.stackmob.core.rest.ResponseToProcess
Deprecated. 
getTokensForUsers(List<String>) - Method in interface com.stackmob.sdkapi.PushService
Finds the device push tokens for the given user list.
getTwitterService() - Method in interface com.stackmob.sdkapi.SDKServiceProvider
Get the TwitterService required to communicate with Twitter for the current application.
getUrl() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
Returns the URL representing the request.
getVerb() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
Returns the the HTTP verb.
getVersion() - Method in interface com.stackmob.sdkapi.SDKServiceProvider
StackMob internally assigns a globally unique version string to every custom code JAR.

I

InvalidSchemaException - Exception in com.stackmob.core
Thrown when an object fails to properly conform to the expected datastore schema.
InvalidSchemaException(String) - Constructor for exception com.stackmob.core.InvalidSchemaException
Constructs a new invalid schema exception with the specified detail message.
InvalidSchemaException(String, Throwable) - Constructor for exception com.stackmob.core.InvalidSchemaException
Constructs a new invalid schema exception with the specified detail message and cause.
InvalidSchemaException(Throwable) - Constructor for exception com.stackmob.core.InvalidSchemaException
Constructs a new invalid schema exception with the specified cause.
isSandbox() - Method in interface com.stackmob.sdkapi.SDKServiceProvider
Determine whether this custom code instance is currently running in sandbox.

J

JarEntryObject - Class in com.stackmob.core.jar
One class in the JAR must implement this interface, and that same class should be marked as the entry point in the manifest for the custom code JAR file.
JarEntryObject() - Constructor for class com.stackmob.core.jar.JarEntryObject
 

L

linkFacebookIdToUser(String, String, String) - Method in interface com.stackmob.sdkapi.FacebookService
Assigns the Facebook user ID contained in the access token to the user with the given username.
linkUserWithTwitter(String, String, String, String) - Method in interface com.stackmob.sdkapi.TwitterService
Links an existing user with the Twitter user identified by the given token and token secret.

M

methods() - Method in class com.stackmob.core.jar.JarEntryObject
Get all custom code methods the API may use for responding to API requests.
MethodVerb - Enum in com.stackmob.core
Represents the HTTP verbs which can be specified by a ProcessedAPIRequest.

P

ProcessedAPIRequest - Class in com.stackmob.core.rest
Represents an API request.
ProcessedAPIRequest(MethodVerb, String, String, Map<String, String>, String, int, String, long) - Constructor for class com.stackmob.core.rest.ProcessedAPIRequest
Create a new processed API request.
publishMessage(String, String, String) - Method in interface com.stackmob.sdkapi.FacebookService
Post a message to a user's Facebook wall.
PushService - Interface in com.stackmob.sdkapi
Provides access to the StackMob push notification service, allowing the creation of push notifications directly from a custom code method.
PushServiceException - Exception in com.stackmob.core
Thrown when an error is encountered while queueing a push notification.
PushServiceException(String) - Constructor for exception com.stackmob.core.PushServiceException
Constructs a new push service exception with the specified detail message.
PushServiceException(String, Throwable) - Constructor for exception com.stackmob.core.PushServiceException
Constructs a new push service exception with the specified detail message and cause.
PushServiceException(Throwable) - Constructor for exception com.stackmob.core.PushServiceException
Constructs a new push service exception with the specified cause.

R

readObjects(String, Map<String, List<String>>) - Method in interface com.stackmob.sdkapi.DatastoreService
Reads a list of objects matching the given query fields from the datastore.
registerToken(String, String) - Method in interface com.stackmob.sdkapi.PushService
Assign a push token to the specified user.
removeToken(String) - Method in interface com.stackmob.sdkapi.PushService
Removes the token from the list of registered tokens.
ResponseToProcess - Class in com.stackmob.core.rest
Represents the response to an API request.
ResponseToProcess(HttpResponseStatus, Map<String, ?>) - Constructor for class com.stackmob.core.rest.ResponseToProcess
Deprecated. 
ResponseToProcess(HttpResponseStatus) - Constructor for class com.stackmob.core.rest.ResponseToProcess
Deprecated. 
ResponseToProcess(int, Map<String, ?>) - Constructor for class com.stackmob.core.rest.ResponseToProcess
Creates a new API response to process.
ResponseToProcess(int) - Constructor for class com.stackmob.core.rest.ResponseToProcess
Creates a new API response to process.

S

SDKServiceProvider - Interface in com.stackmob.sdkapi
Provides access to the object datastore, as well as to various services provided by StackMob.
sendPush(List<String>, int, String, String) - Method in interface com.stackmob.sdkapi.PushService
Send a push notification to all devices identified by the tokens provided.
sendPush(List<String>, int, String, String, boolean) - Method in interface com.stackmob.sdkapi.PushService
Send a push notification to all devices identified by the recipients list.
ServiceNotActivatedException - Exception in com.stackmob.core
Thrown whenever a service has not been activated on the StackMob platform prior to trying to access it from custom code.
ServiceNotActivatedException(String) - Constructor for exception com.stackmob.core.ServiceNotActivatedException
Constructs a new service not activated exception with the specified detail message.
ServiceNotActivatedException(String, Throwable) - Constructor for exception com.stackmob.core.ServiceNotActivatedException
Constructs a new service not activated exception with the specified detail message and cause.
ServiceNotActivatedException(Throwable) - Constructor for exception com.stackmob.core.ServiceNotActivatedException
Constructs a new service not activated exception with the specified cause.

T

toString() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
 
TwitterService - Interface in com.stackmob.sdkapi
Provides access to an object that can be used to communicate with Twitter.
TwitterServiceException - Exception in com.stackmob.core
Thrown when an error in the Twitter service has occurred.
TwitterServiceException(String) - Constructor for exception com.stackmob.core.TwitterServiceException
Constructs a new Twitter service exception with the specified detail message.
TwitterServiceException(String, Throwable) - Constructor for exception com.stackmob.core.TwitterServiceException
Constructs a new Twitter service exception with the specified detail message and cause.
TwitterServiceException(Throwable) - Constructor for exception com.stackmob.core.TwitterServiceException
Constructs a new Twitter service exception with the specified cause.

U

updateObject(String, String, Map<String, Object>) - Method in interface com.stackmob.sdkapi.DatastoreService
Updates an object in the datastore.
updateStatus(String, String, String) - Method in interface com.stackmob.sdkapi.TwitterService
Updates a user's Twitter status with the given message.

V

valueOf(String) - Static method in enum com.stackmob.core.MethodVerb
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.stackmob.core.MethodVerb
Returns an array containing the constants of this enum type, in the order they are declared.
verifyCredentials(String, String) - Method in interface com.stackmob.sdkapi.TwitterService
Verifies a user's Twitter credentials.

B C D E F G I J L M P R S T U V

Copyright © 2011 StackMob. All Rights Reserved.