Type.registerNamespace('DicksonCounty.Webservices');
DicksonCounty.Webservices.Event_Calendar=function() {
DicksonCounty.Webservices.Event_Calendar.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DicksonCounty.Webservices.Event_Calendar.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DicksonCounty.Webservices.Event_Calendar._staticInstance.get_path();},
AddEvent:function(Event,succeededCallback, failedCallback, userContext) {
/// <param name="Event" type="DicksonCounty.Objects.Event">DicksonCounty.Objects.Event</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(), 'AddEvent',false,{Event:Event},succeededCallback,failedCallback,userContext); },
UpdateEvent:function(Event,succeededCallback, failedCallback, userContext) {
/// <param name="Event" type="DicksonCounty.Objects.Event">DicksonCounty.Objects.Event</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(), 'UpdateEvent',false,{Event:Event},succeededCallback,failedCallback,userContext); },
DeleteEvent:function(eventID,succeededCallback, failedCallback, userContext) {
/// <param name="eventID" 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(), 'DeleteEvent',false,{eventID:eventID},succeededCallback,failedCallback,userContext); },
GetEvents:function(pageSize,pageIndex,orderPropertyName,succeededCallback, failedCallback, userContext) {
/// <param name="pageSize" type="Number">System.Int32</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="orderPropertyName" 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(), 'GetEvents',false,{pageSize:pageSize,pageIndex:pageIndex,orderPropertyName:orderPropertyName},succeededCallback,failedCallback,userContext); },
GetEventsByMonth:function(year,month,orderPropertyName,succeededCallback, failedCallback, userContext) {
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" type="Number">System.Int32</param>
/// <param name="orderPropertyName" 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(), 'GetEventsByMonth',false,{year:year,month:month,orderPropertyName:orderPropertyName},succeededCallback,failedCallback,userContext); },
GetEvent:function(eventID,succeededCallback, failedCallback, userContext) {
/// <param name="eventID" 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(), 'GetEvent',false,{eventID:eventID},succeededCallback,failedCallback,userContext); }}
DicksonCounty.Webservices.Event_Calendar.registerClass('DicksonCounty.Webservices.Event_Calendar',Sys.Net.WebServiceProxy);
DicksonCounty.Webservices.Event_Calendar._staticInstance = new DicksonCounty.Webservices.Event_Calendar();
DicksonCounty.Webservices.Event_Calendar.set_path = function(value) {
DicksonCounty.Webservices.Event_Calendar._staticInstance.set_path(value); }
DicksonCounty.Webservices.Event_Calendar.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return DicksonCounty.Webservices.Event_Calendar._staticInstance.get_path();}
DicksonCounty.Webservices.Event_Calendar.set_timeout = function(value) {
DicksonCounty.Webservices.Event_Calendar._staticInstance.set_timeout(value); }
DicksonCounty.Webservices.Event_Calendar.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return DicksonCounty.Webservices.Event_Calendar._staticInstance.get_timeout(); }
DicksonCounty.Webservices.Event_Calendar.set_defaultUserContext = function(value) { 
DicksonCounty.Webservices.Event_Calendar._staticInstance.set_defaultUserContext(value); }
DicksonCounty.Webservices.Event_Calendar.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return DicksonCounty.Webservices.Event_Calendar._staticInstance.get_defaultUserContext(); }
DicksonCounty.Webservices.Event_Calendar.set_defaultSucceededCallback = function(value) { 
 DicksonCounty.Webservices.Event_Calendar._staticInstance.set_defaultSucceededCallback(value); }
DicksonCounty.Webservices.Event_Calendar.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return DicksonCounty.Webservices.Event_Calendar._staticInstance.get_defaultSucceededCallback(); }
DicksonCounty.Webservices.Event_Calendar.set_defaultFailedCallback = function(value) { 
DicksonCounty.Webservices.Event_Calendar._staticInstance.set_defaultFailedCallback(value); }
DicksonCounty.Webservices.Event_Calendar.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return DicksonCounty.Webservices.Event_Calendar._staticInstance.get_defaultFailedCallback(); }
DicksonCounty.Webservices.Event_Calendar.set_path("/services/Events_Calendar.asmx");
DicksonCounty.Webservices.Event_Calendar.AddEvent= function(Event,onSuccess,onFailed,userContext) {
/// <param name="Event" type="DicksonCounty.Objects.Event">DicksonCounty.Objects.Event</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>
DicksonCounty.Webservices.Event_Calendar._staticInstance.AddEvent(Event,onSuccess,onFailed,userContext); }
DicksonCounty.Webservices.Event_Calendar.UpdateEvent= function(Event,onSuccess,onFailed,userContext) {
/// <param name="Event" type="DicksonCounty.Objects.Event">DicksonCounty.Objects.Event</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>
DicksonCounty.Webservices.Event_Calendar._staticInstance.UpdateEvent(Event,onSuccess,onFailed,userContext); }
DicksonCounty.Webservices.Event_Calendar.DeleteEvent= function(eventID,onSuccess,onFailed,userContext) {
/// <param name="eventID" 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>
DicksonCounty.Webservices.Event_Calendar._staticInstance.DeleteEvent(eventID,onSuccess,onFailed,userContext); }
DicksonCounty.Webservices.Event_Calendar.GetEvents= function(pageSize,pageIndex,orderPropertyName,onSuccess,onFailed,userContext) {
/// <param name="pageSize" type="Number">System.Int32</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="orderPropertyName" 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>
DicksonCounty.Webservices.Event_Calendar._staticInstance.GetEvents(pageSize,pageIndex,orderPropertyName,onSuccess,onFailed,userContext); }
DicksonCounty.Webservices.Event_Calendar.GetEventsByMonth= function(year,month,orderPropertyName,onSuccess,onFailed,userContext) {
/// <param name="year" type="Number">System.Int32</param>
/// <param name="month" type="Number">System.Int32</param>
/// <param name="orderPropertyName" 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>
DicksonCounty.Webservices.Event_Calendar._staticInstance.GetEventsByMonth(year,month,orderPropertyName,onSuccess,onFailed,userContext); }
DicksonCounty.Webservices.Event_Calendar.GetEvent= function(eventID,onSuccess,onFailed,userContext) {
/// <param name="eventID" 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>
DicksonCounty.Webservices.Event_Calendar._staticInstance.GetEvent(eventID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('DicksonCounty.Objects');
if (typeof(DicksonCounty.Objects.Event) === 'undefined') {
DicksonCounty.Objects.Event=gtc("DicksonCounty.Objects.Event");
DicksonCounty.Objects.Event.registerClass('DicksonCounty.Objects.Event');
}
