Type.registerNamespace('WebMarkers');
WebMarkers.online=function() {
WebMarkers.online.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebMarkers.online.prototype={
GetMyAccount:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'GetMyAccount',false,{},succeededCallback,failedCallback,userContext); },
IsLoggedIn:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'IsLoggedIn',false,{},succeededCallback,failedCallback,userContext); },
RedirectToGoogle:function(amount,succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'RedirectToGoogle',false,{amount:amount},succeededCallback,failedCallback,userContext); },
LoginByEmail:function(email,password,succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'LoginByEmail',false,{email:email,password:password},succeededCallback,failedCallback,userContext); },
LoginByCustomerID:function(customerId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'LoginByCustomerID',false,{customerId:customerId},succeededCallback,failedCallback,userContext); },
SendLostPasswordEmail:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'SendLostPasswordEmail',false,{email:email},succeededCallback,failedCallback,userContext); },
DoResetPassword:function(passwordResetGuid,newPassword,succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'DoResetPassword',false,{passwordResetGuid:passwordResetGuid,newPassword:newPassword},succeededCallback,failedCallback,userContext); },
FreeUpgrade:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'FreeUpgrade',false,{},succeededCallback,failedCallback,userContext); },
GetCryptKey:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'GetCryptKey',false,{},succeededCallback,failedCallback,userContext); },
GetFoldersInParent:function(parentFolderId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'GetFoldersInParent',false,{parentFolderId:parentFolderId},succeededCallback,failedCallback,userContext); },
GetDocumentsInFolder:function(folderId,succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'GetDocumentsInFolder',false,{folderId:folderId},succeededCallback,failedCallback,userContext); },
GetDocumentsByID:function(documentIds,succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'GetDocumentsByID',false,{documentIds:documentIds},succeededCallback,failedCallback,userContext); },
MarkDocumentsDeleted:function(documentIds,succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'MarkDocumentsDeleted',false,{documentIds:documentIds},succeededCallback,failedCallback,userContext); },
GetURLToDownload:function(cryptKey,documentIds,succeededCallback, failedCallback, userContext) {
return this._invoke(WebMarkers.online.get_path(), 'GetURLToDownload',false,{cryptKey:cryptKey,documentIds:documentIds},succeededCallback,failedCallback,userContext); }}
WebMarkers.online.registerClass('WebMarkers.online',Sys.Net.WebServiceProxy);
WebMarkers.online._staticInstance = new WebMarkers.online();
WebMarkers.online.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WebMarkers.online._staticInstance._path = value; }
WebMarkers.online.get_path = function() { return WebMarkers.online._staticInstance._path; }
WebMarkers.online.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
WebMarkers.online._staticInstance._timeout = value; }
WebMarkers.online.get_timeout = function() { 
return WebMarkers.online._staticInstance._timeout; }
WebMarkers.online.set_defaultUserContext = function(value) { 
WebMarkers.online._staticInstance._userContext = value; }
WebMarkers.online.get_defaultUserContext = function() { 
return WebMarkers.online._staticInstance._userContext; }
WebMarkers.online.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WebMarkers.online._staticInstance._succeeded = value; }
WebMarkers.online.get_defaultSucceededCallback = function() { 
return WebMarkers.online._staticInstance._succeeded; }
WebMarkers.online.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WebMarkers.online._staticInstance._failed = value; }
WebMarkers.online.get_defaultFailedCallback = function() { 
return WebMarkers.online._staticInstance._failed; }
WebMarkers.online.set_path("/services/online.asmx");
WebMarkers.online.GetMyAccount= function(onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.GetMyAccount(onSuccess,onFailed,userContext); }
WebMarkers.online.IsLoggedIn= function(onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.IsLoggedIn(onSuccess,onFailed,userContext); }
WebMarkers.online.RedirectToGoogle= function(amount,onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.RedirectToGoogle(amount,onSuccess,onFailed,userContext); }
WebMarkers.online.LoginByEmail= function(email,password,onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.LoginByEmail(email,password,onSuccess,onFailed,userContext); }
WebMarkers.online.LoginByCustomerID= function(customerId,onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.LoginByCustomerID(customerId,onSuccess,onFailed,userContext); }
WebMarkers.online.SendLostPasswordEmail= function(email,onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.SendLostPasswordEmail(email,onSuccess,onFailed,userContext); }
WebMarkers.online.DoResetPassword= function(passwordResetGuid,newPassword,onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.DoResetPassword(passwordResetGuid,newPassword,onSuccess,onFailed,userContext); }
WebMarkers.online.FreeUpgrade= function(onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.FreeUpgrade(onSuccess,onFailed,userContext); }
WebMarkers.online.GetCryptKey= function(onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.GetCryptKey(onSuccess,onFailed,userContext); }
WebMarkers.online.GetFoldersInParent= function(parentFolderId,onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.GetFoldersInParent(parentFolderId,onSuccess,onFailed,userContext); }
WebMarkers.online.GetDocumentsInFolder= function(folderId,onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.GetDocumentsInFolder(folderId,onSuccess,onFailed,userContext); }
WebMarkers.online.GetDocumentsByID= function(documentIds,onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.GetDocumentsByID(documentIds,onSuccess,onFailed,userContext); }
WebMarkers.online.MarkDocumentsDeleted= function(documentIds,onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.MarkDocumentsDeleted(documentIds,onSuccess,onFailed,userContext); }
WebMarkers.online.GetURLToDownload= function(cryptKey,documentIds,onSuccess,onFailed,userContext) {WebMarkers.online._staticInstance.GetURLToDownload(cryptKey,documentIds,onSuccess,onFailed,userContext); }
