Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/data/FlickrRestStore.js

  • Provides:

    • dojox.data.FlickrRestStore
  • Requires:

    • dojox.data.FlickrStore in common
  • dojox.data.FlickrRestStore

    • type
      Function
    • chains:
      • dojox.data.FlickrStore: (prototype)
      • dojox.data.FlickrStore: (call)
    • parameters:
      • args: (typeof Object)
    • summary
      Initializer for the FlickrRestStore store.
    • description
      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.
  • dojox.data.FlickrRestStore.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • args: (typeof Object)
    • summary
      Initializer for the FlickrRestStore store.
    • description
      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.
  • dojox.data.FlickrRestStore._id

    • type
      Integer
    • summary
      A unique identifier for this store.
  • dojox.data.FlickrRestStore._requestCount

    • type
      Integer
    • summary
      A counter for the number of requests made. This is used to define
      the callback function that Flickr will use.
  • dojox.data.FlickrRestStore._flickrRestUrl

    • type
      String
    • summary
      The URL to the Flickr REST services.
  • dojox.data.FlickrRestStore._apikey

    • type
      String
    • summary
      The users API key to be used when accessing Flickr REST services.
  • dojox.data.FlickrRestStore._storeRef

    • type
      String
    • summary
      A key used to mark an data store item as belonging to this store.
  • dojox.data.FlickrRestStore._cache

    • type
      Array
    • summary
      An Array of all previously downloaded picture info.
  • dojox.data.FlickrRestStore._prevRequests

    • type
      Object
    • summary
      A HashMap used to record the signature of a request to prevent duplicate
      request being made.
  • dojox.data.FlickrRestStore._handlers

    • type
      Object
    • summary
      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.
  • dojox.data.FlickrRestStore._sortAttributes

    • type
      Object
    • summary
      A quick lookup of valid attribute names in a sort query.
  • dojox.data.FlickrRestStore._sortAttributes.date-posted

    • type
      Object
  • dojox.data.FlickrRestStore._sortAttributes.date-taken

    • type
      Object
  • dojox.data.FlickrRestStore._sortAttributes.interestingness

    • type
      Object
  • dojox.data.FlickrRestStore._fetchItems

    • parameters:
      • request: (typeof Object)
        A request object
      • fetchHandler: (typeof Function)
        A function to call for fetched items
      • errorHandler: (typeof Function)
        A function to call on error
    • summary
      Fetch flickr items that match to a query
    • type
      Function
  • dojox.data.FlickrRestStore.getAttributes

    • parameters:
      • item
    • summary
      See dojo.data.api.Read.getAttributes()
    • type
      Function
  • dojox.data.FlickrRestStore.getValues

    • parameters:
      • item
      • attribute
    • returns
      String
    • summary
      See dojo.data.api.Read.getValue()
    • type
      Function
  • dojox.data.FlickrRestStore._processFlickrData

    • parameters:
      • data: (typeof Object)
        Data returned from Flickr
      • request: (typeof Object)
        The original dojo.data.Request object passed in by the user.
      • cacheKey: (typeof String)
    • returns
      Array
    • summary
      Processes the raw data from Flickr and updates the internal cache.
    • type
      Function
  • dojox.data.FlickrRestStore._checkPrevRanges

    • parameters:
      • primaryKey
      • start
      • count
    • type
      Function
  • dojox.data.FlickrRestStore.label

  • dojox.data.FlickrRestStore._prevRequestRanges

    • type
      Array
  • dojox.data.FlickrRestStore._maxPhotosPerUser

    • type
      Object
  • dojox.data

    • type
      Object
  • dojox

    • type
      Object