Type.registerNamespace('SchoolWebsite.Web.Services');
SchoolWebsite.Web.Services.GenericService=function() {
SchoolWebsite.Web.Services.GenericService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SchoolWebsite.Web.Services.GenericService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SchoolWebsite.Web.Services.GenericService._staticInstance.get_path();},
IsPageNameUnique:function(pageAlias,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsPageNameUnique',false,{pageAlias:pageAlias},succeededCallback,failedCallback,userContext); },
GetCookieValue:function(sectionId,add,remove,sbp,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCookieValue',false,{sectionId:sectionId,add:add,remove:remove,sbp:sbp},succeededCallback,failedCallback,userContext); },
GetNumberOfLinksToDisplay:function(id,add,remove,sbp,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNumberOfLinksToDisplay',false,{id:id,add:add,remove:remove,sbp:sbp},succeededCallback,failedCallback,userContext); },
GetCategories:function(calendarId,eventId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCategories',false,{calendarId:calendarId,eventId:eventId},succeededCallback,failedCallback,userContext); },
GetEvents:function(start,end,calendarId,categoryId,subcategoryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEvents',false,{start:start,end:end,calendarId:calendarId,categoryId:categoryId,subcategoryId:subcategoryId},succeededCallback,failedCallback,userContext); },
PublishPages:function(pageIdList,host,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PublishPages',false,{pageIdList:pageIdList,host:host},succeededCallback,failedCallback,userContext); },
PublishFeatures:function(featureIdList,host,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PublishFeatures',false,{featureIdList:featureIdList,host:host},succeededCallback,failedCallback,userContext); },
StoredSelectedWorkflowPages:function(pageIdList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'StoredSelectedWorkflowPages',false,{pageIdList:pageIdList},succeededCallback,failedCallback,userContext); },
StoredSelectedWorkflowFeatures:function(featureIdList,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'StoredSelectedWorkflowFeatures',false,{featureIdList:featureIdList},succeededCallback,failedCallback,userContext); },
GetPageFeatures:function(pageId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPageFeatures',false,{pageId:pageId},succeededCallback,failedCallback,userContext); }}
SchoolWebsite.Web.Services.GenericService.registerClass('SchoolWebsite.Web.Services.GenericService',Sys.Net.WebServiceProxy);
SchoolWebsite.Web.Services.GenericService._staticInstance = new SchoolWebsite.Web.Services.GenericService();
SchoolWebsite.Web.Services.GenericService.set_path = function(value) { SchoolWebsite.Web.Services.GenericService._staticInstance.set_path(value); }
SchoolWebsite.Web.Services.GenericService.get_path = function() { return SchoolWebsite.Web.Services.GenericService._staticInstance.get_path(); }
SchoolWebsite.Web.Services.GenericService.set_timeout = function(value) { SchoolWebsite.Web.Services.GenericService._staticInstance.set_timeout(value); }
SchoolWebsite.Web.Services.GenericService.get_timeout = function() { return SchoolWebsite.Web.Services.GenericService._staticInstance.get_timeout(); }
SchoolWebsite.Web.Services.GenericService.set_defaultUserContext = function(value) { SchoolWebsite.Web.Services.GenericService._staticInstance.set_defaultUserContext(value); }
SchoolWebsite.Web.Services.GenericService.get_defaultUserContext = function() { return SchoolWebsite.Web.Services.GenericService._staticInstance.get_defaultUserContext(); }
SchoolWebsite.Web.Services.GenericService.set_defaultSucceededCallback = function(value) { SchoolWebsite.Web.Services.GenericService._staticInstance.set_defaultSucceededCallback(value); }
SchoolWebsite.Web.Services.GenericService.get_defaultSucceededCallback = function() { return SchoolWebsite.Web.Services.GenericService._staticInstance.get_defaultSucceededCallback(); }
SchoolWebsite.Web.Services.GenericService.set_defaultFailedCallback = function(value) { SchoolWebsite.Web.Services.GenericService._staticInstance.set_defaultFailedCallback(value); }
SchoolWebsite.Web.Services.GenericService.get_defaultFailedCallback = function() { return SchoolWebsite.Web.Services.GenericService._staticInstance.get_defaultFailedCallback(); }
SchoolWebsite.Web.Services.GenericService.set_enableJsonp = function(value) { SchoolWebsite.Web.Services.GenericService._staticInstance.set_enableJsonp(value); }
SchoolWebsite.Web.Services.GenericService.get_enableJsonp = function() { return SchoolWebsite.Web.Services.GenericService._staticInstance.get_enableJsonp(); }
SchoolWebsite.Web.Services.GenericService.set_jsonpCallbackParameter = function(value) { SchoolWebsite.Web.Services.GenericService._staticInstance.set_jsonpCallbackParameter(value); }
SchoolWebsite.Web.Services.GenericService.get_jsonpCallbackParameter = function() { return SchoolWebsite.Web.Services.GenericService._staticInstance.get_jsonpCallbackParameter(); }
SchoolWebsite.Web.Services.GenericService.set_path("/Services/GenericService.asmx");
SchoolWebsite.Web.Services.GenericService.IsPageNameUnique= function(pageAlias,onSuccess,onFailed,userContext) {SchoolWebsite.Web.Services.GenericService._staticInstance.IsPageNameUnique(pageAlias,onSuccess,onFailed,userContext); }
SchoolWebsite.Web.Services.GenericService.GetCookieValue= function(sectionId,add,remove,sbp,onSuccess,onFailed,userContext) {SchoolWebsite.Web.Services.GenericService._staticInstance.GetCookieValue(sectionId,add,remove,sbp,onSuccess,onFailed,userContext); }
SchoolWebsite.Web.Services.GenericService.GetNumberOfLinksToDisplay= function(id,add,remove,sbp,onSuccess,onFailed,userContext) {SchoolWebsite.Web.Services.GenericService._staticInstance.GetNumberOfLinksToDisplay(id,add,remove,sbp,onSuccess,onFailed,userContext); }
SchoolWebsite.Web.Services.GenericService.GetCategories= function(calendarId,eventId,onSuccess,onFailed,userContext) {SchoolWebsite.Web.Services.GenericService._staticInstance.GetCategories(calendarId,eventId,onSuccess,onFailed,userContext); }
SchoolWebsite.Web.Services.GenericService.GetEvents= function(start,end,calendarId,categoryId,subcategoryId,onSuccess,onFailed,userContext) {SchoolWebsite.Web.Services.GenericService._staticInstance.GetEvents(start,end,calendarId,categoryId,subcategoryId,onSuccess,onFailed,userContext); }
SchoolWebsite.Web.Services.GenericService.PublishPages= function(pageIdList,host,onSuccess,onFailed,userContext) {SchoolWebsite.Web.Services.GenericService._staticInstance.PublishPages(pageIdList,host,onSuccess,onFailed,userContext); }
SchoolWebsite.Web.Services.GenericService.PublishFeatures= function(featureIdList,host,onSuccess,onFailed,userContext) {SchoolWebsite.Web.Services.GenericService._staticInstance.PublishFeatures(featureIdList,host,onSuccess,onFailed,userContext); }
SchoolWebsite.Web.Services.GenericService.StoredSelectedWorkflowPages= function(pageIdList,onSuccess,onFailed,userContext) {SchoolWebsite.Web.Services.GenericService._staticInstance.StoredSelectedWorkflowPages(pageIdList,onSuccess,onFailed,userContext); }
SchoolWebsite.Web.Services.GenericService.StoredSelectedWorkflowFeatures= function(featureIdList,onSuccess,onFailed,userContext) {SchoolWebsite.Web.Services.GenericService._staticInstance.StoredSelectedWorkflowFeatures(featureIdList,onSuccess,onFailed,userContext); }
SchoolWebsite.Web.Services.GenericService.GetPageFeatures= function(pageId,onSuccess,onFailed,userContext) {SchoolWebsite.Web.Services.GenericService._staticInstance.GetPageFeatures(pageId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(SchoolWebsite.Web.Services.AdvancedFormDto) === 'undefined') {
SchoolWebsite.Web.Services.AdvancedFormDto=gtc("SchoolWebsite.Web.Services.AdvancedFormDto");
SchoolWebsite.Web.Services.AdvancedFormDto.registerClass('SchoolWebsite.Web.Services.AdvancedFormDto');
}
Type.registerNamespace('SchoolWebsite.Model');
if (typeof(SchoolWebsite.Model.page_features) === 'undefined') {
SchoolWebsite.Model.page_features=gtc("SchoolWebsite.Model.page_features");
SchoolWebsite.Model.page_features.registerClass('SchoolWebsite.Model.page_features');
}

