Type.registerNamespace('CHI.SiteCore');
CHI.SiteCore.ProjectService=function() {
CHI.SiteCore.ProjectService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CHI.SiteCore.ProjectService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CHI.SiteCore.ProjectService._staticInstance.get_path();},
GetPublicationsAndPresentations:function(dbName,projectId,sortBy,pageNum,perPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPublicationsAndPresentations',false,{dbName:dbName,projectId:projectId,sortBy:sortBy,pageNum:pageNum,perPage:perPage},succeededCallback,failedCallback,userContext); },
GetEvents:function(dbName,projectId,sortBy,pageNum,perPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEvents',false,{dbName:dbName,projectId:projectId,sortBy:sortBy,pageNum:pageNum,perPage:perPage},succeededCallback,failedCallback,userContext); },
GetUpcomingEvents:function(dbName,sortBy,pageNum,perPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUpcomingEvents',false,{dbName:dbName,sortBy:sortBy,pageNum:pageNum,perPage:perPage},succeededCallback,failedCallback,userContext); },
GetDataRes:function(dbName,projectId,sortBy,pageNum,perPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDataRes',false,{dbName:dbName,projectId:projectId,sortBy:sortBy,pageNum:pageNum,perPage:perPage},succeededCallback,failedCallback,userContext); },
GetInitiatives:function(dbName,projectId,sortBy,pageNum,perPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetInitiatives',false,{dbName:dbName,projectId:projectId,sortBy:sortBy,pageNum:pageNum,perPage:perPage},succeededCallback,failedCallback,userContext); },
GetRelRes:function(dbName,projectId,sortBy,pageNum,perPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRelRes',false,{dbName:dbName,projectId:projectId,sortBy:sortBy,pageNum:pageNum,perPage:perPage},succeededCallback,failedCallback,userContext); },
GetRelMaps:function(dbName,itemId,sortBy,pageNum,perPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRelMaps',false,{dbName:dbName,itemId:itemId,sortBy:sortBy,pageNum:pageNum,perPage:perPage},succeededCallback,failedCallback,userContext); },
GetRelTables:function(dbName,itemId,sortBy,pageNum,perPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRelTables',false,{dbName:dbName,itemId:itemId,sortBy:sortBy,pageNum:pageNum,perPage:perPage},succeededCallback,failedCallback,userContext); },
GetCurrProjs:function(dbName,itemId,sortBy,pageNum,perPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCurrProjs',false,{dbName:dbName,itemId:itemId,sortBy:sortBy,pageNum:pageNum,perPage:perPage},succeededCallback,failedCallback,userContext); },
GetIndicators:function(dbName,projectId,sortBy,pageNum,perPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetIndicators',false,{dbName:dbName,projectId:projectId,sortBy:sortBy,pageNum:pageNum,perPage:perPage},succeededCallback,failedCallback,userContext); }}
CHI.SiteCore.ProjectService.registerClass('CHI.SiteCore.ProjectService',Sys.Net.WebServiceProxy);
CHI.SiteCore.ProjectService._staticInstance = new CHI.SiteCore.ProjectService();
CHI.SiteCore.ProjectService.set_path = function(value) { CHI.SiteCore.ProjectService._staticInstance.set_path(value); }
CHI.SiteCore.ProjectService.get_path = function() { return CHI.SiteCore.ProjectService._staticInstance.get_path(); }
CHI.SiteCore.ProjectService.set_timeout = function(value) { CHI.SiteCore.ProjectService._staticInstance.set_timeout(value); }
CHI.SiteCore.ProjectService.get_timeout = function() { return CHI.SiteCore.ProjectService._staticInstance.get_timeout(); }
CHI.SiteCore.ProjectService.set_defaultUserContext = function(value) { CHI.SiteCore.ProjectService._staticInstance.set_defaultUserContext(value); }
CHI.SiteCore.ProjectService.get_defaultUserContext = function() { return CHI.SiteCore.ProjectService._staticInstance.get_defaultUserContext(); }
CHI.SiteCore.ProjectService.set_defaultSucceededCallback = function(value) { CHI.SiteCore.ProjectService._staticInstance.set_defaultSucceededCallback(value); }
CHI.SiteCore.ProjectService.get_defaultSucceededCallback = function() { return CHI.SiteCore.ProjectService._staticInstance.get_defaultSucceededCallback(); }
CHI.SiteCore.ProjectService.set_defaultFailedCallback = function(value) { CHI.SiteCore.ProjectService._staticInstance.set_defaultFailedCallback(value); }
CHI.SiteCore.ProjectService.get_defaultFailedCallback = function() { return CHI.SiteCore.ProjectService._staticInstance.get_defaultFailedCallback(); }
CHI.SiteCore.ProjectService.set_path("/services/ProjectService.svc");
CHI.SiteCore.ProjectService.GetPublicationsAndPresentations= function(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext) {CHI.SiteCore.ProjectService._staticInstance.GetPublicationsAndPresentations(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext); }
CHI.SiteCore.ProjectService.GetEvents= function(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext) {CHI.SiteCore.ProjectService._staticInstance.GetEvents(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext); }
CHI.SiteCore.ProjectService.GetUpcomingEvents= function(dbName,sortBy,pageNum,perPage,onSuccess,onFailed,userContext) {CHI.SiteCore.ProjectService._staticInstance.GetUpcomingEvents(dbName,sortBy,pageNum,perPage,onSuccess,onFailed,userContext); }
CHI.SiteCore.ProjectService.GetDataRes= function(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext) {CHI.SiteCore.ProjectService._staticInstance.GetDataRes(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext); }
CHI.SiteCore.ProjectService.GetInitiatives= function(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext) {CHI.SiteCore.ProjectService._staticInstance.GetInitiatives(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext); }
CHI.SiteCore.ProjectService.GetRelRes= function(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext) {CHI.SiteCore.ProjectService._staticInstance.GetRelRes(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext); }
CHI.SiteCore.ProjectService.GetRelMaps= function(dbName,itemId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext) {CHI.SiteCore.ProjectService._staticInstance.GetRelMaps(dbName,itemId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext); }
CHI.SiteCore.ProjectService.GetRelTables= function(dbName,itemId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext) {CHI.SiteCore.ProjectService._staticInstance.GetRelTables(dbName,itemId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext); }
CHI.SiteCore.ProjectService.GetCurrProjs= function(dbName,itemId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext) {CHI.SiteCore.ProjectService._staticInstance.GetCurrProjs(dbName,itemId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext); }
CHI.SiteCore.ProjectService.GetIndicators= function(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext) {CHI.SiteCore.ProjectService._staticInstance.GetIndicators(dbName,projectId,sortBy,pageNum,perPage,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(CHI.SiteCore.ProjectData) === 'undefined') {
CHI.SiteCore.ProjectData=gtc("ProjectData:http://schemas.datacontract.org/2004/07/CHI.SiteCore");
CHI.SiteCore.ProjectData.registerClass('CHI.SiteCore.ProjectData');
}
if (typeof(CHI.SiteCore.ProjectItem) === 'undefined') {
CHI.SiteCore.ProjectItem=gtc("ProjectItem:http://schemas.datacontract.org/2004/07/CHI.SiteCore");
CHI.SiteCore.ProjectItem.registerClass('CHI.SiteCore.ProjectItem');
}
