Type.registerNamespace('IPP.Web.Services');
IPP.Web.Services.ContentService=function() {
IPP.Web.Services.ContentService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
IPP.Web.Services.ContentService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return IPP.Web.Services.ContentService._staticInstance.get_path();},
GetContentTextByString:function(contentType,basePath,lang,succeededCallback, failedCallback, userContext) {
/// <param name="contentType" type="String">System.String</param>
/// <param name="basePath" type="String">System.String</param>
/// <param name="lang" 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(), 'GetContentTextByString',false,{contentType:contentType,basePath:basePath,lang:lang},succeededCallback,failedCallback,userContext); },
GetContentText:function(contentType,basePath,language,succeededCallback, failedCallback, userContext) {
/// <param name="contentType" type="IPP.Web.Services.ContentType">IPP.Web.Services.ContentType</param>
/// <param name="basePath" type="String">System.String</param>
/// <param name="language" type="IPP.Web.Services.Language">IPP.Web.Services.Language</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(), 'GetContentText',false,{contentType:contentType,basePath:basePath,language:language},succeededCallback,failedCallback,userContext); }}
IPP.Web.Services.ContentService.registerClass('IPP.Web.Services.ContentService',Sys.Net.WebServiceProxy);
IPP.Web.Services.ContentService._staticInstance = new IPP.Web.Services.ContentService();
IPP.Web.Services.ContentService.set_path = function(value) {
IPP.Web.Services.ContentService._staticInstance.set_path(value); }
IPP.Web.Services.ContentService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return IPP.Web.Services.ContentService._staticInstance.get_path();}
IPP.Web.Services.ContentService.set_timeout = function(value) {
IPP.Web.Services.ContentService._staticInstance.set_timeout(value); }
IPP.Web.Services.ContentService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return IPP.Web.Services.ContentService._staticInstance.get_timeout(); }
IPP.Web.Services.ContentService.set_defaultUserContext = function(value) { 
IPP.Web.Services.ContentService._staticInstance.set_defaultUserContext(value); }
IPP.Web.Services.ContentService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return IPP.Web.Services.ContentService._staticInstance.get_defaultUserContext(); }
IPP.Web.Services.ContentService.set_defaultSucceededCallback = function(value) { 
 IPP.Web.Services.ContentService._staticInstance.set_defaultSucceededCallback(value); }
IPP.Web.Services.ContentService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return IPP.Web.Services.ContentService._staticInstance.get_defaultSucceededCallback(); }
IPP.Web.Services.ContentService.set_defaultFailedCallback = function(value) { 
IPP.Web.Services.ContentService._staticInstance.set_defaultFailedCallback(value); }
IPP.Web.Services.ContentService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return IPP.Web.Services.ContentService._staticInstance.get_defaultFailedCallback(); }
IPP.Web.Services.ContentService.set_path("/services/ContentService.asmx");
IPP.Web.Services.ContentService.GetContentTextByString= function(contentType,basePath,lang,onSuccess,onFailed,userContext) {
/// <param name="contentType" type="String">System.String</param>
/// <param name="basePath" type="String">System.String</param>
/// <param name="lang" 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>
IPP.Web.Services.ContentService._staticInstance.GetContentTextByString(contentType,basePath,lang,onSuccess,onFailed,userContext); }
IPP.Web.Services.ContentService.GetContentText= function(contentType,basePath,language,onSuccess,onFailed,userContext) {
/// <param name="contentType" type="IPP.Web.Services.ContentType">IPP.Web.Services.ContentType</param>
/// <param name="basePath" type="String">System.String</param>
/// <param name="language" type="IPP.Web.Services.Language">IPP.Web.Services.Language</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>
IPP.Web.Services.ContentService._staticInstance.GetContentText(contentType,basePath,language,onSuccess,onFailed,userContext); }
if (typeof(IPP.Web.Services.ContentType) === 'undefined') {
IPP.Web.Services.ContentType = function() { throw Error.invalidOperation(); }
IPP.Web.Services.ContentType.prototype = {HOME: 1,ABOUTUS: 2,DISCOUNTED_DEV: 3,BANK_REPO: 4,DISTRESSED_RES: 5,CONTACT_US: 6,BANK_REPO_FORM: 7,ADMIN_SEARCH: 8,REIT: 9,ABOUT_US: 10,HOME1: 11,PROPERTIES: 12,INVESTMENTS: 13,PARTNERS: 14,SPAIN: 15,NEWDEV: 16,PROPERTY: 17,DISTRESSED_RESALES: 18,DISCOUNTED_DEVELOPMENT: 19,REPOSSESSIONS: 20,SELLING: 21,CALLBACK: 22,BARGAINS: 23,CONTACT_US1: 24,CONTACT_US2: 25,ABOUT_US2: 26,TERMS: 27,POLICY: 28,CONTACT_US3: 29}
IPP.Web.Services.ContentType.registerEnum('IPP.Web.Services.ContentType', true);
}
if (typeof(IPP.Web.Services.Language) === 'undefined') {
IPP.Web.Services.Language = function() { throw Error.invalidOperation(); }
IPP.Web.Services.Language.prototype = {ENGLISH: 1,DUTCH: 2}
IPP.Web.Services.Language.registerEnum('IPP.Web.Services.Language', true);
}
