aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/data/ldap-access
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-20 16:48:34 -0700
committerJose Antonio Marquez2012-06-20 16:48:34 -0700
commit4eff115126ab946c5852d787fd596e07b156c9a5 (patch)
treef7d45b260f2fb5ba5dc4d1879076ca032d5ae2e6 /node_modules/montage/data/ldap-access
parent7615da5c6ba54bd082eac4b8a6d9196084e5c590 (diff)
parent392a559e90357d48c910a07617261483b2b45476 (diff)
downloadninja-4eff115126ab946c5852d787fd596e07b156c9a5.tar.gz
Merge branch 'refs/heads/Ninja-Internal' into Color
Diffstat (limited to 'node_modules/montage/data/ldap-access')
-rw-r--r--node_modules/montage/data/ldap-access/ldap-mapping.js61
-rwxr-xr-xnode_modules/montage/data/ldap-access/ldap-object-id.js20
-rw-r--r--node_modules/montage/data/ldap-access/ldap-selector-semantics.js5
-rwxr-xr-xnode_modules/montage/data/ldap-access/ldap-store.js72
4 files changed, 158 insertions, 0 deletions
diff --git a/node_modules/montage/data/ldap-access/ldap-mapping.js b/node_modules/montage/data/ldap-access/ldap-mapping.js
new file mode 100644
index 00000000..7af0454b
--- /dev/null
+++ b/node_modules/montage/data/ldap-access/ldap-mapping.js
@@ -0,0 +1,61 @@
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/ldap-mapping
8 @requires montage/core/core
9 @requires montage/core/logger
10 @requires montage/data/mapping
11 */
12var Montage = require("montage").Montage;
13var BinderMapping = require("data/mapping").BinderMapping;
14var BlueprintMapping = require("data/mapping").BlueprintMapping;
15var AttributeMapping = require("data/mapping").AttributeMapping;
16var AssociationMapping = require("data/mapping").AssociationMapping;
17var logger = require("core/logger").logger("ldap-mapping");
18
19/**
20 * TODO
21 @class module:montage/data/ldap-access/ldap-mapping.LdapBinderMapping
22 @extends module:montage/data/mapping.BinderMapping
23 */
24var LdapBinderMapping = exports.LdapBinderMapping = Montage.create(BinderMapping, /** @lends module:montage/data/ldap-access/ldap-mapping.LdapBinderMapping# */ {
25
26
27});
28
29
30/**
31 * TODO
32 @class module:montage/data/ldap-access/ldap-mapping.LdapBlueprintMapping
33 @extends module:montage/data/mapping.BlueprintMapping
34 */
35var LdapBlueprintMapping = exports.LdapBlueprintMapping = Montage.create(BlueprintMapping, /** @lends module:montage/data/ldap-access/ldap-mapping.LdapBlueprintMapping# */ {
36
37
38});
39
40
41/**
42 * TODO
43 @class module:montage/data/ldap-access/ldap-mapping.LdapAttributeMapping
44 @extends module:montage/data/mapping.AttributeMapping
45 */
46var LdapAttributeMapping = exports.LdapAttributeMapping = Montage.create(AttributeMapping, /** @lends module:montage/data/ldap-access/ldap-mapping.LdapAttributeMapping# */ {
47
48
49});
50
51
52/**
53 * TODO
54 @class module:montage/data/ldap-access/ldap-mapping.LdapAssociationMapping
55 @extends module:montage/data/mapping.AssociationMapping
56 */
57var LdapAssociationMapping = exports.LdapAssociationMapping = Montage.create(AssociationMapping, /** @lends module:montage/data/ldap-access/ldap-mapping.LdapAssociationMapping# */ {
58
59
60});
61
diff --git a/node_modules/montage/data/ldap-access/ldap-object-id.js b/node_modules/montage/data/ldap-access/ldap-object-id.js
new file mode 100755
index 00000000..2375d1a9
--- /dev/null
+++ b/node_modules/montage/data/ldap-access/ldap-object-id.js
@@ -0,0 +1,20 @@
1/* <copyright>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No 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/ldap-access/ldap-object-id
8 @requires montage/core/core
9 @requires montage/core/logger
10*/
11var Montage = require("montage").Montage;
12var logger = require("core/logger").logger("ldap-object-id");
13/**
14 @class module:montage/data/ldap-access/ldap-object-id.LdapObjectId
15 @extends module:montage/core/core.Montage
16*/
17var LdapObjectId = exports.LdapObjectId = Montage.create(Montage,/** @lends module:montage/data/ldap-access/ldap-object-id.LdapObjectId # */ {
18
19
20});
diff --git a/node_modules/montage/data/ldap-access/ldap-selector-semantics.js b/node_modules/montage/data/ldap-access/ldap-selector-semantics.js
new file mode 100644
index 00000000..018448f1
--- /dev/null
+++ b/node_modules/montage/data/ldap-access/ldap-selector-semantics.js
@@ -0,0 +1,5 @@
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> */
diff --git a/node_modules/montage/data/ldap-access/ldap-store.js b/node_modules/montage/data/ldap-access/ldap-store.js
new file mode 100755
index 00000000..7304109b
--- /dev/null
+++ b/node_modules/montage/data/ldap-access/ldap-store.js
@@ -0,0 +1,72 @@
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/ldap-access/ldap-store
8 @requires montage/core/core
9 @requires montage/data/store
10 @requires montage/core/logger
11 @requires data/ldap-access/ldap-mapping
12 */
13var Montage = require("montage").Montage;
14var Store = require("data/store").Store;
15var LdapBinderMapping = require("data/ldap-access/ldap-mapping").LdapBinderMapping;
16var LdapBlueprintMapping = require("data/ldap-access/ldap-mapping").LdapBlueprintMapping;
17var LdapAttributeMapping = require("data/ldap-access/ldap-mapping").LdapAttributeMapping;
18var LdapAssociationMapping = require("data/ldap-access/ldap-mapping").LdapAssociationMapping;
19var logger = require("core/logger").logger("ldap-store");
20/**
21 @class module:montage/data/ldap-access/ldap-store.LdapStore
22 @extends module:montage/core/core.Montage
23 */
24var LdapStore = exports.LdapStore = Montage.create(Store, /** @lends module:montage/data/ldap-access/ldap-store.LdapStore# */ {
25
26 /**
27 Create a new binder mapping.
28 @function
29 @returns binder mapping
30 */
31 createBinderMapping:{
32 get:function () {
33 return LdapBinderMapping.create();
34 }
35 },
36
37 /**
38 Create a new blueprint mapping.
39 @function
40 @returns blueprint mapping
41 */
42 createBlueprintMapping:{
43 get:function () {
44 return LdapBlueprintMapping.create();
45 }
46 },
47
48 /**
49 Create a new attribute mapping.
50 @function
51 @returns attribute mapping
52 */
53 createAttributeMapping:{
54 get:function () {
55 return LdapAttributeMapping.create();
56 }
57 },
58
59 /**
60 Create a new association mapping.
61 @function
62 @returns association mapping
63 */
64 createAssociationMapping:{
65 get:function () {
66 return LdapAssociationMapping.create();
67 }
68 }
69
70
71
72});