Type.registerNamespace('WLQuickApps.FieldManager.WebSite');
WLQuickApps.FieldManager.WebSite.SiteService=function() {
WLQuickApps.FieldManager.WebSite.SiteService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WLQuickApps.FieldManager.WebSite.SiteService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.get_path();},
CreateLeague:function(title,description,type,succeededCallback, failedCallback, userContext) {
/// <param name="title" type="String">System.String</param>
/// <param name="description" type="String">System.String</param>
/// <param name="type" 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(), 'CreateLeague',false,{title:title,description:description,type:type},succeededCallback,failedCallback,userContext); },
CreateField:function(title,description,address,latitude,longitude,numberOfFields,parkingLot,phoneNumber,status,succeededCallback, failedCallback, userContext) {
/// <param name="title" type="String">System.String</param>
/// <param name="description" type="String">System.String</param>
/// <param name="address" type="String">System.String</param>
/// <param name="latitude" type="Number">System.Double</param>
/// <param name="longitude" type="Number">System.Double</param>
/// <param name="numberOfFields" type="Number">System.Int32</param>
/// <param name="parkingLot" type="String">System.String</param>
/// <param name="phoneNumber" type="String">System.String</param>
/// <param name="status" 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(), 'CreateField',false,{title:title,description:description,address:address,latitude:latitude,longitude:longitude,numberOfFields:numberOfFields,parkingLot:parkingLot,phoneNumber:phoneNumber,status:status},succeededCallback,failedCallback,userContext); },
GetLeague:function(leagueID,succeededCallback, failedCallback, userContext) {
/// <param name="leagueID" 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(), 'GetLeague',false,{leagueID:leagueID},succeededCallback,failedCallback,userContext); },
GetAllLeagues: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(), 'GetAllLeagues',false,{},succeededCallback,failedCallback,userContext); },
GetLeagues: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(), 'GetLeagues',false,{},succeededCallback,failedCallback,userContext); },
GetField:function(fieldID,succeededCallback, failedCallback, userContext) {
/// <param name="fieldID" 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(), 'GetField',false,{fieldID:fieldID},succeededCallback,failedCallback,userContext); },
GetWeather:function(latitude,longitude,succeededCallback, failedCallback, userContext) {
/// <param name="latitude" type="Number">System.Double</param>
/// <param name="longitude" type="Number">System.Double</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(), 'GetWeather',false,{latitude:latitude,longitude:longitude},succeededCallback,failedCallback,userContext); },
ChangeFieldStatus:function(fieldID,isOpen,status,succeededCallback, failedCallback, userContext) {
/// <param name="fieldID" type="Number">System.Int32</param>
/// <param name="isOpen" type="Boolean">System.Boolean</param>
/// <param name="status" 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(), 'ChangeFieldStatus',false,{fieldID:fieldID,isOpen:isOpen,status:status},succeededCallback,failedCallback,userContext); },
GetMyFields: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(), 'GetMyFields',false,{},succeededCallback,failedCallback,userContext); },
GetFieldsForUser:function(startRowIndex,maximumRows,succeededCallback, failedCallback, userContext) {
/// <param name="startRowIndex" type="Number">System.Int32</param>
/// <param name="maximumRows" 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(), 'GetFieldsForUser',false,{startRowIndex:startRowIndex,maximumRows:maximumRows},succeededCallback,failedCallback,userContext); },
GetFieldsForUserCount: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(), 'GetFieldsForUserCount',false,{},succeededCallback,failedCallback,userContext); },
GetFieldsInRange:function(nLatitude,sLatitude,eLongitude,wLongitude,succeededCallback, failedCallback, userContext) {
/// <param name="nLatitude" type="Number">System.Double</param>
/// <param name="sLatitude" type="Number">System.Double</param>
/// <param name="eLongitude" type="Number">System.Double</param>
/// <param name="wLongitude" type="Number">System.Double</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(), 'GetFieldsInRange',false,{nLatitude:nLatitude,sLatitude:sLatitude,eLongitude:eLongitude,wLongitude:wLongitude},succeededCallback,failedCallback,userContext); },
GetFieldsForLeague:function(leagueID,succeededCallback, failedCallback, userContext) {
/// <param name="leagueID" 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(), 'GetFieldsForLeague',false,{leagueID:leagueID},succeededCallback,failedCallback,userContext); },
GetUsersForField:function(fieldID,succeededCallback, failedCallback, userContext) {
/// <param name="fieldID" 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(), 'GetUsersForField',false,{fieldID:fieldID},succeededCallback,failedCallback,userContext); },
GetUserNameByEmail:function(email,succeededCallback, failedCallback, userContext) {
/// <param name="email" 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(), 'GetUserNameByEmail',false,{email:email},succeededCallback,failedCallback,userContext); },
GetDisplayName: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(), 'GetDisplayName',false,{},succeededCallback,failedCallback,userContext); },
AddToMyFields:function(fieldID,succeededCallback, failedCallback, userContext) {
/// <param name="fieldID" 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(), 'AddToMyFields',false,{fieldID:fieldID},succeededCallback,failedCallback,userContext); },
AddToMyLeagues:function(leagueID,succeededCallback, failedCallback, userContext) {
/// <param name="leagueID" 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(), 'AddToMyLeagues',false,{leagueID:leagueID},succeededCallback,failedCallback,userContext); },
AddFieldAdmin:function(fieldID,userID,succeededCallback, failedCallback, userContext) {
/// <param name="fieldID" type="Number">System.Int32</param>
/// <param name="userID" 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(), 'AddFieldAdmin',false,{fieldID:fieldID,userID:userID},succeededCallback,failedCallback,userContext); },
AddFieldToLeague:function(fieldID,leagueID,succeededCallback, failedCallback, userContext) {
/// <param name="fieldID" type="Number">System.Int32</param>
/// <param name="leagueID" 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(), 'AddFieldToLeague',false,{fieldID:fieldID,leagueID:leagueID},succeededCallback,failedCallback,userContext); },
UpdateLeague:function(leagueID,title,description,type,succeededCallback, failedCallback, userContext) {
/// <param name="leagueID" type="Number">System.Int32</param>
/// <param name="title" type="String">System.String</param>
/// <param name="description" type="String">System.String</param>
/// <param name="type" 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(), 'UpdateLeague',false,{leagueID:leagueID,title:title,description:description,type:type},succeededCallback,failedCallback,userContext); },
UpdateField:function(fieldID,title,description,address,latitude,longitude,numberOfFields,parkingLot,phoneNumber,isOpen,status,succeededCallback, failedCallback, userContext) {
/// <param name="fieldID" type="Number">System.Int32</param>
/// <param name="title" type="String">System.String</param>
/// <param name="description" type="String">System.String</param>
/// <param name="address" type="String">System.String</param>
/// <param name="latitude" type="Number">System.Double</param>
/// <param name="longitude" type="Number">System.Double</param>
/// <param name="numberOfFields" type="Number">System.Int32</param>
/// <param name="parkingLot" type="String">System.String</param>
/// <param name="phoneNumber" type="String">System.String</param>
/// <param name="isOpen" type="Boolean">System.Boolean</param>
/// <param name="status" 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(), 'UpdateField',false,{fieldID:fieldID,title:title,description:description,address:address,latitude:latitude,longitude:longitude,numberOfFields:numberOfFields,parkingLot:parkingLot,phoneNumber:phoneNumber,isOpen:isOpen,status:status},succeededCallback,failedCallback,userContext); },
UpdateMessengerID:function(messengerPresenceID,succeededCallback, failedCallback, userContext) {
/// <param name="messengerPresenceID" 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(), 'UpdateMessengerID',false,{messengerPresenceID:messengerPresenceID},succeededCallback,failedCallback,userContext); },
DeleteLeague:function(leagueID,succeededCallback, failedCallback, userContext) {
/// <param name="leagueID" 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(), 'DeleteLeague',false,{leagueID:leagueID},succeededCallback,failedCallback,userContext); },
DeleteField:function(fieldID,succeededCallback, failedCallback, userContext) {
/// <param name="fieldID" 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(), 'DeleteField',false,{fieldID:fieldID},succeededCallback,failedCallback,userContext); },
RemoveLeague:function(leagueID,succeededCallback, failedCallback, userContext) {
/// <param name="leagueID" 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(), 'RemoveLeague',false,{leagueID:leagueID},succeededCallback,failedCallback,userContext); },
RemoveField:function(fieldID,succeededCallback, failedCallback, userContext) {
/// <param name="fieldID" 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(), 'RemoveField',false,{fieldID:fieldID},succeededCallback,failedCallback,userContext); }}
WLQuickApps.FieldManager.WebSite.SiteService.registerClass('WLQuickApps.FieldManager.WebSite.SiteService',Sys.Net.WebServiceProxy);
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance = new WLQuickApps.FieldManager.WebSite.SiteService();
WLQuickApps.FieldManager.WebSite.SiteService.set_path = function(value) {
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.set_path(value); }
WLQuickApps.FieldManager.WebSite.SiteService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.get_path();}
WLQuickApps.FieldManager.WebSite.SiteService.set_timeout = function(value) {
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.set_timeout(value); }
WLQuickApps.FieldManager.WebSite.SiteService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.get_timeout(); }
WLQuickApps.FieldManager.WebSite.SiteService.set_defaultUserContext = function(value) { 
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.set_defaultUserContext(value); }
WLQuickApps.FieldManager.WebSite.SiteService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.get_defaultUserContext(); }
WLQuickApps.FieldManager.WebSite.SiteService.set_defaultSucceededCallback = function(value) { 
 WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.set_defaultSucceededCallback(value); }
WLQuickApps.FieldManager.WebSite.SiteService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.get_defaultSucceededCallback(); }
WLQuickApps.FieldManager.WebSite.SiteService.set_defaultFailedCallback = function(value) { 
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.set_defaultFailedCallback(value); }
WLQuickApps.FieldManager.WebSite.SiteService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.get_defaultFailedCallback(); }
WLQuickApps.FieldManager.WebSite.SiteService.set_path("/SiteService.svc/json");
WLQuickApps.FieldManager.WebSite.SiteService.CreateLeague= function(title,description,type,onSuccess,onFailed,userContext) {
/// <param name="title" type="String">System.String</param>
/// <param name="description" type="String">System.String</param>
/// <param name="type" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.CreateLeague(title,description,type,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.CreateField= function(title,description,address,latitude,longitude,numberOfFields,parkingLot,phoneNumber,status,onSuccess,onFailed,userContext) {
/// <param name="title" type="String">System.String</param>
/// <param name="description" type="String">System.String</param>
/// <param name="address" type="String">System.String</param>
/// <param name="latitude" type="Number">System.Double</param>
/// <param name="longitude" type="Number">System.Double</param>
/// <param name="numberOfFields" type="Number">System.Int32</param>
/// <param name="parkingLot" type="String">System.String</param>
/// <param name="phoneNumber" type="String">System.String</param>
/// <param name="status" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.CreateField(title,description,address,latitude,longitude,numberOfFields,parkingLot,phoneNumber,status,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetLeague= function(leagueID,onSuccess,onFailed,userContext) {
/// <param name="leagueID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetLeague(leagueID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetAllLeagues= 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetAllLeagues(onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetLeagues= 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetLeagues(onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetField= function(fieldID,onSuccess,onFailed,userContext) {
/// <param name="fieldID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetField(fieldID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetWeather= function(latitude,longitude,onSuccess,onFailed,userContext) {
/// <param name="latitude" type="Number">System.Double</param>
/// <param name="longitude" type="Number">System.Double</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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetWeather(latitude,longitude,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.ChangeFieldStatus= function(fieldID,isOpen,status,onSuccess,onFailed,userContext) {
/// <param name="fieldID" type="Number">System.Int32</param>
/// <param name="isOpen" type="Boolean">System.Boolean</param>
/// <param name="status" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.ChangeFieldStatus(fieldID,isOpen,status,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetMyFields= 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetMyFields(onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetFieldsForUser= function(startRowIndex,maximumRows,onSuccess,onFailed,userContext) {
/// <param name="startRowIndex" type="Number">System.Int32</param>
/// <param name="maximumRows" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetFieldsForUser(startRowIndex,maximumRows,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetFieldsForUserCount= 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetFieldsForUserCount(onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetFieldsInRange= function(nLatitude,sLatitude,eLongitude,wLongitude,onSuccess,onFailed,userContext) {
/// <param name="nLatitude" type="Number">System.Double</param>
/// <param name="sLatitude" type="Number">System.Double</param>
/// <param name="eLongitude" type="Number">System.Double</param>
/// <param name="wLongitude" type="Number">System.Double</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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetFieldsInRange(nLatitude,sLatitude,eLongitude,wLongitude,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetFieldsForLeague= function(leagueID,onSuccess,onFailed,userContext) {
/// <param name="leagueID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetFieldsForLeague(leagueID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetUsersForField= function(fieldID,onSuccess,onFailed,userContext) {
/// <param name="fieldID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetUsersForField(fieldID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetUserNameByEmail= function(email,onSuccess,onFailed,userContext) {
/// <param name="email" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetUserNameByEmail(email,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.GetDisplayName= 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.GetDisplayName(onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.AddToMyFields= function(fieldID,onSuccess,onFailed,userContext) {
/// <param name="fieldID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.AddToMyFields(fieldID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.AddToMyLeagues= function(leagueID,onSuccess,onFailed,userContext) {
/// <param name="leagueID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.AddToMyLeagues(leagueID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.AddFieldAdmin= function(fieldID,userID,onSuccess,onFailed,userContext) {
/// <param name="fieldID" type="Number">System.Int32</param>
/// <param name="userID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.AddFieldAdmin(fieldID,userID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.AddFieldToLeague= function(fieldID,leagueID,onSuccess,onFailed,userContext) {
/// <param name="fieldID" type="Number">System.Int32</param>
/// <param name="leagueID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.AddFieldToLeague(fieldID,leagueID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.UpdateLeague= function(leagueID,title,description,type,onSuccess,onFailed,userContext) {
/// <param name="leagueID" type="Number">System.Int32</param>
/// <param name="title" type="String">System.String</param>
/// <param name="description" type="String">System.String</param>
/// <param name="type" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.UpdateLeague(leagueID,title,description,type,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.UpdateField= function(fieldID,title,description,address,latitude,longitude,numberOfFields,parkingLot,phoneNumber,isOpen,status,onSuccess,onFailed,userContext) {
/// <param name="fieldID" type="Number">System.Int32</param>
/// <param name="title" type="String">System.String</param>
/// <param name="description" type="String">System.String</param>
/// <param name="address" type="String">System.String</param>
/// <param name="latitude" type="Number">System.Double</param>
/// <param name="longitude" type="Number">System.Double</param>
/// <param name="numberOfFields" type="Number">System.Int32</param>
/// <param name="parkingLot" type="String">System.String</param>
/// <param name="phoneNumber" type="String">System.String</param>
/// <param name="isOpen" type="Boolean">System.Boolean</param>
/// <param name="status" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.UpdateField(fieldID,title,description,address,latitude,longitude,numberOfFields,parkingLot,phoneNumber,isOpen,status,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.UpdateMessengerID= function(messengerPresenceID,onSuccess,onFailed,userContext) {
/// <param name="messengerPresenceID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.UpdateMessengerID(messengerPresenceID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.DeleteLeague= function(leagueID,onSuccess,onFailed,userContext) {
/// <param name="leagueID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.DeleteLeague(leagueID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.DeleteField= function(fieldID,onSuccess,onFailed,userContext) {
/// <param name="fieldID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.DeleteField(fieldID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.RemoveLeague= function(leagueID,onSuccess,onFailed,userContext) {
/// <param name="leagueID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.RemoveLeague(leagueID,onSuccess,onFailed,userContext); }
WLQuickApps.FieldManager.WebSite.SiteService.RemoveField= function(fieldID,onSuccess,onFailed,userContext) {
/// <param name="fieldID" 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>
WLQuickApps.FieldManager.WebSite.SiteService._staticInstance.RemoveField(fieldID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WLQuickApps.FieldManager.WebSite.LeagueItem) === 'undefined') {
WLQuickApps.FieldManager.WebSite.LeagueItem=gtc("LeagueItem:http://schemas.datacontract.org/2004/07/WLQuickApps.FieldManager.WebSite");
WLQuickApps.FieldManager.WebSite.LeagueItem.registerClass('WLQuickApps.FieldManager.WebSite.LeagueItem');
}
if (typeof(WLQuickApps.FieldManager.WebSite.FieldItem) === 'undefined') {
WLQuickApps.FieldManager.WebSite.FieldItem=gtc("FieldItem:http://schemas.datacontract.org/2004/07/WLQuickApps.FieldManager.WebSite");
WLQuickApps.FieldManager.WebSite.FieldItem.registerClass('WLQuickApps.FieldManager.WebSite.FieldItem');
}
Type.registerNamespace('WLQuickApps.FieldManager.Business');
if (typeof(WLQuickApps.FieldManager.Business.Weather) === 'undefined') {
WLQuickApps.FieldManager.Business.Weather=gtc("Weather:http://schemas.datacontract.org/2004/07/WLQuickApps.FieldManager.Business");
WLQuickApps.FieldManager.Business.Weather.registerClass('WLQuickApps.FieldManager.Business.Weather');
}
if (typeof(WLQuickApps.FieldManager.WebSite.UserItem) === 'undefined') {
WLQuickApps.FieldManager.WebSite.UserItem=gtc("UserItem:http://schemas.datacontract.org/2004/07/WLQuickApps.FieldManager.WebSite");
WLQuickApps.FieldManager.WebSite.UserItem.registerClass('WLQuickApps.FieldManager.WebSite.UserItem');
}
