Type.registerNamespace('CMS_Template');
CMS_Template.CmsService=function() {
CMS_Template.CmsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CMS_Template.CmsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CMS_Template.CmsService._staticInstance.get_path();},
GetSucheInfo:function(sSuchbegriff,sTxtID,succeededCallback, failedCallback, userContext) {
/// <param name="sSuchbegriff" type="String">System.String</param>
/// <param name="sTxtID" 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(), 'GetSucheInfo',false,{sSuchbegriff:sSuchbegriff,sTxtID:sTxtID},succeededCallback,failedCallback,userContext); },
SetSuchbegriff:function(sSuchbegriff,succeededCallback, failedCallback, userContext) {
/// <param name="sSuchbegriff" 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(), 'SetSuchbegriff',false,{sSuchbegriff:sSuchbegriff},succeededCallback,failedCallback,userContext); },
SetPage:function(nIndex,_sSetKey,succeededCallback, failedCallback, userContext) {
/// <param name="nIndex" type="Number">System.Int32</param>
/// <param name="_sSetKey" 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(), 'SetPage',false,{nIndex:nIndex,_sSetKey:_sSetKey},succeededCallback,failedCallback,userContext); },
GetInfo: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(), 'GetInfo',false,{},succeededCallback,failedCallback,userContext); }}
CMS_Template.CmsService.registerClass('CMS_Template.CmsService',Sys.Net.WebServiceProxy);
CMS_Template.CmsService._staticInstance = new CMS_Template.CmsService();
CMS_Template.CmsService.set_path = function(value) {
CMS_Template.CmsService._staticInstance.set_path(value); }
CMS_Template.CmsService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CMS_Template.CmsService._staticInstance.get_path();}
CMS_Template.CmsService.set_timeout = function(value) {
CMS_Template.CmsService._staticInstance.set_timeout(value); }
CMS_Template.CmsService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CMS_Template.CmsService._staticInstance.get_timeout(); }
CMS_Template.CmsService.set_defaultUserContext = function(value) { 
CMS_Template.CmsService._staticInstance.set_defaultUserContext(value); }
CMS_Template.CmsService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CMS_Template.CmsService._staticInstance.get_defaultUserContext(); }
CMS_Template.CmsService.set_defaultSucceededCallback = function(value) { 
 CMS_Template.CmsService._staticInstance.set_defaultSucceededCallback(value); }
CMS_Template.CmsService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CMS_Template.CmsService._staticInstance.get_defaultSucceededCallback(); }
CMS_Template.CmsService.set_defaultFailedCallback = function(value) { 
CMS_Template.CmsService._staticInstance.set_defaultFailedCallback(value); }
CMS_Template.CmsService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CMS_Template.CmsService._staticInstance.get_defaultFailedCallback(); }
CMS_Template.CmsService.set_enableJsonp = function(value) { CMS_Template.CmsService._staticInstance.set_enableJsonp(value); }
CMS_Template.CmsService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return CMS_Template.CmsService._staticInstance.get_enableJsonp(); }
CMS_Template.CmsService.set_jsonpCallbackParameter = function(value) { CMS_Template.CmsService._staticInstance.set_jsonpCallbackParameter(value); }
CMS_Template.CmsService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return CMS_Template.CmsService._staticInstance.get_jsonpCallbackParameter(); }
CMS_Template.CmsService.set_path("/CmsService.asmx");
CMS_Template.CmsService.GetSucheInfo= function(sSuchbegriff,sTxtID,onSuccess,onFailed,userContext) {
/// <param name="sSuchbegriff" type="String">System.String</param>
/// <param name="sTxtID" 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>
CMS_Template.CmsService._staticInstance.GetSucheInfo(sSuchbegriff,sTxtID,onSuccess,onFailed,userContext); }
CMS_Template.CmsService.SetSuchbegriff= function(sSuchbegriff,onSuccess,onFailed,userContext) {
/// <param name="sSuchbegriff" 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>
CMS_Template.CmsService._staticInstance.SetSuchbegriff(sSuchbegriff,onSuccess,onFailed,userContext); }
CMS_Template.CmsService.SetPage= function(nIndex,_sSetKey,onSuccess,onFailed,userContext) {
/// <param name="nIndex" type="Number">System.Int32</param>
/// <param name="_sSetKey" 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>
CMS_Template.CmsService._staticInstance.SetPage(nIndex,_sSetKey,onSuccess,onFailed,userContext); }
CMS_Template.CmsService.GetInfo= 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>
CMS_Template.CmsService._staticInstance.GetInfo(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(CMS_Template.CSucheInfo) === 'undefined') {
CMS_Template.CSucheInfo=gtc("CMS_Template.CSucheInfo");
CMS_Template.CSucheInfo.registerClass('CMS_Template.CSucheInfo');
}
if (typeof(CMS_Template.CTabInfo) === 'undefined') {
CMS_Template.CTabInfo=gtc("CMS_Template.CTabInfo");
CMS_Template.CTabInfo.registerClass('CMS_Template.CTabInfo');
}
if (typeof(CMS_Template.CNewsletterInfo) === 'undefined') {
CMS_Template.CNewsletterInfo=gtc("CMS_Template.CNewsletterInfo");
CMS_Template.CNewsletterInfo.registerClass('CMS_Template.CNewsletterInfo');
}

