Deprecated API


Contents
Deprecated Interfaces
com.google.appengine.api.datastore.DatastoreConfig
          Use DatastoreServiceConfig instead. 
com.google.appengine.api.memcache.ErrorHandler
          Use ConsistentErrorHandler instead 
com.google.appengine.api.search.IndexManager
          As of 1.6.3, replaced by SearchService. 
 

Deprecated Classes
com.google.appengine.api.search.IndexManagerFactory
          As of 1.6.3, replaced by SearchServiceFactory. 
com.google.appengine.api.search.ListDocumentsRequest
          As of 1.6.4, replaced by ListRequest. 
com.google.appengine.api.search.ListDocumentsResponse
          As of 1.6.4, replaced by ListResponse. 
com.google.appengine.api.search.SearchRequest
          As of 1.6.4, replaced by Query and QueryOptions. 
com.google.appengine.api.search.checkers.SearchRequestChecker
          As of 1.6.3, replaced by QueryChecker and QueryOptionsChecker. 
com.google.appengine.api.search.SearchResponse
          As of 1.6.4, replaced by Results. 
com.google.appengine.api.search.SearchResult
          As of 1.6.4, replaced by ScoredDocument. 
com.google.appengine.api.search.SortSpec
          As of 1.6.3, replaced by CustomScorer and SortExpression. 
 

Deprecated Fields
com.google.appengine.api.datastore.DatastoreConfig.DEFAULT
          Use DatastoreServiceConfig instead. 
com.google.appengine.api.datastore.FetchOptions.DEFAULT_CHUNK_SIZE
          Instead of using DEFAULT_CHUNK_SIZE, do not specify a chunk size. 
com.google.appengine.api.utils.SystemProperty.instanceReplicaId
          Use com.google.appengine.api.servers.ServerService#getCurrentInstance() 
com.google.appengine.api.images.ImagesService.SERVING_CROP_SIZES
           
com.google.appengine.api.images.ImagesService.SERVING_SIZES
           
 

Deprecated Methods
com.google.appengine.api.datastore.TransactionOptions.Builder.allowMultipleEntityGroups(boolean)
            
com.google.appengine.api.datastore.TransactionOptions.allowsMultipleEntityGroups()
            
com.google.appengine.api.datastore.TransactionOptions.clearMultipleEntityGroups()
            
com.google.appengine.api.datastore.PreparedQuery.countEntities()
          Use PreparedQuery.countEntities(FetchOptions) instead. Calling this function imposes a maximum result limit of 1000. 
com.google.appengine.api.datastore.FetchOptions.cursor(Cursor)
          use FetchOptions.startCursor instead. 
com.google.appengine.api.datastore.FetchOptions.getCursor()
          use FetchOptions.getStartCursor() instead 
com.google.appengine.api.datastore.DatastoreServiceFactory.getDatastoreService(DatastoreConfig)
          Use DatastoreServiceFactory.getDatastoreService(DatastoreServiceConfig) instead. 
com.google.appengine.api.datastore.DatastoreServiceFactory.getDefaultDatastoreConfig()
          Use DatastoreServiceConfig.Builder.withDefaults() instead. 
com.google.appengine.api.datastore.DatastoreConfig.getImplicitTransactionManagementPolicy()
          Use DatastoreServiceConfig.getImplicitTransactionManagementPolicy() 
com.google.appengine.api.memcache.ErrorHandlers.getLogAndContinue(Level)
          Use ErrorHandlers.getConsistentLogAndContinue(Level) instead 
com.google.apphosting.api.ApiProxy.Environment.getRequestNamespace()
          Use NamespaceManager.getGoogleAppsNamespace() 
com.google.appengine.api.blobstore.BlobstoreService.getUploadedBlobs(HttpServletRequest)
          Use getUploads instead. Note that getUploadedBlobs does not handle cases where blobs have been uploaded using the multiple="true" attribute of the file input form element. 
com.google.appengine.api.search.Index.listDocuments(ListDocumentsRequest)
          use Index.listDocuments(ListRequest) 
com.google.appengine.api.search.Index.listDocumentsAsync(ListDocumentsRequest)
          use Index.listDocumentsAsync(ListRequest) 
com.google.appengine.api.taskqueue.QueueConstants.maxTaskSizeBytes()
          Use {QueueConstants.maxPushTaskSizeBytes() 
com.google.appengine.api.datastore.TransactionOptions.multipleEntityGroups(boolean)
            
com.google.appengine.api.search.Index.search(SearchRequest)
          use Index.search(Query) 
com.google.appengine.api.search.Index.search(String)
          use Index.search(Query) 
com.google.appengine.api.search.Index.searchAsync(SearchRequest)
           
com.google.appengine.api.search.Index.searchAsync(String)
          use Index.searchAsync(Query) 
com.google.appengine.api.memcache.MemcacheService.setNamespace(String)
          use MemcacheServiceFactory.getMemcacheService(String) instead. 
com.google.appengine.api.datastore.FetchOptions.Builder.withCursor(Cursor)
          use FetchOptions.Builder.withStartCursor(com.google.appengine.api.datastore.Cursor) instead. 
 

Deprecated Constructors
com.google.appengine.api.taskqueue.TaskHandle(String, String, long)
          Use {@link TaskHandle#TaskHandle(TaskOptions, String)