Type.registerNamespace('MooreWilson.Cms.WebServices');
MooreWilson.Cms.WebServices.SiteService=function() {
MooreWilson.Cms.WebServices.SiteService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MooreWilson.Cms.WebServices.SiteService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MooreWilson.Cms.WebServices.SiteService._staticInstance.get_path();},
GetDirectoryListing:function(parentDirectoryId,succeededCallback, failedCallback, userContext) {
/// <param name="parentDirectoryId" type="Number">System.Int32</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(), 'GetDirectoryListing',false,{parentDirectoryId:parentDirectoryId},succeededCallback,failedCallback,userContext); },
GetPathAsString:function(id,separator,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="Number">System.Int64</param>
/// <param name="separator" 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(), 'GetPathAsString',false,{id:id,separator:separator},succeededCallback,failedCallback,userContext); },
GetPath:function(id,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="Number">System.Int64</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(), 'GetPath',false,{id:id},succeededCallback,failedCallback,userContext); }}
MooreWilson.Cms.WebServices.SiteService.registerClass('MooreWilson.Cms.WebServices.SiteService',Sys.Net.WebServiceProxy);
MooreWilson.Cms.WebServices.SiteService._staticInstance = new MooreWilson.Cms.WebServices.SiteService();
MooreWilson.Cms.WebServices.SiteService.set_path = function(value) {
MooreWilson.Cms.WebServices.SiteService._staticInstance.set_path(value); }
MooreWilson.Cms.WebServices.SiteService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return MooreWilson.Cms.WebServices.SiteService._staticInstance.get_path();}
MooreWilson.Cms.WebServices.SiteService.set_timeout = function(value) {
MooreWilson.Cms.WebServices.SiteService._staticInstance.set_timeout(value); }
MooreWilson.Cms.WebServices.SiteService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return MooreWilson.Cms.WebServices.SiteService._staticInstance.get_timeout(); }
MooreWilson.Cms.WebServices.SiteService.set_defaultUserContext = function(value) { 
MooreWilson.Cms.WebServices.SiteService._staticInstance.set_defaultUserContext(value); }
MooreWilson.Cms.WebServices.SiteService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return MooreWilson.Cms.WebServices.SiteService._staticInstance.get_defaultUserContext(); }
MooreWilson.Cms.WebServices.SiteService.set_defaultSucceededCallback = function(value) { 
 MooreWilson.Cms.WebServices.SiteService._staticInstance.set_defaultSucceededCallback(value); }
MooreWilson.Cms.WebServices.SiteService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return MooreWilson.Cms.WebServices.SiteService._staticInstance.get_defaultSucceededCallback(); }
MooreWilson.Cms.WebServices.SiteService.set_defaultFailedCallback = function(value) { 
MooreWilson.Cms.WebServices.SiteService._staticInstance.set_defaultFailedCallback(value); }
MooreWilson.Cms.WebServices.SiteService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return MooreWilson.Cms.WebServices.SiteService._staticInstance.get_defaultFailedCallback(); }
MooreWilson.Cms.WebServices.SiteService.set_path("/admin/services/site.asmx");
MooreWilson.Cms.WebServices.SiteService.GetDirectoryListing= function(parentDirectoryId,onSuccess,onFailed,userContext) {
/// <param name="parentDirectoryId" type="Number">System.Int32</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>
MooreWilson.Cms.WebServices.SiteService._staticInstance.GetDirectoryListing(parentDirectoryId,onSuccess,onFailed,userContext); }
MooreWilson.Cms.WebServices.SiteService.GetPathAsString= function(id,separator,onSuccess,onFailed,userContext) {
/// <param name="id" type="Number">System.Int64</param>
/// <param name="separator" 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>
MooreWilson.Cms.WebServices.SiteService._staticInstance.GetPathAsString(id,separator,onSuccess,onFailed,userContext); }
MooreWilson.Cms.WebServices.SiteService.GetPath= function(id,onSuccess,onFailed,userContext) {
/// <param name="id" type="Number">System.Int64</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>
MooreWilson.Cms.WebServices.SiteService._staticInstance.GetPath(id,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('MooreWilson.Cms.Info');
if (typeof(MooreWilson.Cms.Info.SiteItemInfo) === 'undefined') {
MooreWilson.Cms.Info.SiteItemInfo=gtc("MooreWilson.Cms.Info.SiteItemInfo");
MooreWilson.Cms.Info.SiteItemInfo.registerClass('MooreWilson.Cms.Info.SiteItemInfo');
}
