From 8fe92b94ce5e1e2857d088752d94e19db7e3d8a8 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Sun, 17 Jun 2012 22:31:44 -0700 Subject: montage v11 merge into ninja Signed-off-by: Valerio Virgillito --- .../montage/data/ldap-access/ldap-mapping.js | 61 ++++++++++++++++++ .../montage/data/ldap-access/ldap-object-id.js | 20 ++++++ .../data/ldap-access/ldap-selector-semantics.js | 5 ++ .../montage/data/ldap-access/ldap-store.js | 72 ++++++++++++++++++++++ 4 files changed, 158 insertions(+) create mode 100644 node_modules/montage/data/ldap-access/ldap-mapping.js create mode 100755 node_modules/montage/data/ldap-access/ldap-object-id.js create mode 100644 node_modules/montage/data/ldap-access/ldap-selector-semantics.js create mode 100755 node_modules/montage/data/ldap-access/ldap-store.js (limited to 'node_modules/montage/data/ldap-access') 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 @@ +/* + This file contains proprietary software owned by Motorola Mobility, Inc.
+ No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ +/** + @module montage/data/ldap-mapping + @requires montage/core/core + @requires montage/core/logger + @requires montage/data/mapping + */ +var Montage = require("montage").Montage; +var BinderMapping = require("data/mapping").BinderMapping; +var BlueprintMapping = require("data/mapping").BlueprintMapping; +var AttributeMapping = require("data/mapping").AttributeMapping; +var AssociationMapping = require("data/mapping").AssociationMapping; +var logger = require("core/logger").logger("ldap-mapping"); + +/** + * TODO + @class module:montage/data/ldap-access/ldap-mapping.LdapBinderMapping + @extends module:montage/data/mapping.BinderMapping + */ +var LdapBinderMapping = exports.LdapBinderMapping = Montage.create(BinderMapping, /** @lends module:montage/data/ldap-access/ldap-mapping.LdapBinderMapping# */ { + + +}); + + +/** + * TODO + @class module:montage/data/ldap-access/ldap-mapping.LdapBlueprintMapping + @extends module:montage/data/mapping.BlueprintMapping + */ +var LdapBlueprintMapping = exports.LdapBlueprintMapping = Montage.create(BlueprintMapping, /** @lends module:montage/data/ldap-access/ldap-mapping.LdapBlueprintMapping# */ { + + +}); + + +/** + * TODO + @class module:montage/data/ldap-access/ldap-mapping.LdapAttributeMapping + @extends module:montage/data/mapping.AttributeMapping + */ +var LdapAttributeMapping = exports.LdapAttributeMapping = Montage.create(AttributeMapping, /** @lends module:montage/data/ldap-access/ldap-mapping.LdapAttributeMapping# */ { + + +}); + + +/** + * TODO + @class module:montage/data/ldap-access/ldap-mapping.LdapAssociationMapping + @extends module:montage/data/mapping.AssociationMapping + */ +var LdapAssociationMapping = exports.LdapAssociationMapping = Montage.create(AssociationMapping, /** @lends module:montage/data/ldap-access/ldap-mapping.LdapAssociationMapping# */ { + + +}); + 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 @@ +/* +This file contains proprietary software owned by Motorola Mobility, Inc.
+No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ +/** + @module montage/data/ldap-access/ldap-object-id + @requires montage/core/core + @requires montage/core/logger +*/ +var Montage = require("montage").Montage; +var logger = require("core/logger").logger("ldap-object-id"); +/** + @class module:montage/data/ldap-access/ldap-object-id.LdapObjectId + @extends module:montage/core/core.Montage +*/ +var LdapObjectId = exports.LdapObjectId = Montage.create(Montage,/** @lends module:montage/data/ldap-access/ldap-object-id.LdapObjectId # */ { + + +}); 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 @@ +/* + This file contains proprietary software owned by Motorola Mobility, Inc.
+ No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ 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 @@ +/* + This file contains proprietary software owned by Motorola Mobility, Inc.
+ No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ +/** + @module montage/data/ldap-access/ldap-store + @requires montage/core/core + @requires montage/data/store + @requires montage/core/logger + @requires data/ldap-access/ldap-mapping + */ +var Montage = require("montage").Montage; +var Store = require("data/store").Store; +var LdapBinderMapping = require("data/ldap-access/ldap-mapping").LdapBinderMapping; +var LdapBlueprintMapping = require("data/ldap-access/ldap-mapping").LdapBlueprintMapping; +var LdapAttributeMapping = require("data/ldap-access/ldap-mapping").LdapAttributeMapping; +var LdapAssociationMapping = require("data/ldap-access/ldap-mapping").LdapAssociationMapping; +var logger = require("core/logger").logger("ldap-store"); +/** + @class module:montage/data/ldap-access/ldap-store.LdapStore + @extends module:montage/core/core.Montage + */ +var LdapStore = exports.LdapStore = Montage.create(Store, /** @lends module:montage/data/ldap-access/ldap-store.LdapStore# */ { + + /** + Create a new binder mapping. + @function + @returns binder mapping + */ + createBinderMapping:{ + get:function () { + return LdapBinderMapping.create(); + } + }, + + /** + Create a new blueprint mapping. + @function + @returns blueprint mapping + */ + createBlueprintMapping:{ + get:function () { + return LdapBlueprintMapping.create(); + } + }, + + /** + Create a new attribute mapping. + @function + @returns attribute mapping + */ + createAttributeMapping:{ + get:function () { + return LdapAttributeMapping.create(); + } + }, + + /** + Create a new association mapping. + @function + @returns association mapping + */ + createAssociationMapping:{ + get:function () { + return LdapAssociationMapping.create(); + } + } + + + +}); -- cgit v1.2.3