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={
RestoreDefaults:function(categoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(GG.GVWS.get_path(), 'RestoreDefaults',false,{categoryID:categoryID},succeededCallback,failedCallback,userContext); },
GetSourcePage:function(pageIndex,categoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(GG.GVWS.get_path(), 'GetSourcePage',true,{pageIndex:pageIndex,categoryID:categoryID},succeededCallback,failedCallback,userContext); },
SaveLayout:function(categoryID,list,succeededCallback, failedCallback, userContext) {
return this._invoke(GG.GVWS.get_path(), 'SaveLayout',false,{categoryID:categoryID,list:list},succeededCallback,failedCallback,userContext); },
RemoveFeed:function(categoryID,feedID,succeededCallback, failedCallback, userContext) {
return this._invoke(GG.GVWS.get_path(), 'RemoveFeed',false,{categoryID:categoryID,feedID:feedID},succeededCallback,failedCallback,userContext); },
PreviewFeed:function(feedID,succeededCallback, failedCallback, userContext) {
return this._invoke(GG.GVWS.get_path(), 'PreviewFeed',false,{feedID:feedID},succeededCallback,failedCallback,userContext); },
AddFeed:function(categoryID,feedID,succeededCallback, failedCallback, userContext) {
return this._invoke(GG.GVWS.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._path = value; }
GG.GVWS.get_path = function() { return GG.GVWS._staticInstance._path; }
GG.GVWS.set_timeout = function(value) { GG.GVWS._staticInstance._timeout = value; }
GG.GVWS.get_timeout = function() { return GG.GVWS._staticInstance._timeout; }
GG.GVWS.set_defaultUserContext = function(value) { GG.GVWS._staticInstance._userContext = value; }
GG.GVWS.get_defaultUserContext = function() { return GG.GVWS._staticInstance._userContext; }
GG.GVWS.set_defaultSucceededCallback = function(value) { GG.GVWS._staticInstance._succeeded = value; }
GG.GVWS.get_defaultSucceededCallback = function() { return GG.GVWS._staticInstance._succeeded; }
GG.GVWS.set_defaultFailedCallback = function(value) { GG.GVWS._staticInstance._failed = value; }
GG.GVWS.get_defaultFailedCallback = function() { return GG.GVWS._staticInstance._failed; }
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); }
