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

B

broadcastPush(Map<String, String>) - Method in interface com.stackmob.sdkapi.PushService
broadcast a push to all devices registered to the current application.
broadcastPush(int, String, String) - Method in interface com.stackmob.sdkapi.PushService
Deprecated. use PushService.broadcastPush(java.util.Map) instead. this method only broadcasts to iOS devices

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
The datastore service.
debug(String) - Method in interface com.stackmob.sdkapi.LoggerService
Log a message at the DEBUG level.
debug(String, Throwable) - Method in interface com.stackmob.sdkapi.LoggerService
Log a message at the DEBUG level.
deleteObject(String, String) - Method in interface com.stackmob.sdkapi.DatastoreService
Deletes an object in the datastore.

E

error(String) - Method in interface com.stackmob.sdkapi.LoggerService
Log a message at the ERROR level.
error(String, Throwable) - Method in interface com.stackmob.sdkapi.LoggerService
Log a message at the ERROR level.
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
The Facebook service.
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

getAllExpiredTokens(boolean) - Method in interface com.stackmob.sdkapi.PushService
get all of the tokens that are expired for this app
getAllTokensForUsers(List<String>) - Method in interface com.stackmob.sdkapi.PushService
get all of the tokens for each of the given users
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
Deprecated. use PushService.getAllExpiredTokens(boolean) instead. This method only gets/removes iOS expired tokens,
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.
getLoggerService(Class) - Method in interface com.stackmob.sdkapi.SDKServiceProvider
Get a LoggerService named corresponding to the given class.
getLoggerService(String) - Method in interface com.stackmob.sdkapi.SDKServiceProvider
Get a LoggerService named using the given name.
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. 
getSendableDevicesForPayload(Map<String, String>) - Method in interface com.stackmob.sdkapi.PushService
get the devices that can be sent to with the given payload.
getToken() - Method in class com.stackmob.sdkapi.PushService.TokenAndType
 
getTokensForUsers(List<String>) - Method in interface com.stackmob.sdkapi.PushService
Deprecated. use PushService.getAllTokensForUsers(java.util.List) instead. This method only gets iOS tokens.
getTwitterService() - Method in interface com.stackmob.sdkapi.SDKServiceProvider
Get the TwitterService required to communicate with Twitter for the current application.
getType() - Method in class com.stackmob.sdkapi.PushService.TokenAndType
 
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

info(String) - Method in interface com.stackmob.sdkapi.LoggerService
Log a message at the INFO level.
info(String, Throwable) - Method in interface com.stackmob.sdkapi.LoggerService
Log a message at the INFO level.
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.
LoggerService - Interface in com.stackmob.sdkapi
The logger service.

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
The push notification service.
PushService.TokenAndType - Class in com.stackmob.sdkapi
 
PushService.TokenAndType(String, PushService.TokenType) - Constructor for class com.stackmob.sdkapi.PushService.TokenAndType
 
PushService.TokenType - Enum in com.stackmob.sdkapi
 
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
Deprecated. use PushService.registerTokenForUser(String, TokenAndType) instead. This method only registers iOS tokens
registerTokenForUser(String, PushService.TokenAndType) - Method in interface com.stackmob.sdkapi.PushService
register a token for a given user
removeToken(PushService.TokenAndType) - Method in interface com.stackmob.sdkapi.PushService
remove a token from the list of registered tokens
removeToken(String) - Method in interface com.stackmob.sdkapi.PushService
Deprecated. use PushService.removeToken(TokenAndType) instead. This method can only remove iOS 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 various StackMob services.
sendPush(List<String>, int, String, String) - Method in interface com.stackmob.sdkapi.PushService
Deprecated. use PushService.sendPushToTokens(java.util.List, java.util.Map) instead. This method only pushes to iOS devices
sendPush(List<String>, int, String, String, boolean) - Method in interface com.stackmob.sdkapi.PushService
Deprecated. use PushService.sendPushToUsers(java.util.List, java.util.Map) instead. This only sends to iOS devices
sendPushToTokens(List<PushService.TokenAndType>, Map<String, String>) - Method in interface com.stackmob.sdkapi.PushService
Send a push notification to each device identified by the tokens provided.
sendPushToUsers(List<String>, Map<String, String>) - Method in interface com.stackmob.sdkapi.PushService
send a push notification to all of the devices registered to the given users.
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
 
trace(String) - Method in interface com.stackmob.sdkapi.LoggerService
Log a message at the TRACE level.
trace(String, Throwable) - Method in interface com.stackmob.sdkapi.LoggerService
Log a message at the TRACE level.
TwitterService - Interface in com.stackmob.sdkapi
The Twitter service.
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.
valueOf(String) - Static method in enum com.stackmob.sdkapi.PushService.TokenType
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.
values() - Static method in enum com.stackmob.sdkapi.PushService.TokenType
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.

W

warn(String) - Method in interface com.stackmob.sdkapi.LoggerService
Log a message at the WARN level.
warn(String, Throwable) - Method in interface com.stackmob.sdkapi.LoggerService
Log a message at the WARN level.

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

Copyright © 2011 StackMob. All Rights Reserved.