Type.registerNamespace('PoliGraphic');
PoliGraphic.AjaxUtility=function() {
PoliGraphic.AjaxUtility.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PoliGraphic.AjaxUtility.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PoliGraphic.AjaxUtility._staticInstance.get_path();},
GetRandomizedMembers:function(seed,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
/// <param name="seed" type="Number">System.Int32</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" 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(), 'GetRandomizedMembers',false,{seed:seed,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetArtworkImage:function(memberId,index,succeededCallback, failedCallback, userContext) {
/// <param name="memberId" type="Number">System.Int64</param>
/// <param name="index" 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(), 'GetArtworkImage',false,{memberId:memberId,index:index},succeededCallback,failedCallback,userContext); },
GetArtworkIndex:function(memberId,id,succeededCallback, failedCallback, userContext) {
/// <param name="memberId" type="Number">System.Int64</param>
/// <param name="id" type="Number">System.Int64</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(), 'GetArtworkIndex',false,{memberId:memberId,id:id},succeededCallback,failedCallback,userContext); }}
PoliGraphic.AjaxUtility.registerClass('PoliGraphic.AjaxUtility',Sys.Net.WebServiceProxy);
PoliGraphic.AjaxUtility._staticInstance = new PoliGraphic.AjaxUtility();
PoliGraphic.AjaxUtility.set_path = function(value) {
PoliGraphic.AjaxUtility._staticInstance.set_path(value); }
PoliGraphic.AjaxUtility.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return PoliGraphic.AjaxUtility._staticInstance.get_path();}
PoliGraphic.AjaxUtility.set_timeout = function(value) {
PoliGraphic.AjaxUtility._staticInstance.set_timeout(value); }
PoliGraphic.AjaxUtility.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return PoliGraphic.AjaxUtility._staticInstance.get_timeout(); }
PoliGraphic.AjaxUtility.set_defaultUserContext = function(value) { 
PoliGraphic.AjaxUtility._staticInstance.set_defaultUserContext(value); }
PoliGraphic.AjaxUtility.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return PoliGraphic.AjaxUtility._staticInstance.get_defaultUserContext(); }
PoliGraphic.AjaxUtility.set_defaultSucceededCallback = function(value) { 
 PoliGraphic.AjaxUtility._staticInstance.set_defaultSucceededCallback(value); }
PoliGraphic.AjaxUtility.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return PoliGraphic.AjaxUtility._staticInstance.get_defaultSucceededCallback(); }
PoliGraphic.AjaxUtility.set_defaultFailedCallback = function(value) { 
PoliGraphic.AjaxUtility._staticInstance.set_defaultFailedCallback(value); }
PoliGraphic.AjaxUtility.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return PoliGraphic.AjaxUtility._staticInstance.get_defaultFailedCallback(); }
PoliGraphic.AjaxUtility.set_path("/AjaxUtility.asmx");
PoliGraphic.AjaxUtility.GetRandomizedMembers= function(seed,pageIndex,pageSize,onSuccess,onFailed,userContext) {
/// <param name="seed" type="Number">System.Int32</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" 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>
PoliGraphic.AjaxUtility._staticInstance.GetRandomizedMembers(seed,pageIndex,pageSize,onSuccess,onFailed,userContext); }
PoliGraphic.AjaxUtility.GetArtworkImage= function(memberId,index,onSuccess,onFailed,userContext) {
/// <param name="memberId" type="Number">System.Int64</param>
/// <param name="index" 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>
PoliGraphic.AjaxUtility._staticInstance.GetArtworkImage(memberId,index,onSuccess,onFailed,userContext); }
PoliGraphic.AjaxUtility.GetArtworkIndex= function(memberId,id,onSuccess,onFailed,userContext) {
/// <param name="memberId" type="Number">System.Int64</param>
/// <param name="id" type="Number">System.Int64</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>
PoliGraphic.AjaxUtility._staticInstance.GetArtworkIndex(memberId,id,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(PoliGraphic.AjaxUserResponse) === 'undefined') {
PoliGraphic.AjaxUserResponse=gtc("PoliGraphic.AjaxUserResponse");
PoliGraphic.AjaxUserResponse.registerClass('PoliGraphic.AjaxUserResponse');
}
if (typeof(PoliGraphic.ArtworkLightbox) === 'undefined') {
PoliGraphic.ArtworkLightbox=gtc("PoliGraphic.ArtworkLightbox");
PoliGraphic.ArtworkLightbox.registerClass('PoliGraphic.ArtworkLightbox');
}
