Type.registerNamespace('EZP.Api.Presentation.Web.Ajax');
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc=function() {
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.get_path();},
GetGuestNote:function(token,id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGuestNote',false,{token:token,id:id},succeededCallback,failedCallback,userContext); },
GetGuestNoteList:function(token,showAllNotes,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetGuestNoteList',false,{token:token,showAllNotes:showAllNotes},succeededCallback,failedCallback,userContext); },
GuestNoteDeactivateDisplay:function(token,id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GuestNoteDeactivateDisplay',false,{token:token,id:id},succeededCallback,failedCallback,userContext); }}
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.registerClass('EZP.Api.Presentation.Web.Ajax.GuestNoteSvc',Sys.Net.WebServiceProxy);
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance = new EZP.Api.Presentation.Web.Ajax.GuestNoteSvc();
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.set_path = function(value) { EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.set_path(value); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.get_path = function() { return EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.get_path(); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.set_timeout = function(value) { EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.set_timeout(value); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.get_timeout = function() { return EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.get_timeout(); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.set_defaultUserContext = function(value) { EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.set_defaultUserContext(value); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.get_defaultUserContext = function() { return EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.get_defaultUserContext(); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.set_defaultSucceededCallback = function(value) { EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.set_defaultSucceededCallback(value); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.get_defaultSucceededCallback = function() { return EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.get_defaultSucceededCallback(); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.set_defaultFailedCallback = function(value) { EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.set_defaultFailedCallback(value); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.get_defaultFailedCallback = function() { return EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.get_defaultFailedCallback(); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.set_path("/api/Ajax/guestnote.asmx");
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.GetGuestNote= function(token,id,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.GetGuestNote(token,id,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.GetGuestNoteList= function(token,showAllNotes,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.GetGuestNoteList(token,showAllNotes,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.GuestNoteSvc.GuestNoteDeactivateDisplay= function(token,id,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.GuestNoteSvc._staticInstance.GuestNoteDeactivateDisplay(token,id,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('EZP.DPP.Data.GuestNote');
if (typeof(EZP.DPP.Data.GuestNote.GuestNoteDto) === 'undefined') {
EZP.DPP.Data.GuestNote.GuestNoteDto=gtc("EZP.DPP.Data.GuestNote.GuestNoteDto");
EZP.DPP.Data.GuestNote.GuestNoteDto.registerClass('EZP.DPP.Data.GuestNote.GuestNoteDto');
}
