var GroupService=function() {
GroupService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GroupService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GroupService._staticInstance.get_path();},
AddGroupToUser:function(groupName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddGroupToUser',false,{groupName:groupName},succeededCallback,failedCallback,userContext); },
UpdateGroup:function(contactGroupName,contactGroupID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateGroup',false,{contactGroupName:contactGroupName,contactGroupID:contactGroupID},succeededCallback,failedCallback,userContext); },
DeleteGroup:function(groupID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteGroup',false,{groupID:groupID},succeededCallback,failedCallback,userContext); },
GetHelperGroupList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHelperGroupList',false,{},succeededCallback,failedCallback,userContext); },
GetUserListOfMyContactWhoAddedBusinessContacts:function(contactID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserListOfMyContactWhoAddedBusinessContacts',false,{contactID:contactID},succeededCallback,failedCallback,userContext); },
AddCategoryToUserGroupList:function(categoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddCategoryToUserGroupList',false,{categoryID:categoryID},succeededCallback,failedCallback,userContext); }}
GroupService.registerClass('GroupService',Sys.Net.WebServiceProxy);
GroupService._staticInstance = new GroupService();
GroupService.set_path = function(value) { GroupService._staticInstance.set_path(value); }
GroupService.get_path = function() { return GroupService._staticInstance.get_path(); }
GroupService.set_timeout = function(value) { GroupService._staticInstance.set_timeout(value); }
GroupService.get_timeout = function() { return GroupService._staticInstance.get_timeout(); }
GroupService.set_defaultUserContext = function(value) { GroupService._staticInstance.set_defaultUserContext(value); }
GroupService.get_defaultUserContext = function() { return GroupService._staticInstance.get_defaultUserContext(); }
GroupService.set_defaultSucceededCallback = function(value) { GroupService._staticInstance.set_defaultSucceededCallback(value); }
GroupService.get_defaultSucceededCallback = function() { return GroupService._staticInstance.get_defaultSucceededCallback(); }
GroupService.set_defaultFailedCallback = function(value) { GroupService._staticInstance.set_defaultFailedCallback(value); }
GroupService.get_defaultFailedCallback = function() { return GroupService._staticInstance.get_defaultFailedCallback(); }
GroupService.set_path("/WebServices/GroupService.asmx");
GroupService.AddGroupToUser= function(groupName,onSuccess,onFailed,userContext) {GroupService._staticInstance.AddGroupToUser(groupName,onSuccess,onFailed,userContext); }
GroupService.UpdateGroup= function(contactGroupName,contactGroupID,onSuccess,onFailed,userContext) {GroupService._staticInstance.UpdateGroup(contactGroupName,contactGroupID,onSuccess,onFailed,userContext); }
GroupService.DeleteGroup= function(groupID,onSuccess,onFailed,userContext) {GroupService._staticInstance.DeleteGroup(groupID,onSuccess,onFailed,userContext); }
GroupService.GetHelperGroupList= function(onSuccess,onFailed,userContext) {GroupService._staticInstance.GetHelperGroupList(onSuccess,onFailed,userContext); }
GroupService.GetUserListOfMyContactWhoAddedBusinessContacts= function(contactID,onSuccess,onFailed,userContext) {GroupService._staticInstance.GetUserListOfMyContactWhoAddedBusinessContacts(contactID,onSuccess,onFailed,userContext); }
GroupService.AddCategoryToUserGroupList= function(categoryID,onSuccess,onFailed,userContext) {GroupService._staticInstance.AddCategoryToUserGroupList(categoryID,onSuccess,onFailed,userContext); }
