var BoardService=function() {
BoardService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BoardService.prototype={
Select:function(id,clientName,succeededCallback, failedCallback, userContext) {
return this._invoke(BoardService.get_path(), 'Select',false,{id:id,clientName:clientName},succeededCallback,failedCallback,userContext); },
Submit:function(dataAsXml,succeededCallback, failedCallback, userContext) {
return this._invoke(BoardService.get_path(), 'Submit',false,{dataAsXml:dataAsXml},succeededCallback,failedCallback,userContext); },
SelectDepartments:function(currentDepartment,succeededCallback, failedCallback, userContext) {
return this._invoke(BoardService.get_path(), 'SelectDepartments',false,{currentDepartment:currentDepartment},succeededCallback,failedCallback,userContext); },
SelectSectorsForADepartment:function(department,succeededCallback, failedCallback, userContext) {
return this._invoke(BoardService.get_path(), 'SelectSectorsForADepartment',false,{department:department},succeededCallback,failedCallback,userContext); },
SelectLineDivisionsForASector:function(sector,succeededCallback, failedCallback, userContext) {
return this._invoke(BoardService.get_path(), 'SelectLineDivisionsForASector',false,{sector:sector},succeededCallback,failedCallback,userContext); },
SelectParticipants:function(department,currentBoard,roleType,showAll,succeededCallback, failedCallback, userContext) {
return this._invoke(BoardService.get_path(), 'SelectParticipants',false,{department:department,currentBoard:currentBoard,roleType:roleType,showAll:showAll},succeededCallback,failedCallback,userContext); },
SelectBoard:function(currentBoard,succeededCallback, failedCallback, userContext) {
return this._invoke(BoardService.get_path(), 'SelectBoard',false,{currentBoard:currentBoard},succeededCallback,failedCallback,userContext); },
AbolishBoard:function(currentBoard,succeededCallback, failedCallback, userContext) {
return this._invoke(BoardService.get_path(), 'AbolishBoard',false,{currentBoard:currentBoard},succeededCallback,failedCallback,userContext); },
GetHierarchyGroup:function(groupId,level,succeededCallback, failedCallback, userContext) {
return this._invoke(BoardService.get_path(), 'GetHierarchyGroup',false,{groupId:groupId,level:level},succeededCallback,failedCallback,userContext); }}
BoardService.registerClass('BoardService',Sys.Net.WebServiceProxy);
BoardService._staticInstance = new BoardService();
BoardService.set_path = function(value) { BoardService._staticInstance._path = value; }
BoardService.get_path = function() { return BoardService._staticInstance._path; }
BoardService.set_timeout = function(value) { BoardService._staticInstance._timeout = value; }
BoardService.get_timeout = function() { return BoardService._staticInstance._timeout; }
BoardService.set_defaultUserContext = function(value) { BoardService._staticInstance._userContext = value; }
BoardService.get_defaultUserContext = function() { return BoardService._staticInstance._userContext; }
BoardService.set_defaultSucceededCallback = function(value) { BoardService._staticInstance._succeeded = value; }
BoardService.get_defaultSucceededCallback = function() { return BoardService._staticInstance._succeeded; }
BoardService.set_defaultFailedCallback = function(value) { BoardService._staticInstance._failed = value; }
BoardService.get_defaultFailedCallback = function() { return BoardService._staticInstance._failed; }
BoardService.set_path("/Services/BoardService.asmx");
BoardService.Select= function(id,clientName,onSuccess,onFailed,userContext) {BoardService._staticInstance.Select(id,clientName,onSuccess,onFailed,userContext); }
BoardService.Submit= function(dataAsXml,onSuccess,onFailed,userContext) {BoardService._staticInstance.Submit(dataAsXml,onSuccess,onFailed,userContext); }
BoardService.SelectDepartments= function(currentDepartment,onSuccess,onFailed,userContext) {BoardService._staticInstance.SelectDepartments(currentDepartment,onSuccess,onFailed,userContext); }
BoardService.SelectSectorsForADepartment= function(department,onSuccess,onFailed,userContext) {BoardService._staticInstance.SelectSectorsForADepartment(department,onSuccess,onFailed,userContext); }
BoardService.SelectLineDivisionsForASector= function(sector,onSuccess,onFailed,userContext) {BoardService._staticInstance.SelectLineDivisionsForASector(sector,onSuccess,onFailed,userContext); }
BoardService.SelectParticipants= function(department,currentBoard,roleType,showAll,onSuccess,onFailed,userContext) {BoardService._staticInstance.SelectParticipants(department,currentBoard,roleType,showAll,onSuccess,onFailed,userContext); }
BoardService.SelectBoard= function(currentBoard,onSuccess,onFailed,userContext) {BoardService._staticInstance.SelectBoard(currentBoard,onSuccess,onFailed,userContext); }
BoardService.AbolishBoard= function(currentBoard,onSuccess,onFailed,userContext) {BoardService._staticInstance.AbolishBoard(currentBoard,onSuccess,onFailed,userContext); }
BoardService.GetHierarchyGroup= function(groupId,level,onSuccess,onFailed,userContext) {BoardService._staticInstance.GetHierarchyGroup(groupId,level,onSuccess,onFailed,userContext); }

