Type.registerNamespace('websitebox.web');
websitebox.web.GalleryOperations=function() {
websitebox.web.GalleryOperations.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
websitebox.web.GalleryOperations.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return websitebox.web.GalleryOperations._staticInstance.get_path();},
GetLightboxData:function(blockID,index,isViewMode,succeededCallback, failedCallback, userContext) {
/// <param name="blockID" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="isViewMode" 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(), 'GetLightboxData',false,{blockID:blockID,index:index,isViewMode:isViewMode},succeededCallback,failedCallback,userContext); },
GetScaleData:function(blockID,index,isViewMode,succeededCallback, failedCallback, userContext) {
/// <param name="blockID" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="isViewMode" 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(), 'GetScaleData',false,{blockID:blockID,index:index,isViewMode:isViewMode},succeededCallback,failedCallback,userContext); },
GetThumbData:function(blockID,index,isViewMode,succeededCallback, failedCallback, userContext) {
/// <param name="blockID" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="isViewMode" 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(), 'GetThumbData',false,{blockID:blockID,index:index,isViewMode:isViewMode},succeededCallback,failedCallback,userContext); }}
websitebox.web.GalleryOperations.registerClass('websitebox.web.GalleryOperations',Sys.Net.WebServiceProxy);
websitebox.web.GalleryOperations._staticInstance = new websitebox.web.GalleryOperations();
websitebox.web.GalleryOperations.set_path = function(value) {
websitebox.web.GalleryOperations._staticInstance.set_path(value); }
websitebox.web.GalleryOperations.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return websitebox.web.GalleryOperations._staticInstance.get_path();}
websitebox.web.GalleryOperations.set_timeout = function(value) {
websitebox.web.GalleryOperations._staticInstance.set_timeout(value); }
websitebox.web.GalleryOperations.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return websitebox.web.GalleryOperations._staticInstance.get_timeout(); }
websitebox.web.GalleryOperations.set_defaultUserContext = function(value) { 
websitebox.web.GalleryOperations._staticInstance.set_defaultUserContext(value); }
websitebox.web.GalleryOperations.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return websitebox.web.GalleryOperations._staticInstance.get_defaultUserContext(); }
websitebox.web.GalleryOperations.set_defaultSucceededCallback = function(value) { 
 websitebox.web.GalleryOperations._staticInstance.set_defaultSucceededCallback(value); }
websitebox.web.GalleryOperations.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return websitebox.web.GalleryOperations._staticInstance.get_defaultSucceededCallback(); }
websitebox.web.GalleryOperations.set_defaultFailedCallback = function(value) { 
websitebox.web.GalleryOperations._staticInstance.set_defaultFailedCallback(value); }
websitebox.web.GalleryOperations.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return websitebox.web.GalleryOperations._staticInstance.get_defaultFailedCallback(); }
websitebox.web.GalleryOperations.set_path("/websitebox/WebService/GalleryOperations.asmx");
websitebox.web.GalleryOperations.GetLightboxData= function(blockID,index,isViewMode,onSuccess,onFailed,userContext) {
/// <param name="blockID" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="isViewMode" 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>
websitebox.web.GalleryOperations._staticInstance.GetLightboxData(blockID,index,isViewMode,onSuccess,onFailed,userContext); }
websitebox.web.GalleryOperations.GetScaleData= function(blockID,index,isViewMode,onSuccess,onFailed,userContext) {
/// <param name="blockID" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="isViewMode" 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>
websitebox.web.GalleryOperations._staticInstance.GetScaleData(blockID,index,isViewMode,onSuccess,onFailed,userContext); }
websitebox.web.GalleryOperations.GetThumbData= function(blockID,index,isViewMode,onSuccess,onFailed,userContext) {
/// <param name="blockID" type="Number">System.Int32</param>
/// <param name="index" type="Number">System.Int32</param>
/// <param name="isViewMode" 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>
websitebox.web.GalleryOperations._staticInstance.GetThumbData(blockID,index,isViewMode,onSuccess,onFailed,userContext); }

