diff options
author | Valerio Virgillito | 2012-06-17 22:31:44 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-17 22:31:44 -0700 |
commit | 8fe92b94ce5e1e2857d088752d94e19db7e3d8a8 (patch) | |
tree | d84807aae0b974b5200050972dd94da6066e363b /node_modules/montage/data/sqlaccess/sqlstore.js | |
parent | e570fc8518cf03dd03c15982edcf17c5ba0a293d (diff) | |
download | ninja-8fe92b94ce5e1e2857d088752d94e19db7e3d8a8.tar.gz |
montage v11 merge into ninja
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/data/sqlaccess/sqlstore.js')
-rwxr-xr-x | node_modules/montage/data/sqlaccess/sqlstore.js | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/node_modules/montage/data/sqlaccess/sqlstore.js b/node_modules/montage/data/sqlaccess/sqlstore.js deleted file mode 100755 index e8d22eb4..00000000 --- a/node_modules/montage/data/sqlaccess/sqlstore.js +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | /** | ||
7 | @module montage/data/sqlaccess/sqlstore | ||
8 | @requires montage/core/core | ||
9 | @requires montage/data/store | ||
10 | @requires montage/core/logger | ||
11 | */ | ||
12 | var Montage = require("montage").Montage; | ||
13 | var Store = require("data/store").Store; | ||
14 | var logger = require("core/logger").logger("sqlstore"); | ||
15 | |||
16 | /** | ||
17 | @class module:montage/data/sqlaccess/sqlstore.SqlStore | ||
18 | @extends module:montage/data/store.Store | ||
19 | */ | ||
20 | var SqlStore = exports.SqlStore = Montage.create(Store,/** @lends module:montage/data/sqlaccess/sqlstore.SqlStore# */ { | ||
21 | |||
22 | /** | ||
23 | Description TODO | ||
24 | @function | ||
25 | @param {Property} binder TODO | ||
26 | @returns {Boolean} true or false | ||
27 | */ | ||
28 | canServiceBlueprintBinder: { | ||
29 | value: function(binder) { | ||
30 | if ((binder !== null) && (binder.storePrototypeName === "SqlStore")) { | ||
31 | // TODO [PJYF Apr 19 2011] We need to check that the connection url points to the same DB | ||
32 | return true; | ||
33 | } | ||
34 | return false; | ||
35 | } | ||
36 | }, | ||
37 | |||
38 | /** | ||
39 | Description TODO | ||
40 | @function | ||
41 | @param {Object} objectId TODO | ||
42 | @param {Property} context TODO | ||
43 | @param {Property} transactionId TODO | ||
44 | @returns null | ||
45 | */ | ||
46 | pledgeForObjectId$Implementation: { | ||
47 | value: function(objectId, context, transactionId) { | ||
48 | // TODO [PJYF Apr 28 2011] We need to implement it. | ||
49 | return null; | ||
50 | } | ||
51 | }, | ||
52 | |||
53 | /** | ||
54 | Description TODO | ||
55 | @function | ||
56 | @param {Object} sourceObject TODO | ||
57 | @param {Property} relationship TODO | ||
58 | @param {Property} context TODO | ||
59 | @param {Property} transactionId TODO | ||
60 | @returns null | ||
61 | */ | ||
62 | pledgeForSourceObjectRelationship$Implementation: { | ||
63 | value: function(sourceObject, relationship, context, transactionId) { | ||
64 | // TODO [PJYF Apr 28 2011] We need to implement it. | ||
65 | return null; | ||
66 | } | ||
67 | } | ||
68 | |||
69 | }); | ||