Constructordojox.data.FlickrRestStore

dojo.require("dojox.data.FlickrRestStore");
defined in dojox/data/FlickrRestStore.js

The FlickrRestStore is a Datastore interface to one of the basic services of the Flickr service, the public photo feed. This does not provide access to all the services of Flickr. This store cannot do * and ? filtering as the flickr service provides no interface for wildcards.

Usage

function (/*Object*/ args) (view source)
parametertypedescription
argsObject 
dojo.data.util.simpleFetch (from dojox.data.FlickrStore)

Jump to PropertiesFunctionsBack to top

Functionclose(request)
See dojo.data.api.Read.close()
FunctioncontainsValue(item, attribute, value)
See dojo.data.api.Read.containsValue()
See dojo.data.api.Read.getAttributes()
See dojo.data.api.Read.getFeatures()
FunctiongetLabel(item)
See dojo.data.api.Read.getLabel()
See dojo.data.api.Read.getLabelAttributes()
FunctiongetValue(item, attribute)
See dojo.data.api.Read.getValue()
FunctiongetValues(item, attribute)
See dojo.data.api.Read.getValue()
FunctionhasAttribute(item, attribute)
See dojo.data.api.Read.hasAttributes()
FunctionisItem(item)
See dojo.data.api.Read.isItem()
See dojo.data.api.Read.isItemLoaded()
FunctionloadItem(keywordArgs)
See dojo.data.api.Read.loadItem()
Function_assertIsAttribute(attribute)
This function tests whether the item passed in is indeed a valid 'attribute' like type for the store.
This function tests whether the item passed in is indeed an item in the store.
Function_checkPrevRanges(primaryKey, start, count)
Function_fetchItems(request, fetchHandler, errorHandler)
Fetch flickr items that match to a query
Function_processFlickrData(data: Object, request: Object, cacheKey: String)
Processes the raw data from Flickr and updates the internal cache.
Utility function to un-escape XML special characters in an HTML string.

Jump to FunctionsPropertiesBack to top

The users API key to be used when accessing Flickr REST services.
An Array of all previously downloaded picture info.
The URL to the Flickr REST services.
A HashMap used to record the handlers registered for a single remote request. Multiple requests may be made for the same information before the first request has finished. Each element of this Object is an array of handlers to call back when the request finishes. This prevents multiple requests being made for the same information.
A unique identifier for this store.
A HashMap used to record the signature of a request to prevent duplicate request being made.
A counter for the number of requests made. This is used to define the callback function that Flickr will use.
A quick lookup of valid attribute names in a sort query.
A key used to mark an data store item as belonging to this store.