Type.registerNamespace('Clozone.Web.WebService'); Clozone.Web.WebService.Group = { path: "/WebService/Group.asmx", ValidatePrefix:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "ValidatePrefix",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, GetGroups:function(username,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetGroups",{username:username}, onMethodComplete, onMethodTimeout); }, GetGroupsPaged:function(prefix,pageIndex,pageSize,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetGroupsPaged",{prefix:prefix,pageIndex:pageIndex,pageSize:pageSize}, onMethodComplete, onMethodTimeout); }, GetNotice:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetNotice",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, UpdateNotice:function(prefix,notice,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "UpdateNotice",{prefix:prefix,notice:notice}, onMethodComplete, onMethodTimeout); }, InviteUsers:function(prefix,userIDs,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "InviteUsers",{prefix:prefix,userIDs:userIDs}, onMethodComplete, onMethodTimeout); }, GetMembersAndCandidates:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetMembersAndCandidates",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, GetMembers:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetMembers",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, GetMembersPaged:function(prefix,pageIndex,pageSize,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetMembersPaged",{prefix:prefix,pageIndex:pageIndex,pageSize:pageSize}, onMethodComplete, onMethodTimeout); }, GetAdminsPaged:function(prefix,pageIndex,pageSize,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetAdminsPaged",{prefix:prefix,pageIndex:pageIndex,pageSize:pageSize}, onMethodComplete, onMethodTimeout); }, ApproveJoin:function(prefix,userID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "ApproveJoin",{prefix:prefix,userID:userID}, onMethodComplete, onMethodTimeout); }, DisapproveJoin:function(prefix,userID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "DisapproveJoin",{prefix:prefix,userID:userID}, onMethodComplete, onMethodTimeout); }, Kick:function(prefix,userID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "Kick",{prefix:prefix,userID:userID}, onMethodComplete, onMethodTimeout); }, Join:function(portalID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "Join",{portalID:portalID}, onMethodComplete, onMethodTimeout); }, Secede:function(portalID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "Secede",{portalID:portalID}, onMethodComplete, onMethodTimeout); }, Promote:function(prefix,userID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "Promote",{prefix:prefix,userID:userID}, onMethodComplete, onMethodTimeout); }, Demote:function(prefix,userID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "Demote",{prefix:prefix,userID:userID}, onMethodComplete, onMethodTimeout); }, GetGroupsByMultiCondition:function(groupName,groupTag,groupType,pageIndex,pageSize,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetGroupsByMultiCondition",{groupName:groupName,groupTag:groupTag,groupType:groupType,pageIndex:pageIndex,pageSize:pageSize}, onMethodComplete, onMethodTimeout); }, GetGroupCategory:function(onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetGroupCategory",{}, onMethodComplete, onMethodTimeout); } }