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