var CMSCustomUtils=function() {
CMSCustomUtils.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CMSCustomUtils.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CMSCustomUtils._staticInstance.get_path();},
GetCalendarDays:function(CalendarGroupID,CurrentMonth,DisplayEventRegistrations,succeededCallback, failedCallback, userContext) {
/// <param name="CalendarGroupID" type="Number">System.Int32</param>
/// <param name="CurrentMonth" type="Date">System.DateTime</param>
/// <param name="DisplayEventRegistrations" type="Boolean">System.Boolean</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(), 'GetCalendarDays',false,{CalendarGroupID:CalendarGroupID,CurrentMonth:CurrentMonth,DisplayEventRegistrations:DisplayEventRegistrations},succeededCallback,failedCallback,userContext); },
GetMonthEvents:function(CalendarGroupID,CurrentMonth,DisplayEventRegistrations,succeededCallback, failedCallback, userContext) {
/// <param name="CalendarGroupID" type="Number">System.Int32</param>
/// <param name="CurrentMonth" type="Date">System.DateTime</param>
/// <param name="DisplayEventRegistrations" type="Boolean">System.Boolean</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(), 'GetMonthEvents',false,{CalendarGroupID:CalendarGroupID,CurrentMonth:CurrentMonth,DisplayEventRegistrations:DisplayEventRegistrations},succeededCallback,failedCallback,userContext); },
GetYearEvents:function(CalendarGroupID,CurrentYear,DisplayEventRegistrations,succeededCallback, failedCallback, userContext) {
/// <param name="CalendarGroupID" type="Number">System.Int32</param>
/// <param name="CurrentYear" type="Date">System.DateTime</param>
/// <param name="DisplayEventRegistrations" type="Boolean">System.Boolean</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(), 'GetYearEvents',false,{CalendarGroupID:CalendarGroupID,CurrentYear:CurrentYear,DisplayEventRegistrations:DisplayEventRegistrations},succeededCallback,failedCallback,userContext); },
GetCalendarDayEvents:function(CalendarGroupID,CurrentDay,DisplayEventRegistrations,succeededCallback, failedCallback, userContext) {
/// <param name="CalendarGroupID" type="Number">System.Int32</param>
/// <param name="CurrentDay" type="Date">System.DateTime</param>
/// <param name="DisplayEventRegistrations" type="Boolean">System.Boolean</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(), 'GetCalendarDayEvents',false,{CalendarGroupID:CalendarGroupID,CurrentDay:CurrentDay,DisplayEventRegistrations:DisplayEventRegistrations},succeededCallback,failedCallback,userContext); },
GetCalendarEvent:function(CalendarItemID,succeededCallback, failedCallback, userContext) {
/// <param name="CalendarItemID" 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(), 'GetCalendarEvent',false,{CalendarItemID:CalendarItemID},succeededCallback,failedCallback,userContext); },
GetEventRegistrationCalendarEvent: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(), 'GetEventRegistrationCalendarEvent',false,{EventID:EventID},succeededCallback,failedCallback,userContext); }}
CMSCustomUtils.registerClass('CMSCustomUtils',Sys.Net.WebServiceProxy);
CMSCustomUtils._staticInstance = new CMSCustomUtils();
CMSCustomUtils.set_path = function(value) {
CMSCustomUtils._staticInstance.set_path(value); }
CMSCustomUtils.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CMSCustomUtils._staticInstance.get_path();}
CMSCustomUtils.set_timeout = function(value) {
CMSCustomUtils._staticInstance.set_timeout(value); }
CMSCustomUtils.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CMSCustomUtils._staticInstance.get_timeout(); }
CMSCustomUtils.set_defaultUserContext = function(value) { 
CMSCustomUtils._staticInstance.set_defaultUserContext(value); }
CMSCustomUtils.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CMSCustomUtils._staticInstance.get_defaultUserContext(); }
CMSCustomUtils.set_defaultSucceededCallback = function(value) { 
 CMSCustomUtils._staticInstance.set_defaultSucceededCallback(value); }
CMSCustomUtils.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CMSCustomUtils._staticInstance.get_defaultSucceededCallback(); }
CMSCustomUtils.set_defaultFailedCallback = function(value) { 
CMSCustomUtils._staticInstance.set_defaultFailedCallback(value); }
CMSCustomUtils.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CMSCustomUtils._staticInstance.get_defaultFailedCallback(); }
CMSCustomUtils.set_path("/CustomPublicWebservices/CMSCustomUtils.asmx");
CMSCustomUtils.GetCalendarDays= function(CalendarGroupID,CurrentMonth,DisplayEventRegistrations,onSuccess,onFailed,userContext) {
/// <param name="CalendarGroupID" type="Number">System.Int32</param>
/// <param name="CurrentMonth" type="Date">System.DateTime</param>
/// <param name="DisplayEventRegistrations" type="Boolean">System.Boolean</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>
CMSCustomUtils._staticInstance.GetCalendarDays(CalendarGroupID,CurrentMonth,DisplayEventRegistrations,onSuccess,onFailed,userContext); }
CMSCustomUtils.GetMonthEvents= function(CalendarGroupID,CurrentMonth,DisplayEventRegistrations,onSuccess,onFailed,userContext) {
/// <param name="CalendarGroupID" type="Number">System.Int32</param>
/// <param name="CurrentMonth" type="Date">System.DateTime</param>
/// <param name="DisplayEventRegistrations" type="Boolean">System.Boolean</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>
CMSCustomUtils._staticInstance.GetMonthEvents(CalendarGroupID,CurrentMonth,DisplayEventRegistrations,onSuccess,onFailed,userContext); }
CMSCustomUtils.GetYearEvents= function(CalendarGroupID,CurrentYear,DisplayEventRegistrations,onSuccess,onFailed,userContext) {
/// <param name="CalendarGroupID" type="Number">System.Int32</param>
/// <param name="CurrentYear" type="Date">System.DateTime</param>
/// <param name="DisplayEventRegistrations" type="Boolean">System.Boolean</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>
CMSCustomUtils._staticInstance.GetYearEvents(CalendarGroupID,CurrentYear,DisplayEventRegistrations,onSuccess,onFailed,userContext); }
CMSCustomUtils.GetCalendarDayEvents= function(CalendarGroupID,CurrentDay,DisplayEventRegistrations,onSuccess,onFailed,userContext) {
/// <param name="CalendarGroupID" type="Number">System.Int32</param>
/// <param name="CurrentDay" type="Date">System.DateTime</param>
/// <param name="DisplayEventRegistrations" type="Boolean">System.Boolean</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>
CMSCustomUtils._staticInstance.GetCalendarDayEvents(CalendarGroupID,CurrentDay,DisplayEventRegistrations,onSuccess,onFailed,userContext); }
CMSCustomUtils.GetCalendarEvent= function(CalendarItemID,onSuccess,onFailed,userContext) {
/// <param name="CalendarItemID" 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>
CMSCustomUtils._staticInstance.GetCalendarEvent(CalendarItemID,onSuccess,onFailed,userContext); }
CMSCustomUtils.GetEventRegistrationCalendarEvent= 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>
CMSCustomUtils._staticInstance.GetEventRegistrationCalendarEvent(EventID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('PIPCustom');
if (typeof(PIPCustom.CalendarDay) === 'undefined') {
PIPCustom.CalendarDay=gtc("PIPCustom.CalendarDay");
PIPCustom.CalendarDay.registerClass('PIPCustom.CalendarDay');
}
if (typeof(PIPCustom.CalendarEvent) === 'undefined') {
PIPCustom.CalendarEvent=gtc("PIPCustom.CalendarEvent");
PIPCustom.CalendarEvent.registerClass('PIPCustom.CalendarEvent');
}

