Type.registerNamespace('TwoNeeds.Website');
TwoNeeds.Website.TwoNeedsUIService=function() {
TwoNeeds.Website.TwoNeedsUIService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TwoNeeds.Website.TwoNeedsUIService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TwoNeeds.Website.TwoNeedsUIService._staticInstance.get_path();},
UsernameValid:function(username,succeededCallback, failedCallback, userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UsernameValid',false,{username:username},succeededCallback,failedCallback,userContext); },
GetContactList:function(searchString,succeededCallback, failedCallback, userContext) {
/// <param name="searchString" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetContactList',false,{searchString:searchString},succeededCallback,failedCallback,userContext); },
GetFullContactList:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetFullContactList',false,{},succeededCallback,failedCallback,userContext); },
GetTestContacts:function(controlid,pagenum,rows,succeededCallback, failedCallback, userContext) {
/// <param name="controlid" type="String">System.String</param>
/// <param name="pagenum" type="Number">System.Int32</param>
/// <param name="rows" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetTestContacts',false,{controlid:controlid,pagenum:pagenum,rows:rows},succeededCallback,failedCallback,userContext); },
GetInboxMessages:function(controlid,pagenum,rows,succeededCallback, failedCallback, userContext) {
/// <param name="controlid" type="String">System.String</param>
/// <param name="pagenum" type="Number">System.Int32</param>
/// <param name="rows" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetInboxMessages',false,{controlid:controlid,pagenum:pagenum,rows:rows},succeededCallback,failedCallback,userContext); },
GetProfileByConnectionId:function(connectionId,succeededCallback, failedCallback, userContext) {
/// <param name="connectionId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetProfileByConnectionId',false,{connectionId:connectionId},succeededCallback,failedCallback,userContext); },
AcceptProbableMatch:function(connectionId,otherUserId,succeededCallback, failedCallback, userContext) {
/// <param name="connectionId" type="Number">System.Int32</param>
/// <param name="otherUserId" type="String">System.Guid</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'AcceptProbableMatch',false,{connectionId:connectionId,otherUserId:otherUserId},succeededCallback,failedCallback,userContext); },
SaveNewContact:function(name,title,company,phone,email,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="title" type="String">System.String</param>
/// <param name="company" type="String">System.String</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveNewContact',false,{name:name,title:title,company:company,phone:phone,email:email},succeededCallback,failedCallback,userContext); },
StartSyncGoogleContacts:function(googleToken,succeededCallback, failedCallback, userContext) {
/// <param name="googleToken" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'StartSyncGoogleContacts',false,{googleToken:googleToken},succeededCallback,failedCallback,userContext); },
StartSyncTwitterContacts:function(twitterScreenName,succeededCallback, failedCallback, userContext) {
/// <param name="twitterScreenName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'StartSyncTwitterContacts',false,{twitterScreenName:twitterScreenName},succeededCallback,failedCallback,userContext); },
StartSyncFacebookContacts:function(facebookToken,succeededCallback, failedCallback, userContext) {
/// <param name="facebookToken" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'StartSyncFacebookContacts',false,{facebookToken:facebookToken},succeededCallback,failedCallback,userContext); },
GetSearchResults:function(keyword,isBuy,type,subtype,filterLocation,group,succeededCallback, failedCallback, userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="isBuy" type="Boolean">System.Boolean</param>
/// <param name="type" type="Number">System.Int32</param>
/// <param name="subtype" type="Number">System.Int32</param>
/// <param name="filterLocation" type="Boolean">System.Boolean</param>
/// <param name="group" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetSearchResults',false,{keyword:keyword,isBuy:isBuy,type:type,subtype:subtype,filterLocation:filterLocation,group:group},succeededCallback,failedCallback,userContext); },
GetCompanySearchResults:function(keyword,succeededCallback, failedCallback, userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetCompanySearchResults',false,{keyword:keyword},succeededCallback,failedCallback,userContext); },
GetSearchLogoPictures:function(pageIndex,companyName,succeededCallback, failedCallback, userContext) {
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="companyName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetSearchLogoPictures',false,{pageIndex:pageIndex,companyName:companyName},succeededCallback,failedCallback,userContext); },
SaveCompanyLogo:function(companyId,x,y,w,h,succeededCallback, failedCallback, userContext) {
/// <param name="companyId" type="String">System.Guid</param>
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</param>
/// <param name="w" type="Number">System.Int32</param>
/// <param name="h" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveCompanyLogo',false,{companyId:companyId,x:x,y:y,w:w,h:h},succeededCallback,failedCallback,userContext); },
GetProfilePictures:function(pageIndex,succeededCallback, failedCallback, userContext) {
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetProfilePictures',false,{pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
SavePictureFromURL:function(picUrl,succeededCallback, failedCallback, userContext) {
/// <param name="picUrl" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SavePictureFromURL',false,{picUrl:picUrl},succeededCallback,failedCallback,userContext); },
SaveProfilePicture:function(x,y,w,h,pvw,pvh,succeededCallback, failedCallback, userContext) {
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</param>
/// <param name="w" type="Number">System.Int32</param>
/// <param name="h" type="Number">System.Int32</param>
/// <param name="pvw" type="Number">System.Int32</param>
/// <param name="pvh" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveProfilePicture',false,{x:x,y:y,w:w,h:h,pvw:pvw,pvh:pvh},succeededCallback,failedCallback,userContext); },
SaveAboutMe:function(businessCardId,text,succeededCallback, failedCallback, userContext) {
/// <param name="businessCardId" type="String">System.String</param>
/// <param name="text" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveAboutMe',false,{businessCardId:businessCardId,text:text},succeededCallback,failedCallback,userContext); },
GetCompany:function(companyId,succeededCallback, failedCallback, userContext) {
/// <param name="companyId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetCompany',false,{companyId:companyId},succeededCallback,failedCallback,userContext); },
GetCard:function(cardId,succeededCallback, failedCallback, userContext) {
/// <param name="cardId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetCard',false,{cardId:cardId},succeededCallback,failedCallback,userContext); },
GetCardTemplates:function(companyId,succeededCallback, failedCallback, userContext) {
/// <param name="companyId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetCardTemplates',false,{companyId:companyId},succeededCallback,failedCallback,userContext); },
SaveCompany:function(company,succeededCallback, failedCallback, userContext) {
/// <param name="company" type="TwoNeeds.Entities.Company">TwoNeeds.Entities.Company</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveCompany',false,{company:company},succeededCallback,failedCallback,userContext); },
SaveBusinessCard:function(card,succeededCallback, failedCallback, userContext) {
/// <param name="card" type="TwoNeeds.Entities.BusinessCard">TwoNeeds.Entities.BusinessCard</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveBusinessCard',false,{card:card},succeededCallback,failedCallback,userContext); },
PostStatusUpdate:function(text,succeededCallback, failedCallback, userContext) {
/// <param name="text" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'PostStatusUpdate',false,{text:text},succeededCallback,failedCallback,userContext); },
SaveContactData:function(controlId,contactPropertyId,userId,connectionId,fieldType,fieldName,value,succeededCallback, failedCallback, userContext) {
/// <param name="controlId" type="String">System.String</param>
/// <param name="contactPropertyId" type="String">System.String</param>
/// <param name="userId" type="String">System.String</param>
/// <param name="connectionId" type="String">System.String</param>
/// <param name="fieldType" type="String">System.String</param>
/// <param name="fieldName" type="String">System.String</param>
/// <param name="value" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveContactData',false,{controlId:controlId,contactPropertyId:contactPropertyId,userId:userId,connectionId:connectionId,fieldType:fieldType,fieldName:fieldName,value:value},succeededCallback,failedCallback,userContext); },
SaveProfileField:function(propertyName,value,succeededCallback, failedCallback, userContext) {
/// <param name="propertyName" type="String">System.String</param>
/// <param name="value" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveProfileField',false,{propertyName:propertyName,value:value},succeededCallback,failedCallback,userContext); },
CreateGroup:function(name,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'CreateGroup',false,{name:name},succeededCallback,failedCallback,userContext); },
JoinGroup:function(groupId,succeededCallback, failedCallback, userContext) {
/// <param name="groupId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'JoinGroup',false,{groupId:groupId},succeededCallback,failedCallback,userContext); },
DisjoinGroup:function(groupId,succeededCallback, failedCallback, userContext) {
/// <param name="groupId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'DisjoinGroup',false,{groupId:groupId},succeededCallback,failedCallback,userContext); },
DeleteGroup:function(groupId,succeededCallback, failedCallback, userContext) {
/// <param name="groupId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'DeleteGroup',false,{groupId:groupId},succeededCallback,failedCallback,userContext); },
SaveGroupName:function(groupId,groupName,succeededCallback, failedCallback, userContext) {
/// <param name="groupId" type="String">System.String</param>
/// <param name="groupName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveGroupName',false,{groupId:groupId,groupName:groupName},succeededCallback,failedCallback,userContext); },
SaveGroupDescription:function(groupId,groupDescription,succeededCallback, failedCallback, userContext) {
/// <param name="groupId" type="String">System.String</param>
/// <param name="groupDescription" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveGroupDescription',false,{groupId:groupId,groupDescription:groupDescription},succeededCallback,failedCallback,userContext); },
SearchGroups:function(search,succeededCallback, failedCallback, userContext) {
/// <param name="search" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SearchGroups',false,{search:search},succeededCallback,failedCallback,userContext); },
SaveGroupLogo:function(groupId,x,y,w,h,succeededCallback, failedCallback, userContext) {
/// <param name="groupId" type="String">System.Guid</param>
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</param>
/// <param name="w" type="Number">System.Int32</param>
/// <param name="h" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SaveGroupLogo',false,{groupId:groupId,x:x,y:y,w:w,h:h},succeededCallback,failedCallback,userContext); }}
TwoNeeds.Website.TwoNeedsUIService.registerClass('TwoNeeds.Website.TwoNeedsUIService',Sys.Net.WebServiceProxy);
TwoNeeds.Website.TwoNeedsUIService._staticInstance = new TwoNeeds.Website.TwoNeedsUIService();
TwoNeeds.Website.TwoNeedsUIService.set_path = function(value) {
TwoNeeds.Website.TwoNeedsUIService._staticInstance.set_path(value); }
TwoNeeds.Website.TwoNeedsUIService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return TwoNeeds.Website.TwoNeedsUIService._staticInstance.get_path();}
TwoNeeds.Website.TwoNeedsUIService.set_timeout = function(value) {
TwoNeeds.Website.TwoNeedsUIService._staticInstance.set_timeout(value); }
TwoNeeds.Website.TwoNeedsUIService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return TwoNeeds.Website.TwoNeedsUIService._staticInstance.get_timeout(); }
TwoNeeds.Website.TwoNeedsUIService.set_defaultUserContext = function(value) { 
TwoNeeds.Website.TwoNeedsUIService._staticInstance.set_defaultUserContext(value); }
TwoNeeds.Website.TwoNeedsUIService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return TwoNeeds.Website.TwoNeedsUIService._staticInstance.get_defaultUserContext(); }
TwoNeeds.Website.TwoNeedsUIService.set_defaultSucceededCallback = function(value) { 
 TwoNeeds.Website.TwoNeedsUIService._staticInstance.set_defaultSucceededCallback(value); }
TwoNeeds.Website.TwoNeedsUIService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return TwoNeeds.Website.TwoNeedsUIService._staticInstance.get_defaultSucceededCallback(); }
TwoNeeds.Website.TwoNeedsUIService.set_defaultFailedCallback = function(value) { 
TwoNeeds.Website.TwoNeedsUIService._staticInstance.set_defaultFailedCallback(value); }
TwoNeeds.Website.TwoNeedsUIService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return TwoNeeds.Website.TwoNeedsUIService._staticInstance.get_defaultFailedCallback(); }
TwoNeeds.Website.TwoNeedsUIService.set_path("/TwoNeedsUIService.asmx");
TwoNeeds.Website.TwoNeedsUIService.UsernameValid= function(username,onSuccess,onFailed,userContext) {
/// <param name="username" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.UsernameValid(username,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetContactList= function(searchString,onSuccess,onFailed,userContext) {
/// <param name="searchString" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetContactList(searchString,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetFullContactList= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetFullContactList(onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetTestContacts= function(controlid,pagenum,rows,onSuccess,onFailed,userContext) {
/// <param name="controlid" type="String">System.String</param>
/// <param name="pagenum" type="Number">System.Int32</param>
/// <param name="rows" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetTestContacts(controlid,pagenum,rows,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetInboxMessages= function(controlid,pagenum,rows,onSuccess,onFailed,userContext) {
/// <param name="controlid" type="String">System.String</param>
/// <param name="pagenum" type="Number">System.Int32</param>
/// <param name="rows" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetInboxMessages(controlid,pagenum,rows,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetProfileByConnectionId= function(connectionId,onSuccess,onFailed,userContext) {
/// <param name="connectionId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetProfileByConnectionId(connectionId,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.AcceptProbableMatch= function(connectionId,otherUserId,onSuccess,onFailed,userContext) {
/// <param name="connectionId" type="Number">System.Int32</param>
/// <param name="otherUserId" type="String">System.Guid</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.AcceptProbableMatch(connectionId,otherUserId,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveNewContact= function(name,title,company,phone,email,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="title" type="String">System.String</param>
/// <param name="company" type="String">System.String</param>
/// <param name="phone" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveNewContact(name,title,company,phone,email,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.StartSyncGoogleContacts= function(googleToken,onSuccess,onFailed,userContext) {
/// <param name="googleToken" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.StartSyncGoogleContacts(googleToken,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.StartSyncTwitterContacts= function(twitterScreenName,onSuccess,onFailed,userContext) {
/// <param name="twitterScreenName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.StartSyncTwitterContacts(twitterScreenName,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.StartSyncFacebookContacts= function(facebookToken,onSuccess,onFailed,userContext) {
/// <param name="facebookToken" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.StartSyncFacebookContacts(facebookToken,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetSearchResults= function(keyword,isBuy,type,subtype,filterLocation,group,onSuccess,onFailed,userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="isBuy" type="Boolean">System.Boolean</param>
/// <param name="type" type="Number">System.Int32</param>
/// <param name="subtype" type="Number">System.Int32</param>
/// <param name="filterLocation" type="Boolean">System.Boolean</param>
/// <param name="group" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetSearchResults(keyword,isBuy,type,subtype,filterLocation,group,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetCompanySearchResults= function(keyword,onSuccess,onFailed,userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetCompanySearchResults(keyword,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetSearchLogoPictures= function(pageIndex,companyName,onSuccess,onFailed,userContext) {
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="companyName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetSearchLogoPictures(pageIndex,companyName,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveCompanyLogo= function(companyId,x,y,w,h,onSuccess,onFailed,userContext) {
/// <param name="companyId" type="String">System.Guid</param>
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</param>
/// <param name="w" type="Number">System.Int32</param>
/// <param name="h" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveCompanyLogo(companyId,x,y,w,h,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetProfilePictures= function(pageIndex,onSuccess,onFailed,userContext) {
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetProfilePictures(pageIndex,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SavePictureFromURL= function(picUrl,onSuccess,onFailed,userContext) {
/// <param name="picUrl" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SavePictureFromURL(picUrl,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveProfilePicture= function(x,y,w,h,pvw,pvh,onSuccess,onFailed,userContext) {
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</param>
/// <param name="w" type="Number">System.Int32</param>
/// <param name="h" type="Number">System.Int32</param>
/// <param name="pvw" type="Number">System.Int32</param>
/// <param name="pvh" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveProfilePicture(x,y,w,h,pvw,pvh,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveAboutMe= function(businessCardId,text,onSuccess,onFailed,userContext) {
/// <param name="businessCardId" type="String">System.String</param>
/// <param name="text" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveAboutMe(businessCardId,text,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetCompany= function(companyId,onSuccess,onFailed,userContext) {
/// <param name="companyId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetCompany(companyId,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetCard= function(cardId,onSuccess,onFailed,userContext) {
/// <param name="cardId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetCard(cardId,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.GetCardTemplates= function(companyId,onSuccess,onFailed,userContext) {
/// <param name="companyId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.GetCardTemplates(companyId,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveCompany= function(company,onSuccess,onFailed,userContext) {
/// <param name="company" type="TwoNeeds.Entities.Company">TwoNeeds.Entities.Company</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveCompany(company,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveBusinessCard= function(card,onSuccess,onFailed,userContext) {
/// <param name="card" type="TwoNeeds.Entities.BusinessCard">TwoNeeds.Entities.BusinessCard</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveBusinessCard(card,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.PostStatusUpdate= function(text,onSuccess,onFailed,userContext) {
/// <param name="text" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.PostStatusUpdate(text,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveContactData= function(controlId,contactPropertyId,userId,connectionId,fieldType,fieldName,value,onSuccess,onFailed,userContext) {
/// <param name="controlId" type="String">System.String</param>
/// <param name="contactPropertyId" type="String">System.String</param>
/// <param name="userId" type="String">System.String</param>
/// <param name="connectionId" type="String">System.String</param>
/// <param name="fieldType" type="String">System.String</param>
/// <param name="fieldName" type="String">System.String</param>
/// <param name="value" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveContactData(controlId,contactPropertyId,userId,connectionId,fieldType,fieldName,value,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveProfileField= function(propertyName,value,onSuccess,onFailed,userContext) {
/// <param name="propertyName" type="String">System.String</param>
/// <param name="value" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveProfileField(propertyName,value,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.CreateGroup= function(name,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.CreateGroup(name,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.JoinGroup= function(groupId,onSuccess,onFailed,userContext) {
/// <param name="groupId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.JoinGroup(groupId,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.DisjoinGroup= function(groupId,onSuccess,onFailed,userContext) {
/// <param name="groupId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.DisjoinGroup(groupId,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.DeleteGroup= function(groupId,onSuccess,onFailed,userContext) {
/// <param name="groupId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.DeleteGroup(groupId,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveGroupName= function(groupId,groupName,onSuccess,onFailed,userContext) {
/// <param name="groupId" type="String">System.String</param>
/// <param name="groupName" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveGroupName(groupId,groupName,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveGroupDescription= function(groupId,groupDescription,onSuccess,onFailed,userContext) {
/// <param name="groupId" type="String">System.String</param>
/// <param name="groupDescription" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveGroupDescription(groupId,groupDescription,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SearchGroups= function(search,onSuccess,onFailed,userContext) {
/// <param name="search" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SearchGroups(search,onSuccess,onFailed,userContext); }
TwoNeeds.Website.TwoNeedsUIService.SaveGroupLogo= function(groupId,x,y,w,h,onSuccess,onFailed,userContext) {
/// <param name="groupId" type="String">System.Guid</param>
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</param>
/// <param name="w" type="Number">System.Int32</param>
/// <param name="h" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
TwoNeeds.Website.TwoNeedsUIService._staticInstance.SaveGroupLogo(groupId,x,y,w,h,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('TwoNeeds.Entities');
if (typeof(TwoNeeds.Entities.Contact) === 'undefined') {
TwoNeeds.Entities.Contact=gtc("TwoNeeds.Entities.Contact");
TwoNeeds.Entities.Contact.registerClass('TwoNeeds.Entities.Contact');
}
if (typeof(TwoNeeds.Entities.Profile) === 'undefined') {
TwoNeeds.Entities.Profile=gtc("TwoNeeds.Entities.Profile");
TwoNeeds.Entities.Profile.registerClass('TwoNeeds.Entities.Profile');
}
if (typeof(TwoNeeds.Entities.ResultGroup) === 'undefined') {
TwoNeeds.Entities.ResultGroup=gtc("TwoNeeds.Entities.ResultGroup");
TwoNeeds.Entities.ResultGroup.registerClass('TwoNeeds.Entities.ResultGroup');
}
if (typeof(TwoNeeds.Entities.Image) === 'undefined') {
TwoNeeds.Entities.Image=gtc("TwoNeeds.Entities.Image");
TwoNeeds.Entities.Image.registerClass('TwoNeeds.Entities.Image');
}
Type.registerNamespace('System.Drawing');
if (typeof(System.Drawing.Size) === 'undefined') {
System.Drawing.Size=gtc("System.Drawing.Size");
System.Drawing.Size.registerClass('System.Drawing.Size');
}
if (typeof(TwoNeeds.Entities.Company) === 'undefined') {
TwoNeeds.Entities.Company=gtc("TwoNeeds.Entities.Company");
TwoNeeds.Entities.Company.registerClass('TwoNeeds.Entities.Company');
}
if (typeof(TwoNeeds.Entities.BusinessCard) === 'undefined') {
TwoNeeds.Entities.BusinessCard=gtc("TwoNeeds.Entities.BusinessCard");
TwoNeeds.Entities.BusinessCard.registerClass('TwoNeeds.Entities.BusinessCard');
}
if (typeof(TwoNeeds.Entities.BusinessCardTemplate) === 'undefined') {
TwoNeeds.Entities.BusinessCardTemplate=gtc("TwoNeeds.Entities.BusinessCardTemplate");
TwoNeeds.Entities.BusinessCardTemplate.registerClass('TwoNeeds.Entities.BusinessCardTemplate');
}
if (typeof(TwoNeeds.Entities.Group) === 'undefined') {
TwoNeeds.Entities.Group=gtc("TwoNeeds.Entities.Group");
TwoNeeds.Entities.Group.registerClass('TwoNeeds.Entities.Group');
}
