Type.registerNamespace('CellflareWeb');
CellflareWeb.ContactService=function() {
CellflareWeb.ContactService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CellflareWeb.ContactService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CellflareWeb.ContactService._staticInstance.get_path();},
GetAllGroupsForUser:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllGroupsForUser',false,{},succeededCallback,failedCallback,userContext); },
GetOneGroupForUser:function(GroupName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetOneGroupForUser',false,{GroupName:GroupName},succeededCallback,failedCallback,userContext); },
GetContactsForUser:function(GivenStatus,GroupName,bAll,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContactsForUser',false,{GivenStatus:GivenStatus,GroupName:GroupName,bAll:bAll},succeededCallback,failedCallback,userContext); },
CreateContact:function(ContactUserName,GroupName,Memo,pnl,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateContact',false,{ContactUserName:ContactUserName,GroupName:GroupName,Memo:Memo,pnl:pnl},succeededCallback,failedCallback,userContext); },
EditContactStatus:function(ContactUserName,Status,pnl,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditContactStatus',false,{ContactUserName:ContactUserName,Status:Status,pnl:pnl},succeededCallback,failedCallback,userContext); },
EditContact:function(ContactUserName,Status,Memo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditContact',false,{ContactUserName:ContactUserName,Status:Status,Memo:Memo},succeededCallback,failedCallback,userContext); },
CreateContactGroup:function(GroupName,Description,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateContactGroup',false,{GroupName:GroupName,Description:Description},succeededCallback,failedCallback,userContext); },
DeleteContactGroup:function(GroupName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteContactGroup',false,{GroupName:GroupName},succeededCallback,failedCallback,userContext); },
UpdateContactGroup:function(OldGroupName,GroupName,Description,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateContactGroup',false,{OldGroupName:OldGroupName,GroupName:GroupName,Description:Description},succeededCallback,failedCallback,userContext); },
EditContactGroupWithList:function(OldGroupName,NewGroupName,Description,ContactList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditContactGroupWithList',false,{OldGroupName:OldGroupName,NewGroupName:NewGroupName,Description:Description,ContactList:ContactList},succeededCallback,failedCallback,userContext); },
GetContactsWithSimForUser:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContactsWithSimForUser',false,{},succeededCallback,failedCallback,userContext); },
SearchContactsByOne:function(val,PegeRecords,CurrentPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchContactsByOne',false,{val:val,PegeRecords:PegeRecords,CurrentPage:CurrentPage},succeededCallback,failedCallback,userContext); },
SearchRequests:function(Username,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchRequests',false,{Username:Username},succeededCallback,failedCallback,userContext); },
GetErrorList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetErrorList',false,{},succeededCallback,failedCallback,userContext); },
GetLoginUsername:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLoginUsername',false,{},succeededCallback,failedCallback,userContext); },
QuickLocate:function(phoneNumber,pin,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'QuickLocate',false,{phoneNumber:phoneNumber,pin:pin},succeededCallback,failedCallback,userContext); },
GetRssNews:function(uri,imax,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRssNews',false,{uri:uri,imax:imax},succeededCallback,failedCallback,userContext); },
GetLatestActivite:function(cName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLatestActivite',false,{cName:cName},succeededCallback,failedCallback,userContext); },
GetContactDetail:function(cName,CallBackContainer,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContactDetail',false,{cName:cName,CallBackContainer:CallBackContainer},succeededCallback,failedCallback,userContext); },
GetGroups:function(GroupName,Op,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGroups',false,{GroupName:GroupName,Op:Op},succeededCallback,failedCallback,userContext); },
GetContacts:function(PageSearchName,GroupName,SearchKey,AlphaKey,ShowPending,SortName,SortType,PegeRecords,CurrentPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContacts',false,{PageSearchName:PageSearchName,GroupName:GroupName,SearchKey:SearchKey,AlphaKey:AlphaKey,ShowPending:ShowPending,SortName:SortName,SortType:SortType,PegeRecords:PegeRecords,CurrentPage:CurrentPage},succeededCallback,failedCallback,userContext); },
GetNewFriends:function(PageSearchName,SearchKey,AlphaKey,SortName,SortType,PegeRecords,CurrentPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewFriends',false,{PageSearchName:PageSearchName,SearchKey:SearchKey,AlphaKey:AlphaKey,SortName:SortName,SortType:SortType,PegeRecords:PegeRecords,CurrentPage:CurrentPage},succeededCallback,failedCallback,userContext); },
GetAllContactsName:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllContactsName',false,{},succeededCallback,failedCallback,userContext); },
GetPendingCount:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPendingCount',false,{},succeededCallback,failedCallback,userContext); }}
CellflareWeb.ContactService.registerClass('CellflareWeb.ContactService',Sys.Net.WebServiceProxy);
CellflareWeb.ContactService._staticInstance = new CellflareWeb.ContactService();
CellflareWeb.ContactService.set_path = function(value) { CellflareWeb.ContactService._staticInstance.set_path(value); }
CellflareWeb.ContactService.get_path = function() { return CellflareWeb.ContactService._staticInstance.get_path(); }
CellflareWeb.ContactService.set_timeout = function(value) { CellflareWeb.ContactService._staticInstance.set_timeout(value); }
CellflareWeb.ContactService.get_timeout = function() { return CellflareWeb.ContactService._staticInstance.get_timeout(); }
CellflareWeb.ContactService.set_defaultUserContext = function(value) { CellflareWeb.ContactService._staticInstance.set_defaultUserContext(value); }
CellflareWeb.ContactService.get_defaultUserContext = function() { return CellflareWeb.ContactService._staticInstance.get_defaultUserContext(); }
CellflareWeb.ContactService.set_defaultSucceededCallback = function(value) { CellflareWeb.ContactService._staticInstance.set_defaultSucceededCallback(value); }
CellflareWeb.ContactService.get_defaultSucceededCallback = function() { return CellflareWeb.ContactService._staticInstance.get_defaultSucceededCallback(); }
CellflareWeb.ContactService.set_defaultFailedCallback = function(value) { CellflareWeb.ContactService._staticInstance.set_defaultFailedCallback(value); }
CellflareWeb.ContactService.get_defaultFailedCallback = function() { return CellflareWeb.ContactService._staticInstance.get_defaultFailedCallback(); }
CellflareWeb.ContactService.set_path("/ContactService.asmx");
CellflareWeb.ContactService.GetAllGroupsForUser= function(onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetAllGroupsForUser(onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetOneGroupForUser= function(GroupName,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetOneGroupForUser(GroupName,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetContactsForUser= function(GivenStatus,GroupName,bAll,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetContactsForUser(GivenStatus,GroupName,bAll,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.CreateContact= function(ContactUserName,GroupName,Memo,pnl,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.CreateContact(ContactUserName,GroupName,Memo,pnl,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.EditContactStatus= function(ContactUserName,Status,pnl,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.EditContactStatus(ContactUserName,Status,pnl,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.EditContact= function(ContactUserName,Status,Memo,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.EditContact(ContactUserName,Status,Memo,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.CreateContactGroup= function(GroupName,Description,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.CreateContactGroup(GroupName,Description,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.DeleteContactGroup= function(GroupName,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.DeleteContactGroup(GroupName,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.UpdateContactGroup= function(OldGroupName,GroupName,Description,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.UpdateContactGroup(OldGroupName,GroupName,Description,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.EditContactGroupWithList= function(OldGroupName,NewGroupName,Description,ContactList,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.EditContactGroupWithList(OldGroupName,NewGroupName,Description,ContactList,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetContactsWithSimForUser= function(onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetContactsWithSimForUser(onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.SearchContactsByOne= function(val,PegeRecords,CurrentPage,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.SearchContactsByOne(val,PegeRecords,CurrentPage,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.SearchRequests= function(Username,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.SearchRequests(Username,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetErrorList= function(onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetErrorList(onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetLoginUsername= function(onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetLoginUsername(onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.QuickLocate= function(phoneNumber,pin,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.QuickLocate(phoneNumber,pin,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetRssNews= function(uri,imax,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetRssNews(uri,imax,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetLatestActivite= function(cName,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetLatestActivite(cName,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetContactDetail= function(cName,CallBackContainer,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetContactDetail(cName,CallBackContainer,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetGroups= function(GroupName,Op,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetGroups(GroupName,Op,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetContacts= function(PageSearchName,GroupName,SearchKey,AlphaKey,ShowPending,SortName,SortType,PegeRecords,CurrentPage,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetContacts(PageSearchName,GroupName,SearchKey,AlphaKey,ShowPending,SortName,SortType,PegeRecords,CurrentPage,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetNewFriends= function(PageSearchName,SearchKey,AlphaKey,SortName,SortType,PegeRecords,CurrentPage,onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetNewFriends(PageSearchName,SearchKey,AlphaKey,SortName,SortType,PegeRecords,CurrentPage,onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetAllContactsName= function(onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetAllContactsName(onSuccess,onFailed,userContext); }
CellflareWeb.ContactService.GetPendingCount= function(onSuccess,onFailed,userContext) {CellflareWeb.ContactService._staticInstance.GetPendingCount(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('CellflareLib.Contacts');
if (typeof(CellflareLib.Contacts.ContactGroupInfo) === 'undefined') {
CellflareLib.Contacts.ContactGroupInfo=gtc("CellflareLib.Contacts.ContactGroupInfo");
CellflareLib.Contacts.ContactGroupInfo.registerClass('CellflareLib.Contacts.ContactGroupInfo');
}
if (typeof(CellflareLib.Contacts.ContactInfo) === 'undefined') {
CellflareLib.Contacts.ContactInfo=gtc("CellflareLib.Contacts.ContactInfo");
CellflareLib.Contacts.ContactInfo.registerClass('CellflareLib.Contacts.ContactInfo');
}
if (typeof(CellflareLib.Contacts.CSInfo) === 'undefined') {
CellflareLib.Contacts.CSInfo=gtc("CellflareLib.Contacts.CSInfo");
CellflareLib.Contacts.CSInfo.registerClass('CellflareLib.Contacts.CSInfo');
}
if (typeof(CellflareLib.Contacts.ErrMessage) === 'undefined') {
CellflareLib.Contacts.ErrMessage=gtc("CellflareLib.Contacts.ErrMessage");
CellflareLib.Contacts.ErrMessage.registerClass('CellflareLib.Contacts.ErrMessage');
}
Type.registerNamespace('CellflareLib.GeoCoding');
if (typeof(CellflareLib.GeoCoding.GPSFullInfo) === 'undefined') {
CellflareLib.GeoCoding.GPSFullInfo=gtc("CellflareLib.GeoCoding.GPSFullInfo");
CellflareLib.GeoCoding.GPSFullInfo.registerClass('CellflareLib.GeoCoding.GPSFullInfo');
}
