var ContentBrowserService=function() {
ContentBrowserService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ContentBrowserService.prototype={
GetFirstPanelContent:function(tree,contentPath,categoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentBrowserService.get_path(), 'GetFirstPanelContent',true,{tree:tree,contentPath:contentPath,categoryID:categoryID},succeededCallback,failedCallback,userContext); },
GetLastSeenPanelContent:function(tree,contentPath,currentPageID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentBrowserService.get_path(), 'GetLastSeenPanelContent',true,{tree:tree,contentPath:contentPath,currentPageID:currentPageID},succeededCallback,failedCallback,userContext); },
GetPanelContentByUrl:function(tree,contentPath,pageUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentBrowserService.get_path(), 'GetPanelContentByUrl',true,{tree:tree,contentPath:contentPath,pageUrl:pageUrl},succeededCallback,failedCallback,userContext); },
GetPanelContent:function(tree,contentPath,pageID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentBrowserService.get_path(), 'GetPanelContent',true,{tree:tree,contentPath:contentPath,pageID:pageID},succeededCallback,failedCallback,userContext); },
GetLastSeenPageList:function(tree,currentPageID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentBrowserService.get_path(), 'GetLastSeenPageList',true,{tree:tree,currentPageID:currentPageID},succeededCallback,failedCallback,userContext); },
GetPageListByUrl:function(tree,url,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentBrowserService.get_path(), 'GetPageListByUrl',true,{tree:tree,url:url},succeededCallback,failedCallback,userContext); },
GetPageList:function(tree,categoryID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentBrowserService.get_path(), 'GetPageList',true,{tree:tree,categoryID:categoryID},succeededCallback,failedCallback,userContext); }}
ContentBrowserService.registerClass('ContentBrowserService',Sys.Net.WebServiceProxy);
ContentBrowserService._staticInstance = new ContentBrowserService();
ContentBrowserService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ContentBrowserService._staticInstance._path = value; }
ContentBrowserService.get_path = function() { return ContentBrowserService._staticInstance._path; }
ContentBrowserService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
ContentBrowserService._staticInstance._timeout = value; }
ContentBrowserService.get_timeout = function() { 
return ContentBrowserService._staticInstance._timeout; }
ContentBrowserService.set_defaultUserContext = function(value) { 
ContentBrowserService._staticInstance._userContext = value; }
ContentBrowserService.get_defaultUserContext = function() { 
return ContentBrowserService._staticInstance._userContext; }
ContentBrowserService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ContentBrowserService._staticInstance._succeeded = value; }
ContentBrowserService.get_defaultSucceededCallback = function() { 
return ContentBrowserService._staticInstance._succeeded; }
ContentBrowserService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ContentBrowserService._staticInstance._failed = value; }
ContentBrowserService.get_defaultFailedCallback = function() { 
return ContentBrowserService._staticInstance._failed; }
ContentBrowserService.set_path("/contentbrowser/ContentBrowserService.asmx");
ContentBrowserService.GetFirstPanelContent= function(tree,contentPath,categoryID,onSuccess,onFailed,userContext) {ContentBrowserService._staticInstance.GetFirstPanelContent(tree,contentPath,categoryID,onSuccess,onFailed,userContext); }
ContentBrowserService.GetLastSeenPanelContent= function(tree,contentPath,currentPageID,onSuccess,onFailed,userContext) {ContentBrowserService._staticInstance.GetLastSeenPanelContent(tree,contentPath,currentPageID,onSuccess,onFailed,userContext); }
ContentBrowserService.GetPanelContentByUrl= function(tree,contentPath,pageUrl,onSuccess,onFailed,userContext) {ContentBrowserService._staticInstance.GetPanelContentByUrl(tree,contentPath,pageUrl,onSuccess,onFailed,userContext); }
ContentBrowserService.GetPanelContent= function(tree,contentPath,pageID,onSuccess,onFailed,userContext) {ContentBrowserService._staticInstance.GetPanelContent(tree,contentPath,pageID,onSuccess,onFailed,userContext); }
ContentBrowserService.GetLastSeenPageList= function(tree,currentPageID,onSuccess,onFailed,userContext) {ContentBrowserService._staticInstance.GetLastSeenPageList(tree,currentPageID,onSuccess,onFailed,userContext); }
ContentBrowserService.GetPageListByUrl= function(tree,url,onSuccess,onFailed,userContext) {ContentBrowserService._staticInstance.GetPageListByUrl(tree,url,onSuccess,onFailed,userContext); }
ContentBrowserService.GetPageList= function(tree,categoryID,onSuccess,onFailed,userContext) {ContentBrowserService._staticInstance.GetPageList(tree,categoryID,onSuccess,onFailed,userContext); }
