Type.registerNamespace('Dowazu.WebServices');
Dowazu.WebServices.CalendarService=function() {
Dowazu.WebServices.CalendarService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Dowazu.WebServices.CalendarService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Dowazu.WebServices.CalendarService._staticInstance.get_path();},
UpdateCalendar:function(CurrentMonth,CurrentYear,guid,succeededCallback, failedCallback, userContext) {
/// <param name="CurrentMonth" type="Number">System.Int32</param>
/// <param name="CurrentYear" type="Number">System.Int32</param>
/// <param name="guid" 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(), 'UpdateCalendar',false,{CurrentMonth:CurrentMonth,CurrentYear:CurrentYear,guid:guid},succeededCallback,failedCallback,userContext); },
UpdateSmallCalendar:function(CurrentMonth,CurrentYear,guid,succeededCallback, failedCallback, userContext) {
/// <param name="CurrentMonth" type="Number">System.Int32</param>
/// <param name="CurrentYear" type="Number">System.Int32</param>
/// <param name="guid" 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(), 'UpdateSmallCalendar',false,{CurrentMonth:CurrentMonth,CurrentYear:CurrentYear,guid:guid},succeededCallback,failedCallback,userContext); }}
Dowazu.WebServices.CalendarService.registerClass('Dowazu.WebServices.CalendarService',Sys.Net.WebServiceProxy);
Dowazu.WebServices.CalendarService._staticInstance = new Dowazu.WebServices.CalendarService();
Dowazu.WebServices.CalendarService.set_path = function(value) {
Dowazu.WebServices.CalendarService._staticInstance.set_path(value); }
Dowazu.WebServices.CalendarService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Dowazu.WebServices.CalendarService._staticInstance.get_path();}
Dowazu.WebServices.CalendarService.set_timeout = function(value) {
Dowazu.WebServices.CalendarService._staticInstance.set_timeout(value); }
Dowazu.WebServices.CalendarService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Dowazu.WebServices.CalendarService._staticInstance.get_timeout(); }
Dowazu.WebServices.CalendarService.set_defaultUserContext = function(value) { 
Dowazu.WebServices.CalendarService._staticInstance.set_defaultUserContext(value); }
Dowazu.WebServices.CalendarService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Dowazu.WebServices.CalendarService._staticInstance.get_defaultUserContext(); }
Dowazu.WebServices.CalendarService.set_defaultSucceededCallback = function(value) { 
 Dowazu.WebServices.CalendarService._staticInstance.set_defaultSucceededCallback(value); }
Dowazu.WebServices.CalendarService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Dowazu.WebServices.CalendarService._staticInstance.get_defaultSucceededCallback(); }
Dowazu.WebServices.CalendarService.set_defaultFailedCallback = function(value) { 
Dowazu.WebServices.CalendarService._staticInstance.set_defaultFailedCallback(value); }
Dowazu.WebServices.CalendarService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Dowazu.WebServices.CalendarService._staticInstance.get_defaultFailedCallback(); }
Dowazu.WebServices.CalendarService.set_path("/WebServices/CalendarService.asmx");
Dowazu.WebServices.CalendarService.UpdateCalendar= function(CurrentMonth,CurrentYear,guid,onSuccess,onFailed,userContext) {
/// <param name="CurrentMonth" type="Number">System.Int32</param>
/// <param name="CurrentYear" type="Number">System.Int32</param>
/// <param name="guid" 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>
Dowazu.WebServices.CalendarService._staticInstance.UpdateCalendar(CurrentMonth,CurrentYear,guid,onSuccess,onFailed,userContext); }
Dowazu.WebServices.CalendarService.UpdateSmallCalendar= function(CurrentMonth,CurrentYear,guid,onSuccess,onFailed,userContext) {
/// <param name="CurrentMonth" type="Number">System.Int32</param>
/// <param name="CurrentYear" type="Number">System.Int32</param>
/// <param name="guid" 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>
Dowazu.WebServices.CalendarService._staticInstance.UpdateSmallCalendar(CurrentMonth,CurrentYear,guid,onSuccess,onFailed,userContext); }
