/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2014 ForgeRock AS. All rights reserved.
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*/
/*global require, exports */
getMetaData: function (existingMetaData) {
var meta = {},
currentDate = new Date();
} else {
}
return meta;
},
// addressList is expected to be an array of "|" separated values
getAddresses: function (addressList) {
var addresses = [],
i = 0,
});
}
return addresses;
},
var displayName = "";
if (firstName !== null) {
}
if (lastName !== null) {
}
displayName = name;
}
return displayName;
},
var emails = [],
i = 0;
if (i === 0) {
} else if (i === 1) {
} else {
}
}
return emails;
},
// groupsList is expected to be an array of "value|display" elements
getGroups : function (groupsList) {
var groups = [],
i = 0;
}
return groups;
},
// imAddresses is expected to be an array of "value:type" elements
getIMs: function (imAddresses) {
var ims = [],
i = 0;
}
return ims;
},
formatted = "",
name = {};
return name;
},
getPhoneNumbers: function (phones) {
var phoneNumbers = [],
i = 0;
if (i === 0) {
} else if (i === 1) {
} else {
}
}
return phoneNumbers;
},
getPhotos: function (photosList) {
var photos = [],
i = 0,
switch (test) {
case "F":
return "photo";
case "T":
return "thumbnail";
default:
return "no-type";
}
};
}
return photos;
},
getProfileUrl: function (name) {
var UrlPrefix = "https://login.example.com/";
}
});