Type.registerNamespace('GG');
GG.GVWS=function() {
GG.GVWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GG.GVWS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GG.GVWS._staticInstance.get_path();},
RestoreDefaults:function(categoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RestoreDefaults',false,{categoryID:categoryID},succeededCallback,failedCallback,userContext); },
GetSourcePage:function(pageIndex,categoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSourcePage',true,{pageIndex:pageIndex,categoryID:categoryID},succeededCallback,failedCallback,userContext); },
SaveLayout:function(categoryID,list,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveLayout',false,{categoryID:categoryID,list:list},succeededCallback,failedCallback,userContext); },
RemoveFeed:function(categoryID,feedID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveFeed',false,{categoryID:categoryID,feedID:feedID},succeededCallback,failedCallback,userContext); },
PreviewFeed:function(feedID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PreviewFeed',false,{feedID:feedID},succeededCallback,failedCallback,userContext); },
AddFeed:function(categoryID,feedID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddFeed',false,{categoryID:categoryID,feedID:feedID},succeededCallback,failedCallback,userContext); }}
GG.GVWS.registerClass('GG.GVWS',Sys.Net.WebServiceProxy);
GG.GVWS._staticInstance = new GG.GVWS();
GG.GVWS.set_path = function(value) { GG.GVWS._staticInstance.set_path(value); }
GG.GVWS.get_path = function() { return GG.GVWS._staticInstance.get_path(); }
GG.GVWS.set_timeout = function(value) { GG.GVWS._staticInstance.set_timeout(value); }
GG.GVWS.get_timeout = function() { return GG.GVWS._staticInstance.get_timeout(); }
GG.GVWS.set_defaultUserContext = function(value) { GG.GVWS._staticInstance.set_defaultUserContext(value); }
GG.GVWS.get_defaultUserContext = function() { return GG.GVWS._staticInstance.get_defaultUserContext(); }
GG.GVWS.set_defaultSucceededCallback = function(value) { GG.GVWS._staticInstance.set_defaultSucceededCallback(value); }
GG.GVWS.get_defaultSucceededCallback = function() { return GG.GVWS._staticInstance.get_defaultSucceededCallback(); }
GG.GVWS.set_defaultFailedCallback = function(value) { GG.GVWS._staticInstance.set_defaultFailedCallback(value); }
GG.GVWS.get_defaultFailedCallback = function() { return GG.GVWS._staticInstance.get_defaultFailedCallback(); }
GG.GVWS.set_path("/services/GlobalViewWebService.asmx");
GG.GVWS.RestoreDefaults= function(categoryID,onSuccess,onFailed,userContext) {GG.GVWS._staticInstance.RestoreDefaults(categoryID,onSuccess,onFailed,userContext); }
GG.GVWS.GetSourcePage= function(pageIndex,categoryID,onSuccess,onFailed,userContext) {GG.GVWS._staticInstance.GetSourcePage(pageIndex,categoryID,onSuccess,onFailed,userContext); }
GG.GVWS.SaveLayout= function(categoryID,list,onSuccess,onFailed,userContext) {GG.GVWS._staticInstance.SaveLayout(categoryID,list,onSuccess,onFailed,userContext); }
GG.GVWS.RemoveFeed= function(categoryID,feedID,onSuccess,onFailed,userContext) {GG.GVWS._staticInstance.RemoveFeed(categoryID,feedID,onSuccess,onFailed,userContext); }
GG.GVWS.PreviewFeed= function(feedID,onSuccess,onFailed,userContext) {GG.GVWS._staticInstance.PreviewFeed(feedID,onSuccess,onFailed,userContext); }
GG.GVWS.AddFeed= function(categoryID,feedID,onSuccess,onFailed,userContext) {GG.GVWS._staticInstance.AddFeed(categoryID,feedID,onSuccess,onFailed,userContext); }
