diff options
Diffstat (limited to 'node_modules/montage/data/nosqlaccess')
4 files changed, 0 insertions, 249 deletions
diff --git a/node_modules/montage/data/nosqlaccess/nosqlblueprint.js b/node_modules/montage/data/nosqlaccess/nosqlblueprint.js deleted file mode 100755 index bffd4ba6..00000000 --- a/node_modules/montage/data/nosqlaccess/nosqlblueprint.js +++ /dev/null | |||
@@ -1,135 +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/nosqlaccess/nosqlblueprint | ||
8 | @requires montage/core/core | ||
9 | @requires montage/data/blueprint | ||
10 | @requires montage/data/nosqlaccess/nosqlselectorevaluator | ||
11 | @requires montage/core/logger | ||
12 | */ | ||
13 | var Montage = require("montage").Montage; | ||
14 | var Blueprint = require("data/blueprint").Blueprint; | ||
15 | var BlueprintBinder = require("data/blueprint").BlueprintBinder; | ||
16 | var ToOneAttribute = require("data/blueprint").ToOneAttribute; | ||
17 | var ToManyAttribute = require("data/blueprint").ToManyAttribute; | ||
18 | var ToOneRelationship = require("data/blueprint").ToOneRelationship; | ||
19 | var ToManyRelationship = require("data/blueprint").ToManyRelationship; | ||
20 | var NoSqlSelectorEvaluator = require("data/nosqlaccess/nosqlselectorevaluator").NoSqlSelectorEvaluator; // registering the evaluators | ||
21 | var logger = require("core/logger").logger("nosqlblueprint"); | ||
22 | |||
23 | /** | ||
24 | @class module:montage/data/nosqlaccess/nosqlblueprint.NoSqlBlueprintBinder | ||
25 | @extends module:montage/data/blueprint.BlueprintBinder | ||
26 | */ | ||
27 | var NoSqlBlueprintBinder = exports.NoSqlBlueprintBinder = Montage.create(BlueprintBinder,/** @lends module:montage/data/nosqlaccess/nosqlblueprint.NoSqlBlueprintBinder# */ { | ||
28 | |||
29 | /** | ||
30 | The module ID of the store to use. | ||
31 | @type {Property} Function | ||
32 | @default {String} "montage/data/nosqlaccess/nosqlstore" | ||
33 | */ | ||
34 | storeModuleId: { | ||
35 | value: "montage/data/nosqlaccess/nosqlstore" | ||
36 | }, | ||
37 | /** | ||
38 | Description TODO | ||
39 | @type {Property} Function | ||
40 | @default {String} "NoSqlStore" | ||
41 | */ | ||
42 | storePrototypeName: { | ||
43 | value: "NoSqlStore" | ||
44 | }, | ||
45 | /** | ||
46 | Description TODO | ||
47 | @function | ||
48 | @returns {Function} NoSqlBlueprint.create() | ||
49 | */ | ||
50 | createBlueprint: { | ||
51 | value: function() { | ||
52 | return NoSqlBlueprint.create(); | ||
53 | } | ||
54 | } | ||
55 | |||
56 | |||
57 | }) | ||
58 | /** | ||
59 | @class module:montage/data/nosqlaccess/nosqlblueprint.NoSqlBlueprint | ||
60 | */ | ||
61 | var NoSqlBlueprint = exports.NoSqlBlueprint = Montage.create(Blueprint,/** @lends module:montage/data/nosqlaccess/nosqlblueprint.NoSqlBlueprint# */ { | ||
62 | |||
63 | /** | ||
64 | Conventional method to crete new attribute.<br> | ||
65 | This can be overwritten by specific stores. | ||
66 | @function | ||
67 | @returns {Function} NoSqlToOneAttribute.create() | ||
68 | */ | ||
69 | createToOneAttribute: { | ||
70 | value: function() { | ||
71 | return NoSqlToOneAttribute.create(); | ||
72 | } | ||
73 | }, | ||
74 | |||
75 | /** | ||
76 | Conventional method to crete new attribute.<br> | ||
77 | This can be overwritten by specific stores. | ||
78 | @function | ||
79 | @returns {Function} NoSqlToManyAttribute.create() | ||
80 | */ | ||
81 | createToManyAttribute: { | ||
82 | value: function() { | ||
83 | return NoSqlToManyAttribute.create(); | ||
84 | } | ||
85 | }, | ||
86 | |||
87 | /** | ||
88 | Conventional method to crete new attribute.<br> | ||
89 | This can be overwritten by specific stores. | ||
90 | @function | ||
91 | @returns {Function} NoSqlToOneRelationship.create() | ||
92 | */ | ||
93 | createToOneRelationship: { | ||
94 | value: function() { | ||
95 | return NoSqlToOneRelationship.create(); | ||
96 | } | ||
97 | }, | ||
98 | |||
99 | /** | ||
100 | Conventional method to crete new attribute.<br> | ||
101 | This can be overwritten by specific stores. | ||
102 | @function | ||
103 | @returns {Function} NoSqlToManyRelationship.create() | ||
104 | */ | ||
105 | createToManyRelationship: { | ||
106 | value: function() { | ||
107 | return NoSqlToManyRelationship.create(); | ||
108 | } | ||
109 | } | ||
110 | |||
111 | }); | ||
112 | /** | ||
113 | @class module:montage/data/nosqlaccess/nosqlblueprint.NoSqlToOneAttribute | ||
114 | */ | ||
115 | var NoSqlToOneAttribute = exports.NoSqlToOneAttribute = Montage.create(ToOneAttribute,/** @lends module:montage/data/nosqlaccess/nosqlblueprint.NoSqlToOneAttribute# */ { | ||
116 | |||
117 | }); | ||
118 | /** | ||
119 | @class module:montage/data/nosqlaccess/nosqlblueprint.NoSqlToOneRelationship | ||
120 | */ | ||
121 | var NoSqlToOneRelationship = exports.NoSqlToOneRelationship = Montage.create(ToOneRelationship,/** @lends module:montage/data/nosqlaccess/nosqlblueprint.NoSqlToOneRelationship# */ { | ||
122 | |||
123 | }); | ||
124 | /** | ||
125 | @class module:montage/data/nosqlaccess/nosqlblueprint.NoSqlToManyAttribute | ||
126 | */ | ||
127 | var NoSqlToManyAttribute = exports.NoSqlToManyAttribute = Montage.create(ToManyAttribute,/** @lends module:montage/data/nosqlaccess/nosqlblueprint.NoSqlToManyAttribute# */ { | ||
128 | |||
129 | }); | ||
130 | /** | ||
131 | @class module:montage/data/nosqlaccess/nosqlblueprint.NoSqlToManyRelationship | ||
132 | */ | ||
133 | var NoSqlToManyRelationship = exports.NoSqlToManyRelationship = Montage.create(ToManyRelationship,/** @lends module:montage/data/nosqlaccess/nosqlblueprint.NoSqlToManyRelationship# */ { | ||
134 | |||
135 | }); | ||
diff --git a/node_modules/montage/data/nosqlaccess/nosqlobjectid.js b/node_modules/montage/data/nosqlaccess/nosqlobjectid.js deleted file mode 100755 index eaca83c9..00000000 --- a/node_modules/montage/data/nosqlaccess/nosqlobjectid.js +++ /dev/null | |||
@@ -1,22 +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/nosqlaccess/nosqlobjectid | ||
8 | @requires montage/core/core | ||
9 | @requires montage/data/objectid | ||
10 | @requires montage/core/logger | ||
11 | */ | ||
12 | var Montage = require("montage").Montage; | ||
13 | var ObjectId = require("data/objectid").ObjectId; | ||
14 | var logger = require("core/logger").logger("nosqlobjectid"); | ||
15 | /** | ||
16 | @class module:montage/data/nosqlaccess/nosqlobjectid.NoSqlObjectId | ||
17 | @extends module:montage/data/objectid.ObjectId | ||
18 | */ | ||
19 | var NoSqlObjectId = exports.NoSqlObjectId = Montage.create(ObjectId,/** @lends module:montage/data/nosqlaccess/nosqlobjectid.NoSqlObjectId# */ { | ||
20 | |||
21 | |||
22 | }); | ||
diff --git a/node_modules/montage/data/nosqlaccess/nosqlselectorevaluator.js b/node_modules/montage/data/nosqlaccess/nosqlselectorevaluator.js deleted file mode 100755 index d73f15c9..00000000 --- a/node_modules/montage/data/nosqlaccess/nosqlselectorevaluator.js +++ /dev/null | |||
@@ -1,24 +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/nosqlaccess/nosqlselectorevaluator | ||
8 | @requires montage/core/core | ||
9 | @requires montage/data/selector | ||
10 | @requires montage/core/logger | ||
11 | */ | ||
12 | var Montage = require("montage").Montage; | ||
13 | var SelectorEvaluator = require("data/selector").SelectorEvaluator; | ||
14 | var Selector = require("data/selector").Selector; | ||
15 | var logger = require("core/logger").logger("nosqlselectorevaluator"); | ||
16 | /** | ||
17 | @class module:montage/data/nosqlaccess/nosqlselectorevaluator.NoSqlSelectorEvaluator | ||
18 | @extends module:montage/data/selector.SelectorEvaluator | ||
19 | */ | ||
20 | var NoSqlSelectorEvaluator = exports.NoSqlSelectorEvaluator = Montage.create(SelectorEvaluator,/** @lends module:montage/data/nosqlaccess/nosqlselectorevaluator.NoSqlSelectorEvaluator# */ { | ||
21 | |||
22 | |||
23 | }); | ||
24 | Selector.registry.registerEvaluator(NoSqlSelectorEvaluator); | ||
diff --git a/node_modules/montage/data/nosqlaccess/nosqlstore.js b/node_modules/montage/data/nosqlaccess/nosqlstore.js deleted file mode 100755 index 8fb11d7d..00000000 --- a/node_modules/montage/data/nosqlaccess/nosqlstore.js +++ /dev/null | |||
@@ -1,68 +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/nosqlaccess/nosqlstore | ||
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("nosqlstore"); | ||
15 | /** | ||
16 | @class module:montage/data/nosqlaccess/nosqlstore.NoSqlStore | ||
17 | @extends module:montage/data/store.Store | ||
18 | */ | ||
19 | var NoSqlStore = exports.NoSqlStore = Montage.create(Store,/** @lends module:montage/data/nosqlaccess/nosqlstore.NoSqlStore# */ { | ||
20 | |||
21 | /** | ||
22 | Description TODO | ||
23 | @function |