Type.registerNamespace('PSCPortal.Services');
PSCPortal.Services.StudentDBService=function() {
PSCPortal.Services.StudentDBService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PSCPortal.Services.StudentDBService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PSCPortal.Services.StudentDBService._staticInstance.get_path();},
UpdateDegreeDB:function(year,testday,filename,succeededCallback, failedCallback, userContext) {
/// <param name="year" type="String">System.String</param>
/// <param name="testday" type="String">System.String</param>
/// <param name="filename" 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(), 'UpdateDegreeDB',false,{year:year,testday:testday,filename:filename},succeededCallback,failedCallback,userContext); },
InsertDBAndIndexing:function(year,testday,succeededCallback, failedCallback, userContext) {
/// <param name="year" type="String">System.String</param>
/// <param name="testday" 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(), 'InsertDBAndIndexing',false,{year:year,testday:testday},succeededCallback,failedCallback,userContext); },
DeleteDBAndIndexing:function(year,succeededCallback, failedCallback, userContext) {
/// <param name="year" 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(), 'DeleteDBAndIndexing',false,{year:year},succeededCallback,failedCallback,userContext); },
GetReportForIndexing:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetReportForIndexing',false,{},succeededCallback,failedCallback,userContext); }}
PSCPortal.Services.StudentDBService.registerClass('PSCPortal.Services.StudentDBService',Sys.Net.WebServiceProxy);
PSCPortal.Services.StudentDBService._staticInstance = new PSCPortal.Services.StudentDBService();
PSCPortal.Services.StudentDBService.set_path = function(value) {
PSCPortal.Services.StudentDBService._staticInstance.set_path(value); }
PSCPortal.Services.StudentDBService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return PSCPortal.Services.StudentDBService._staticInstance.get_path();}
PSCPortal.Services.StudentDBService.set_timeout = function(value) {
PSCPortal.Services.StudentDBService._staticInstance.set_timeout(value); }
PSCPortal.Services.StudentDBService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return PSCPortal.Services.StudentDBService._staticInstance.get_timeout(); }
PSCPortal.Services.StudentDBService.set_defaultUserContext = function(value) { 
PSCPortal.Services.StudentDBService._staticInstance.set_defaultUserContext(value); }
PSCPortal.Services.StudentDBService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return PSCPortal.Services.StudentDBService._staticInstance.get_defaultUserContext(); }
PSCPortal.Services.StudentDBService.set_defaultSucceededCallback = function(value) { 
 PSCPortal.Services.StudentDBService._staticInstance.set_defaultSucceededCallback(value); }
PSCPortal.Services.StudentDBService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return PSCPortal.Services.StudentDBService._staticInstance.get_defaultSucceededCallback(); }
PSCPortal.Services.StudentDBService.set_defaultFailedCallback = function(value) { 
PSCPortal.Services.StudentDBService._staticInstance.set_defaultFailedCallback(value); }
PSCPortal.Services.StudentDBService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return PSCPortal.Services.StudentDBService._staticInstance.get_defaultFailedCallback(); }
PSCPortal.Services.StudentDBService.set_path("/Services/StudentDBService.asmx");
PSCPortal.Services.StudentDBService.UpdateDegreeDB= function(year,testday,filename,onSuccess,onFailed,userContext) {
/// <param name="year" type="String">System.String</param>
/// <param name="testday" type="String">System.String</param>
/// <param name="filename" 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>
PSCPortal.Services.StudentDBService._staticInstance.UpdateDegreeDB(year,testday,filename,onSuccess,onFailed,userContext); }
PSCPortal.Services.StudentDBService.InsertDBAndIndexing= function(year,testday,onSuccess,onFailed,userContext) {
/// <param name="year" type="String">System.String</param>
/// <param name="testday" 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>
PSCPortal.Services.StudentDBService._staticInstance.InsertDBAndIndexing(year,testday,onSuccess,onFailed,userContext); }
PSCPortal.Services.StudentDBService.DeleteDBAndIndexing= function(year,onSuccess,onFailed,userContext) {
/// <param name="year" 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>
PSCPortal.Services.StudentDBService._staticInstance.DeleteDBAndIndexing(year,onSuccess,onFailed,userContext); }
PSCPortal.Services.StudentDBService.GetReportForIndexing= function(onSuccess,onFailed,userContext) {
/// <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>
PSCPortal.Services.StudentDBService._staticInstance.GetReportForIndexing(onSuccess,onFailed,userContext); }

