Type.registerNamespace('WindowsSite.Services');
WindowsSite.Services.DataService=function() {
WindowsSite.Services.DataService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WindowsSite.Services.DataService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WindowsSite.Services.DataService._staticInstance.get_path();},
GetHeroHtmlSection:function(path,heroID,succeededCallback, failedCallback, userContext) {
/// <param name="path" type="String">System.String</param>
/// <param name="heroID" 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(), 'GetHeroHtmlSection',false,{path:path,heroID:heroID},succeededCallback,failedCallback,userContext); },
GetHtmlSection:function(path,sectionID,succeededCallback, failedCallback, userContext) {
/// <param name="path" type="String">System.String</param>
/// <param name="sectionID" 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(), 'GetHtmlSection',false,{path:path,sectionID:sectionID},succeededCallback,failedCallback,userContext); },
GetContentSection:function(filePath,sectionID,succeededCallback, failedCallback, userContext) {
/// <param name="filePath" type="String">System.String</param>
/// <param name="sectionID" 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(), 'GetContentSection',false,{filePath:filePath,sectionID:sectionID},succeededCallback,failedCallback,userContext); },
GetCustomContentSection:function(filePath,sectionID,transformFilePath,succeededCallback, failedCallback, userContext) {
/// <param name="filePath" type="String">System.String</param>
/// <param name="sectionID" type="String">System.String</param>
/// <param name="transformFilePath" 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(), 'GetCustomContentSection',false,{filePath:filePath,sectionID:sectionID,transformFilePath:transformFilePath},succeededCallback,failedCallback,userContext); }}
WindowsSite.Services.DataService.registerClass('WindowsSite.Services.DataService',Sys.Net.WebServiceProxy);
WindowsSite.Services.DataService._staticInstance = new WindowsSite.Services.DataService();
WindowsSite.Services.DataService.set_path = function(value) {
WindowsSite.Services.DataService._staticInstance.set_path(value); }
WindowsSite.Services.DataService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WindowsSite.Services.DataService._staticInstance.get_path();}
WindowsSite.Services.DataService.set_timeout = function(value) {
WindowsSite.Services.DataService._staticInstance.set_timeout(value); }
WindowsSite.Services.DataService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WindowsSite.Services.DataService._staticInstance.get_timeout(); }
WindowsSite.Services.DataService.set_defaultUserContext = function(value) { 
WindowsSite.Services.DataService._staticInstance.set_defaultUserContext(value); }
WindowsSite.Services.DataService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WindowsSite.Services.DataService._staticInstance.get_defaultUserContext(); }
WindowsSite.Services.DataService.set_defaultSucceededCallback = function(value) { 
 WindowsSite.Services.DataService._staticInstance.set_defaultSucceededCallback(value); }
WindowsSite.Services.DataService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WindowsSite.Services.DataService._staticInstance.get_defaultSucceededCallback(); }
WindowsSite.Services.DataService.set_defaultFailedCallback = function(value) { 
WindowsSite.Services.DataService._staticInstance.set_defaultFailedCallback(value); }
WindowsSite.Services.DataService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WindowsSite.Services.DataService._staticInstance.get_defaultFailedCallback(); }
WindowsSite.Services.DataService.set_path("/korea/windows/Framework/Services/DataService.asmx");
WindowsSite.Services.DataService.GetHeroHtmlSection= function(path,heroID,onSuccess,onFailed,userContext) {
/// <param name="path" type="String">System.String</param>
/// <param name="heroID" 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>
WindowsSite.Services.DataService._staticInstance.GetHeroHtmlSection(path,heroID,onSuccess,onFailed,userContext); }
WindowsSite.Services.DataService.GetHtmlSection= function(path,sectionID,onSuccess,onFailed,userContext) {
/// <param name="path" type="String">System.String</param>
/// <param name="sectionID" 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>
WindowsSite.Services.DataService._staticInstance.GetHtmlSection(path,sectionID,onSuccess,onFailed,userContext); }
WindowsSite.Services.DataService.GetContentSection= function(filePath,sectionID,onSuccess,onFailed,userContext) {
/// <param name="filePath" type="String">System.String</param>
/// <param name="sectionID" 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>
WindowsSite.Services.DataService._staticInstance.GetContentSection(filePath,sectionID,onSuccess,onFailed,userContext); }
WindowsSite.Services.DataService.GetCustomContentSection= function(filePath,sectionID,transformFilePath,onSuccess,onFailed,userContext) {
/// <param name="filePath" type="String">System.String</param>
/// <param name="sectionID" type="String">System.String</param>
/// <param name="transformFilePath" 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>
WindowsSite.Services.DataService._staticInstance.GetCustomContentSection(filePath,sectionID,transformFilePath,onSuccess,onFailed,userContext); }
