Type.registerNamespace('AMS.Web.Services');
AMS.Web.Services.comments=function() {
AMS.Web.Services.comments.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AMS.Web.Services.comments.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AMS.Web.Services.comments._staticInstance.get_path();},
GetSiteComments:function(encSiteID,resultsPerPage,pageNumber,orderDescending,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSiteComments',false,{encSiteID:encSiteID,resultsPerPage:resultsPerPage,pageNumber:pageNumber,orderDescending:orderDescending},succeededCallback,failedCallback,userContext); }}
AMS.Web.Services.comments.registerClass('AMS.Web.Services.comments',Sys.Net.WebServiceProxy);
AMS.Web.Services.comments._staticInstance = new AMS.Web.Services.comments();
AMS.Web.Services.comments.set_path = function(value) { AMS.Web.Services.comments._staticInstance.set_path(value); }
AMS.Web.Services.comments.get_path = function() { return AMS.Web.Services.comments._staticInstance.get_path(); }
AMS.Web.Services.comments.set_timeout = function(value) { AMS.Web.Services.comments._staticInstance.set_timeout(value); }
AMS.Web.Services.comments.get_timeout = function() { return AMS.Web.Services.comments._staticInstance.get_timeout(); }
AMS.Web.Services.comments.set_defaultUserContext = function(value) { AMS.Web.Services.comments._staticInstance.set_defaultUserContext(value); }
AMS.Web.Services.comments.get_defaultUserContext = function() { return AMS.Web.Services.comments._staticInstance.get_defaultUserContext(); }
AMS.Web.Services.comments.set_defaultSucceededCallback = function(value) { AMS.Web.Services.comments._staticInstance.set_defaultSucceededCallback(value); }
AMS.Web.Services.comments.get_defaultSucceededCallback = function() { return AMS.Web.Services.comments._staticInstance.get_defaultSucceededCallback(); }
AMS.Web.Services.comments.set_defaultFailedCallback = function(value) { AMS.Web.Services.comments._staticInstance.set_defaultFailedCallback(value); }
AMS.Web.Services.comments.get_defaultFailedCallback = function() { return AMS.Web.Services.comments._staticInstance.get_defaultFailedCallback(); }
AMS.Web.Services.comments.set_enableJsonp = function(value) { AMS.Web.Services.comments._staticInstance.set_enableJsonp(value); }
AMS.Web.Services.comments.get_enableJsonp = function() { return AMS.Web.Services.comments._staticInstance.get_enableJsonp(); }
AMS.Web.Services.comments.set_jsonpCallbackParameter = function(value) { AMS.Web.Services.comments._staticInstance.set_jsonpCallbackParameter(value); }
AMS.Web.Services.comments.get_jsonpCallbackParameter = function() { return AMS.Web.Services.comments._staticInstance.get_jsonpCallbackParameter(); }
AMS.Web.Services.comments.set_path("/Services/Comments.asmx");
AMS.Web.Services.comments.GetSiteComments= function(encSiteID,resultsPerPage,pageNumber,orderDescending,onSuccess,onFailed,userContext) {AMS.Web.Services.comments._staticInstance.GetSiteComments(encSiteID,resultsPerPage,pageNumber,orderDescending,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AMS.Sites');
if (typeof(AMS.Sites.CommentsDetailList) === 'undefined') {
AMS.Sites.CommentsDetailList=gtc("AMS.Sites.CommentsDetailList");
AMS.Sites.CommentsDetailList.registerClass('AMS.Sites.CommentsDetailList');
}
