Type.registerNamespace('YardHouse.Services');
YardHouse.Services.CmsPageAccessor=function() {
YardHouse.Services.CmsPageAccessor.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
YardHouse.Services.CmsPageAccessor.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return YardHouse.Services.CmsPageAccessor._staticInstance.get_path();},
GetContent:function(PageTitle,Language,succeededCallback, failedCallback, userContext) {
/// <param name="PageTitle" type="String">System.String</param>
/// <param name="Language" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetContent',false,{PageTitle:PageTitle,Language:Language},succeededCallback,failedCallback,userContext); },
GetNutritionContent:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetNutritionContent',false,{},succeededCallback,failedCallback,userContext); },
GetBeerMenuLinks:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetBeerMenuLinks',false,{},succeededCallback,failedCallback,userContext); },
GetGlutenHeader:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetGlutenHeader',false,{},succeededCallback,failedCallback,userContext); },
GetKidsHeader:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetKidsHeader',false,{},succeededCallback,failedCallback,userContext); },
GetMenuDownloadHtml:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetMenuDownloadHtml',false,{},succeededCallback,failedCallback,userContext); },
GetMenuHideScripts:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetMenuHideScripts',false,{},succeededCallback,failedCallback,userContext); },
GetSpecialtyDrinksHeader:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetSpecialtyDrinksHeader',false,{},succeededCallback,failedCallback,userContext); },
GetWineHeader:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetWineHeader',false,{},succeededCallback,failedCallback,userContext); },
GetGardeinHeader:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetGardeinHeader',false,{},succeededCallback,failedCallback,userContext); }}
YardHouse.Services.CmsPageAccessor.registerClass('YardHouse.Services.CmsPageAccessor',Sys.Net.WebServiceProxy);
YardHouse.Services.CmsPageAccessor._staticInstance = new YardHouse.Services.CmsPageAccessor();
YardHouse.Services.CmsPageAccessor.set_path = function(value) {
YardHouse.Services.CmsPageAccessor._staticInstance.set_path(value); }
YardHouse.Services.CmsPageAccessor.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return YardHouse.Services.CmsPageAccessor._staticInstance.get_path();}
YardHouse.Services.CmsPageAccessor.set_timeout = function(value) {
YardHouse.Services.CmsPageAccessor._staticInstance.set_timeout(value); }
YardHouse.Services.CmsPageAccessor.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return YardHouse.Services.CmsPageAccessor._staticInstance.get_timeout(); }
YardHouse.Services.CmsPageAccessor.set_defaultUserContext = function(value) { 
YardHouse.Services.CmsPageAccessor._staticInstance.set_defaultUserContext(value); }
YardHouse.Services.CmsPageAccessor.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return YardHouse.Services.CmsPageAccessor._staticInstance.get_defaultUserContext(); }
YardHouse.Services.CmsPageAccessor.set_defaultSucceededCallback = function(value) { 
 YardHouse.Services.CmsPageAccessor._staticInstance.set_defaultSucceededCallback(value); }
YardHouse.Services.CmsPageAccessor.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return YardHouse.Services.CmsPageAccessor._staticInstance.get_defaultSucceededCallback(); }
YardHouse.Services.CmsPageAccessor.set_defaultFailedCallback = function(value) { 
YardHouse.Services.CmsPageAccessor._staticInstance.set_defaultFailedCallback(value); }
YardHouse.Services.CmsPageAccessor.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return YardHouse.Services.CmsPageAccessor._staticInstance.get_defaultFailedCallback(); }
YardHouse.Services.CmsPageAccessor.set_path("/services/cms_page.asmx");
YardHouse.Services.CmsPageAccessor.GetContent= function(PageTitle,Language,onSuccess,onFailed,userContext) {
/// <param name="PageTitle" type="String">System.String</param>
/// <param name="Language" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
YardHouse.Services.CmsPageAccessor._staticInstance.GetContent(PageTitle,Language,onSuccess,onFailed,userContext); }
YardHouse.Services.CmsPageAccessor.GetNutritionContent= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
YardHouse.Services.CmsPageAccessor._staticInstance.GetNutritionContent(onSuccess,onFailed,userContext); }
YardHouse.Services.CmsPageAccessor.GetBeerMenuLinks= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
YardHouse.Services.CmsPageAccessor._staticInstance.GetBeerMenuLinks(onSuccess,onFailed,userContext); }
YardHouse.Services.CmsPageAccessor.GetGlutenHeader= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
YardHouse.Services.CmsPageAccessor._staticInstance.GetGlutenHeader(onSuccess,onFailed,userContext); }
YardHouse.Services.CmsPageAccessor.GetKidsHeader= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
YardHouse.Services.CmsPageAccessor._staticInstance.GetKidsHeader(onSuccess,onFailed,userContext); }
YardHouse.Services.CmsPageAccessor.GetMenuDownloadHtml= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
YardHouse.Services.CmsPageAccessor._staticInstance.GetMenuDownloadHtml(onSuccess,onFailed,userContext); }
YardHouse.Services.CmsPageAccessor.GetMenuHideScripts= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
YardHouse.Services.CmsPageAccessor._staticInstance.GetMenuHideScripts(onSuccess,onFailed,userContext); }
YardHouse.Services.CmsPageAccessor.GetSpecialtyDrinksHeader= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
YardHouse.Services.CmsPageAccessor._staticInstance.GetSpecialtyDrinksHeader(onSuccess,onFailed,userContext); }
YardHouse.Services.CmsPageAccessor.GetWineHeader= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
YardHouse.Services.CmsPageAccessor._staticInstance.GetWineHeader(onSuccess,onFailed,userContext); }
YardHouse.Services.CmsPageAccessor.GetGardeinHeader= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
YardHouse.Services.CmsPageAccessor._staticInstance.GetGardeinHeader(onSuccess,onFailed,userContext); }

