<%= copyright_block(namespace_class_name) %> /*globals <%= namespace %> */

/** @class

(Document Your Data Source Here)

@extends <%= base_class_name || 'SC.DataSource' %>

*/ <%= namespace_class_name %> = <%= base_class_name || 'SC.DataSource' %>.extend( /** @scope <%= namespace_class_name %>.prototype */ {

// ..........................................................
// QUERY SUPPORT
//

fetch: function(store, query) {

  // TODO: Add handlers to fetch data for specific queries.
  // call store.dataSourceDidFetchQuery(query) when done.

  return NO; // return YES if you handled the query
},

// ..........................................................
// RECORD SUPPORT
//

retrieveRecord: function(store, storeKey) {

  // TODO: Add handlers to retrieve an individual record's contents
  // call store.dataSourceDidComplete(storeKey) when done.

  return NO; // return YES if you handled the storeKey
},

createRecord: function(store, storeKey) {

  // TODO: Add handlers to submit new records to the data source.
  // call store.dataSourceDidComplete(storeKey) when done.

  return NO; // return YES if you handled the storeKey
},

updateRecord: function(store, storeKey) {

  // TODO: Add handlers to submit modified record to the data source
  // call store.dataSourceDidComplete(storeKey) when done.

  return NO; // return YES if you handled the storeKey
},

destroyRecord: function(store, storeKey) {

  // TODO: Add handlers to destroy records on the data source.
  // call store.dataSourceDidDestroy(storeKey) when done

  return NO; // return YES if you handled the storeKey
}

});