var BACMSServices=function() {
BACMSServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BACMSServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BACMSServices._staticInstance.get_path();},
GetMenu:function(siteID,succeededCallback, failedCallback, userContext) {
/// <param name="siteID" 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(), 'GetMenu',false,{siteID:siteID},succeededCallback,failedCallback,userContext); },
GetContent:function(pageID,succeededCallback, failedCallback, userContext) {
/// <param name="pageID" 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(), 'GetContent',false,{pageID:pageID},succeededCallback,failedCallback,userContext); },
GetArticle:function(articleID,succeededCallback, failedCallback, userContext) {
/// <param name="articleID" 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(), 'GetArticle',false,{articleID:articleID},succeededCallback,failedCallback,userContext); },
GetRSS:function(pageID,succeededCallback, failedCallback, userContext) {
/// <param name="pageID" 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(), 'GetRSS',false,{pageID:pageID},succeededCallback,failedCallback,userContext); }}
BACMSServices.registerClass('BACMSServices',Sys.Net.WebServiceProxy);
BACMSServices._staticInstance = new BACMSServices();
BACMSServices.set_path = function(value) {
BACMSServices._staticInstance.set_path(value); }
BACMSServices.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return BACMSServices._staticInstance.get_path();}
BACMSServices.set_timeout = function(value) {
BACMSServices._staticInstance.set_timeout(value); }
BACMSServices.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return BACMSServices._staticInstance.get_timeout(); }
BACMSServices.set_defaultUserContext = function(value) { 
BACMSServices._staticInstance.set_defaultUserContext(value); }
BACMSServices.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return BACMSServices._staticInstance.get_defaultUserContext(); }
BACMSServices.set_defaultSucceededCallback = function(value) { 
 BACMSServices._staticInstance.set_defaultSucceededCallback(value); }
BACMSServices.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return BACMSServices._staticInstance.get_defaultSucceededCallback(); }
BACMSServices.set_defaultFailedCallback = function(value) { 
BACMSServices._staticInstance.set_defaultFailedCallback(value); }
BACMSServices.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return BACMSServices._staticInstance.get_defaultFailedCallback(); }
BACMSServices.set_enableJsonp = function(value) { BACMSServices._staticInstance.set_enableJsonp(value); }
BACMSServices.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return BACMSServices._staticInstance.get_enableJsonp(); }
BACMSServices.set_jsonpCallbackParameter = function(value) { BACMSServices._staticInstance.set_jsonpCallbackParameter(value); }
BACMSServices.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return BACMSServices._staticInstance.get_jsonpCallbackParameter(); }
BACMSServices.set_path("/webservices/BACMSServices.asmx");
BACMSServices.GetMenu= function(siteID,onSuccess,onFailed,userContext) {
/// <param name="siteID" 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>
BACMSServices._staticInstance.GetMenu(siteID,onSuccess,onFailed,userContext); }
BACMSServices.GetContent= function(pageID,onSuccess,onFailed,userContext) {
/// <param name="pageID" 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>
BACMSServices._staticInstance.GetContent(pageID,onSuccess,onFailed,userContext); }
BACMSServices.GetArticle= function(articleID,onSuccess,onFailed,userContext) {
/// <param name="articleID" 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>
BACMSServices._staticInstance.GetArticle(articleID,onSuccess,onFailed,userContext); }
BACMSServices.GetRSS= function(pageID,onSuccess,onFailed,userContext) {
/// <param name="pageID" 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>
BACMSServices._staticInstance.GetRSS(pageID,onSuccess,onFailed,userContext); }

