Type.registerNamespace('EZP.Api.Presentation.Web.Ajax');
EZP.Api.Presentation.Web.Ajax.PhotoOrgService=function() {
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.get_path();},
getPhotoOrganization:function(UserToken,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getPhotoOrganization',false,{UserToken:UserToken},succeededCallback,failedCallback,userContext); },
getImageListForCategoryAlbum:function(UserToken,Category,Album,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getImageListForCategoryAlbum',false,{UserToken:UserToken,Category:Category,Album:Album},succeededCallback,failedCallback,userContext); },
getImageListWithCategoryAndAlbum:function(AccountId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getImageListWithCategoryAndAlbum',false,{AccountId:AccountId},succeededCallback,failedCallback,userContext); },
getSharedImageListWithCategoryAndAlbum:function(ShareToken,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getSharedImageListWithCategoryAndAlbum',false,{ShareToken:ShareToken},succeededCallback,failedCallback,userContext); },
SetImageAsFavorite:function(UserToken,ImageId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetImageAsFavorite',false,{UserToken:UserToken,ImageId:ImageId},succeededCallback,failedCallback,userContext); },
UnMarkImageAsFavorite:function(UserToken,ImageId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UnMarkImageAsFavorite',false,{UserToken:UserToken,ImageId:ImageId},succeededCallback,failedCallback,userContext); },
getPhotoOrgForWidget:function(UserToken,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getPhotoOrgForWidget',false,{UserToken:UserToken},succeededCallback,failedCallback,userContext); }}
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.registerClass('EZP.Api.Presentation.Web.Ajax.PhotoOrgService',Sys.Net.WebServiceProxy);
EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance = new EZP.Api.Presentation.Web.Ajax.PhotoOrgService();
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.set_path = function(value) { EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.set_path(value); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.get_path = function() { return EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.get_path(); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.set_timeout = function(value) { EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.set_timeout(value); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.get_timeout = function() { return EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.get_timeout(); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.set_defaultUserContext = function(value) { EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.set_defaultUserContext(value); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.get_defaultUserContext = function() { return EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.get_defaultUserContext(); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.set_defaultSucceededCallback = function(value) { EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.set_defaultSucceededCallback(value); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.get_defaultSucceededCallback = function() { return EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.get_defaultSucceededCallback(); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.set_defaultFailedCallback = function(value) { EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.set_defaultFailedCallback(value); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.get_defaultFailedCallback = function() { return EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.get_defaultFailedCallback(); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.set_path("/api/Ajax/PhotoOrganization.asmx");
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.getPhotoOrganization= function(UserToken,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.getPhotoOrganization(UserToken,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.getImageListForCategoryAlbum= function(UserToken,Category,Album,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.getImageListForCategoryAlbum(UserToken,Category,Album,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.getImageListWithCategoryAndAlbum= function(AccountId,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.getImageListWithCategoryAndAlbum(AccountId,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.getSharedImageListWithCategoryAndAlbum= function(ShareToken,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.getSharedImageListWithCategoryAndAlbum(ShareToken,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.SetImageAsFavorite= function(UserToken,ImageId,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.SetImageAsFavorite(UserToken,ImageId,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.UnMarkImageAsFavorite= function(UserToken,ImageId,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.UnMarkImageAsFavorite(UserToken,ImageId,onSuccess,onFailed,userContext); }
EZP.Api.Presentation.Web.Ajax.PhotoOrgService.getPhotoOrgForWidget= function(UserToken,onSuccess,onFailed,userContext) {EZP.Api.Presentation.Web.Ajax.PhotoOrgService._staticInstance.getPhotoOrgForWidget(UserToken,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('EZP.DPP.Dto');
if (typeof(EZP.DPP.Dto.PhotoOrganization) === 'undefined') {
EZP.DPP.Dto.PhotoOrganization=gtc("EZP.DPP.Dto.PhotoOrganization");
EZP.DPP.Dto.PhotoOrganization.registerClass('EZP.DPP.Dto.PhotoOrganization');
}
Type.registerNamespace('EZP.JCM.Service');
if (typeof(EZP.JCM.Service.ImageInfo) === 'undefined') {
EZP.JCM.Service.ImageInfo=gtc("EZP.JCM.Service.ImageInfo");
EZP.JCM.Service.ImageInfo.registerClass('EZP.JCM.Service.ImageInfo');
}
