Type.registerNamespace('Web.Service');
Web.Service.MFS=function() {
Web.Service.MFS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Web.Service.MFS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Web.Service.MFS._staticInstance.get_path();},
GetMFS:function(prefix,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefix" type="String">System.String</param>
/// <param name="count" 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(), 'GetMFS',false,{prefix:prefix,count:count},succeededCallback,failedCallback,userContext); },
SearchText:function(searchTerm,pageLength,pageIndex,succeededCallback, failedCallback, userContext) {
/// <param name="searchTerm" type="String">System.String</param>
/// <param name="pageLength" type="Number">System.Int32</param>
/// <param name="pageIndex" 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(), 'SearchText',false,{searchTerm:searchTerm,pageLength:pageLength,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
AutoComplete:function(prefix,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefix" type="String">System.String</param>
/// <param name="count" 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(), 'AutoComplete',false,{prefix:prefix,count:count},succeededCallback,failedCallback,userContext); },
SearchLocation:function(lowerLat,upperLat,lowerLng,upperLng,includeProduct,pageLength,pageIndex,succeededCallback, failedCallback, userContext) {
/// <param name="lowerLat" type="Number">System.Double</param>
/// <param name="upperLat" type="Number">System.Double</param>
/// <param name="lowerLng" type="Number">System.Double</param>
/// <param name="upperLng" type="Number">System.Double</param>
/// <param name="includeProduct" type="Boolean">System.Boolean</param>
/// <param name="pageLength" type="Number">System.Int32</param>
/// <param name="pageIndex" 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(), 'SearchLocation',false,{lowerLat:lowerLat,upperLat:upperLat,lowerLng:lowerLng,upperLng:upperLng,includeProduct:includeProduct,pageLength:pageLength,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
SearchByClassification:function(lowerLat,upperLat,lowerLng,upperLng,classificationIDList,succeededCallback, failedCallback, userContext) {
/// <param name="lowerLat" type="Number">System.Double</param>
/// <param name="upperLat" type="Number">System.Double</param>
/// <param name="lowerLng" type="Number">System.Double</param>
/// <param name="upperLng" type="Number">System.Double</param>
/// <param name="classificationIDList" 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(), 'SearchByClassification',false,{lowerLat:lowerLat,upperLat:upperLat,lowerLng:lowerLng,upperLng:upperLng,classificationIDList:classificationIDList},succeededCallback,failedCallback,userContext); },
GetLanding20: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(), 'GetLanding20',false,{},succeededCallback,failedCallback,userContext); },
GetRegions: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(), 'GetRegions',false,{},succeededCallback,failedCallback,userContext); },
GetPrecinctByRegion:function(regionID,succeededCallback, failedCallback, userContext) {
/// <param name="regionID" 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(), 'GetPrecinctByRegion',false,{regionID:regionID},succeededCallback,failedCallback,userContext); },
GetPrecinct:function(precinctID,succeededCallback, failedCallback, userContext) {
/// <param name="precinctID" 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(), 'GetPrecinct',false,{precinctID:precinctID},succeededCallback,failedCallback,userContext); },
GetPrecinctByLocation:function(lowerLat,upperLat,lowerLng,upperLng,succeededCallback, failedCallback, userContext) {
/// <param name="lowerLat" type="Number">System.Double</param>
/// <param name="upperLat" type="Number">System.Double</param>
/// <param name="lowerLng" type="Number">System.Double</param>
/// <param name="upperLng" 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(), 'GetPrecinctByLocation',false,{lowerLat:lowerLat,upperLat:upperLat,lowerLng:lowerLng,upperLng:upperLng},succeededCallback,failedCallback,userContext); },
Save:function(submission,item,images,videos,succeededCallback, failedCallback, userContext) {
/// <param name="submission" type="BMLibrary.BLL.MFSSubmission">BMLibrary.BLL.MFSSubmission</param>
/// <param name="item" type="BMLibrary.BLL.MFSItem">BMLibrary.BLL.MFSItem</param>
/// <param name="images" type="Array">System.Collections.Generic.List`1[[VisitBrisbane.Resources.WebServices.ImageItem, VisitBrisbane, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]</param>
/// <param name="videos" type="Array">System.Collections.Generic.List`1[[VisitBrisbane.Resources.WebServices.VideoItem, VisitBrisbane, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]</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(), 'Save',false,{submission:submission,item:item,images:images,videos:videos},succeededCallback,failedCallback,userContext); },
GetVICs: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(), 'GetVICs',false,{},succeededCallback,failedCallback,userContext); }}
Web.Service.MFS.registerClass('Web.Service.MFS',Sys.Net.WebServiceProxy);
Web.Service.MFS._staticInstance = new Web.Service.MFS();
Web.Service.MFS.set_path = function(value) {
Web.Service.MFS._staticInstance.set_path(value); }
Web.Service.MFS.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Web.Service.MFS._staticInstance.get_path();}
Web.Service.MFS.set_timeout = function(value) {
Web.Service.MFS._staticInstance.set_timeout(value); }
Web.Service.MFS.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Web.Service.MFS._staticInstance.get_timeout(); }
Web.Service.MFS.set_defaultUserContext = function(value) { 
Web.Service.MFS._staticInstance.set_defaultUserContext(value); }
Web.Service.MFS.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Web.Service.MFS._staticInstance.get_defaultUserContext(); }
Web.Service.MFS.set_defaultSucceededCallback = function(value) { 
 Web.Service.MFS._staticInstance.set_defaultSucceededCallback(value); }
Web.Service.MFS.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Web.Service.MFS._staticInstance.get_defaultSucceededCallback(); }
Web.Service.MFS.set_defaultFailedCallback = function(value) { 
Web.Service.MFS._staticInstance.set_defaultFailedCallback(value); }
Web.Service.MFS.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Web.Service.MFS._staticInstance.get_defaultFailedCallback(); }
Web.Service.MFS.set_path("/Resources/WebServices/MFS.svc");
Web.Service.MFS.GetMFS= function(prefix,count,onSuccess,onFailed,userContext) {
/// <param name="prefix" type="String">System.String</param>
/// <param name="count" 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>
Web.Service.MFS._staticInstance.GetMFS(prefix,count,onSuccess,onFailed,userContext); }
Web.Service.MFS.SearchText= function(searchTerm,pageLength,pageIndex,onSuccess,onFailed,userContext) {
/// <param name="searchTerm" type="String">System.String</param>
/// <param name="pageLength" type="Number">System.Int32</param>
/// <param name="pageIndex" 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>
Web.Service.MFS._staticInstance.SearchText(searchTerm,pageLength,pageIndex,onSuccess,onFailed,userContext); }
Web.Service.MFS.AutoComplete= function(prefix,count,onSuccess,onFailed,userContext) {
/// <param name="prefix" type="String">System.String</param>
/// <param name="count" 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>
Web.Service.MFS._staticInstance.AutoComplete(prefix,count,onSuccess,onFailed,userContext); }
Web.Service.MFS.SearchLocation= function(lowerLat,upperLat,lowerLng,upperLng,includeProduct,pageLength,pageIndex,onSuccess,onFailed,userContext) {
/// <param name="lowerLat" type="Number">System.Double</param>
/// <param name="upperLat" type="Number">System.Double</param>
/// <param name="lowerLng" type="Number">System.Double</param>
/// <param name="upperLng" type="Number">System.Double</param>
/// <param name="includeProduct" type="Boolean">System.Boolean</param>
/// <param name="pageLength" type="Number">System.Int32</param>
/// <param name="pageIndex" 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>
Web.Service.MFS._staticInstance.SearchLocation(lowerLat,upperLat,lowerLng,upperLng,includeProduct,pageLength,pageIndex,onSuccess,onFailed,userContext); }
Web.Service.MFS.SearchByClassification= function(lowerLat,upperLat,lowerLng,upperLng,classificationIDList,onSuccess,onFailed,userContext) {
/// <param name="lowerLat" type="Number">System.Double</param>
/// <param name="upperLat" type="Number">System.Double</param>
/// <param name="lowerLng" type="Number">System.Double</param>
/// <param name="upperLng" type="Number">System.Double</param>
/// <param name="classificationIDList" 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>
Web.Service.MFS._staticInstance.SearchByClassification(lowerLat,upperLat,lowerLng,upperLng,classificationIDList,onSuccess,onFailed,userContext); }
Web.Service.MFS.GetLanding20= 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>
Web.Service.MFS._staticInstance.GetLanding20(onSuccess,onFailed,userContext); }
Web.Service.MFS.GetRegions= 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>
Web.Service.MFS._staticInstance.GetRegions(onSuccess,onFailed,userContext); }
Web.Service.MFS.GetPrecinctByRegion= function(regionID,onSuccess,onFailed,userContext) {
/// <param name="regionID" 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>
Web.Service.MFS._staticInstance.GetPrecinctByRegion(regionID,onSuccess,onFailed,userContext); }
Web.Service.MFS.GetPrecinct= function(precinctID,onSuccess,onFailed,userContext) {
/// <param name="precinctID" 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>
Web.Service.MFS._staticInstance.GetPrecinct(precinctID,onSuccess,onFailed,userContext); }
Web.Service.MFS.GetPrecinctByLocation= function(lowerLat,upperLat,lowerLng,upperLng,onSuccess,onFailed,userContext) {
/// <param name="lowerLat" type="Number">System.Double</param>
/// <param name="upperLat" type="Number">System.Double</param>
/// <param name="lowerLng" type="Number">System.Double</param>
/// <param name="upperLng" 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>
Web.Service.MFS._staticInstance.GetPrecinctByLocation(lowerLat,upperLat,lowerLng,upperLng,onSuccess,onFailed,userContext); }
Web.Service.MFS.Save= function(submission,item,images,videos,onSuccess,onFailed,userContext) {
/// <param name="submission" type="BMLibrary.BLL.MFSSubmission">BMLibrary.BLL.MFSSubmission</param>
/// <param name="item" type="BMLibrary.BLL.MFSItem">BMLibrary.BLL.MFSItem</param>
/// <param name="images" type="Array">System.Collections.Generic.List`1[[VisitBrisbane.Resources.WebServices.ImageItem, VisitBrisbane, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]</param>
/// <param name="videos" type="Array">System.Collections.Generic.List`1[[VisitBrisbane.Resources.WebServices.VideoItem, VisitBrisbane, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]</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>
Web.Service.MFS._staticInstance.Save(submission,item,images,videos,onSuccess,onFailed,userContext); }
Web.Service.MFS.GetVICs= 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>
Web.Service.MFS._staticInstance.GetVICs(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('BMLibrary.BLL');
if (typeof(BMLibrary.BLL.MFSItem) === 'undefined') {
BMLibrary.BLL.MFSItem=gtc("MFSItem:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.MFSItem.registerClass('BMLibrary.BLL.MFSItem');
}
if (typeof(BMLibrary.BLL.MFSSubmission) === 'undefined') {
BMLibrary.BLL.MFSSubmission=gtc("MFSSubmission:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.MFSSubmission.registerClass('BMLibrary.BLL.MFSSubmission');
}
Type.registerNamespace('VisitBrisbane.Resources.WebServices');
if (typeof(VisitBrisbane.Resources.WebServices.ImageItem) === 'undefined') {
VisitBrisbane.Resources.WebServices.ImageItem=gtc("ImageItem:http://schemas.datacontract.org/2004/07/VisitBrisbane.Resources.WebServices");
VisitBrisbane.Resources.WebServices.ImageItem.registerClass('VisitBrisbane.Resources.WebServices.ImageItem');
}
if (typeof(VisitBrisbane.Resources.WebServices.VideoItem) === 'undefined') {
VisitBrisbane.Resources.WebServices.VideoItem=gtc("VideoItem:http://schemas.datacontract.org/2004/07/VisitBrisbane.Resources.WebServices");
VisitBrisbane.Resources.WebServices.VideoItem.registerClass('VisitBrisbane.Resources.WebServices.VideoItem');
}

