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

A

asA(Class<U>) - Method in class com.stackmob.sdkapi.SMValue
 

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

CannotCastSMValueException - Exception in com.stackmob.core
 
CannotCastSMValueException(String, String) - Constructor for exception com.stackmob.core.CannotCastSMValueException
 
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, SMObject) - Method in interface com.stackmob.sdkapi.DataService
Creates a new object in the datastore.
createObject(String, Map<String, Object>) - Method in interface com.stackmob.sdkapi.DatastoreService
Deprecated. 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

DataService - Interface in com.stackmob.sdkapi
DataService allows you to interact with your data on StackMob
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
Deprecated. 
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.DataService
Deletes an object in the datastore.
deleteObject(String, String) - Method in interface com.stackmob.sdkapi.DatastoreService
Deprecated. Deletes an object in the datastore.

E

equals(Object) - Method in class com.stackmob.sdkapi.SMValue
 
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.
getDataService() - Method in interface com.stackmob.sdkapi.SDKServiceProvider
Get the DataService required to access the datastore for the current application.
getDatastoreService() - Method in interface com.stackmob.sdkapi.SDKServiceProvider
Deprecated. 
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.
getField() - Method in class com.stackmob.sdkapi.SMEquals
 
getField() - Method in class com.stackmob.sdkapi.SMIn
 
getField() - Method in class com.stackmob.sdkapi.SMSet
Gets the field on which to execute this action.
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.DataService
Retrieves a list of the object models declared for the current application.
getObjectModelNames() - Method in interface com.stackmob.sdkapi.DatastoreService
Deprecated. 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.
getValue() - Method in class com.stackmob.sdkapi.SMEquals
 
getValue() - Method in class com.stackmob.sdkapi.SMSet
Gets the new value for the specified field
getValue() - Method in class com.stackmob.sdkapi.SMValue
Get the stored value
getValues() - Method in class com.stackmob.sdkapi.SMIn
 
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.

H

hashCode() - Method in class com.stackmob.sdkapi.SMValue
 

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 a create or update 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.
isA(Class<U>) - Method in class com.stackmob.sdkapi.SMValue
 
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, List<SMCondition>) - Method in interface com.stackmob.sdkapi.DataService
Reads a list of objects matching the given query fields from the datastore.
readObjects(String, List<SMCondition>, List<String>) - Method in interface com.stackmob.sdkapi.DataService
Reads a list of objects matching the given query fields from the datastore, returning only the specified fields
readObjects(String, Map<String, List<String>>) - Method in interface com.stackmob.sdkapi.DatastoreService
Deprecated. 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.
SMBoolean - Class in com.stackmob.sdkapi
A Boolean value
SMBoolean(Boolean) - Constructor for class com.stackmob.sdkapi.SMBoolean
Create a new SMBoolean
SMCollection<T> - Class in com.stackmob.sdkapi
 
SMCollection(T) - Constructor for class com.stackmob.sdkapi.SMCollection
 
SMCondition - Class in com.stackmob.sdkapi
A condition in a query on the StackMob datastore
SMCondition() - Constructor for class com.stackmob.sdkapi.SMCondition
 
SMDouble - Class in com.stackmob.sdkapi
A Double value
SMDouble(Double) - Constructor for class com.stackmob.sdkapi.SMDouble
Create a new SMDouble
SMEquals - Class in com.stackmob.sdkapi
 
SMEquals(String, SMValue) - Constructor for class com.stackmob.sdkapi.SMEquals
 
SMIn - Class in com.stackmob.sdkapi
 
SMIn(String, List<SMValue>) - Constructor for class com.stackmob.sdkapi.SMIn
 
SMInt - Class in com.stackmob.sdkapi
An Integer (Long) value
SMInt(Long) - Constructor for class com.stackmob.sdkapi.SMInt
 
SMList<T extends SMValue> - Class in com.stackmob.sdkapi
A List of values
SMList(List<T>) - Constructor for class com.stackmob.sdkapi.SMList
Create a new SMList
SMLong - Class in com.stackmob.sdkapi
Deprecated. use SMInt instead
SMLong(Long) - Constructor for class com.stackmob.sdkapi.SMLong
Deprecated.  
SMObject - Class in com.stackmob.sdkapi
An SMValue representing an object stored, or to be stored, in the StackMob Datastore
SMObject(Map<String, SMValue>) - Constructor for class com.stackmob.sdkapi.SMObject
Create a new SMObject
SMPrimitive<T> - Class in com.stackmob.sdkapi
 
SMPrimitive(T) - Constructor for class com.stackmob.sdkapi.SMPrimitive
 
SMSet - Class in com.stackmob.sdkapi
A "set" update action.
SMSet(String, SMValue) - Constructor for class com.stackmob.sdkapi.SMSet
Creates a new set operation
SMString - Class in com.stackmob.sdkapi
A String value
SMString(String) - Constructor for class com.stackmob.sdkapi.SMString
Create a new SMString
SMUpdate - Class in com.stackmob.sdkapi
An update action to take on an object in the StackMob datastore
SMUpdate() - Constructor for class com.stackmob.sdkapi.SMUpdate
 
SMValue<T> - Class in com.stackmob.sdkapi
An object representing a value stored in the StackMob datastore
SMValue(T) - Constructor for class com.stackmob.sdkapi.SMValue
Create a new SMValue

T

toString() - Method in class com.stackmob.core.rest.ProcessedAPIRequest
 
toString() - Method in class com.stackmob.sdkapi.SMEquals
 
toString() - Method in class com.stackmob.sdkapi.SMIn
 
toString() - Method in class com.stackmob.sdkapi.SMValue
 
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, List<SMUpdate>) - Method in interface com.stackmob.sdkapi.DataService
Updates an object in the datastore.
updateObject(String, String, Map<String, Object>) - Method in interface com.stackmob.sdkapi.DatastoreService
Deprecated. Updates an object in the datastore.
updateObjects(String, List<SMCondition>, List<SMUpdate>) - Method in interface com.stackmob.sdkapi.DataService
Updates all objects matching the given query 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

value - Variable in class com.stackmob.sdkapi.SMValue
 
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.

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

Copyright © 2012 StackMob. All Rights Reserved.