var PhotoCommentManagement=function() {
PhotoCommentManagement.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PhotoCommentManagement.prototype={
SaveComment:function(comment,userGuid,photoId,isKeepPosted,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoCommentManagement.get_path(), 'SaveComment',false,{comment:comment,userGuid:userGuid,photoId:photoId,isKeepPosted:isKeepPosted},succeededCallback,failedCallback,userContext); },
DeleteComment:function(guid,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoCommentManagement.get_path(), 'DeleteComment',false,{guid:guid},succeededCallback,failedCallback,userContext); }}
PhotoCommentManagement.registerClass('PhotoCommentManagement',Sys.Net.WebServiceProxy);
PhotoCommentManagement._staticInstance = new PhotoCommentManagement();
PhotoCommentManagement.set_path = function(value) { PhotoCommentManagement._staticInstance._path = value; }
PhotoCommentManagement.get_path = function() { return PhotoCommentManagement._staticInstance._path; }
PhotoCommentManagement.set_timeout = function(value) { PhotoCommentManagement._staticInstance._timeout = value; }
PhotoCommentManagement.get_timeout = function() { return PhotoCommentManagement._staticInstance._timeout; }
PhotoCommentManagement.set_defaultUserContext = function(value) { PhotoCommentManagement._staticInstance._userContext = value; }
PhotoCommentManagement.get_defaultUserContext = function() { return PhotoCommentManagement._staticInstance._userContext; }
PhotoCommentManagement.set_defaultSucceededCallback = function(value) { PhotoCommentManagement._staticInstance._succeeded = value; }
PhotoCommentManagement.get_defaultSucceededCallback = function() { return PhotoCommentManagement._staticInstance._succeeded; }
PhotoCommentManagement.set_defaultFailedCallback = function(value) { PhotoCommentManagement._staticInstance._failed = value; }
PhotoCommentManagement.get_defaultFailedCallback = function() { return PhotoCommentManagement._staticInstance._failed; }
PhotoCommentManagement.set_path("/services/photocommentmanagement.asmx");
PhotoCommentManagement.SaveComment= function(comment,userGuid,photoId,isKeepPosted,onSuccess,onFailed,userContext) {PhotoCommentManagement._staticInstance.SaveComment(comment,userGuid,photoId,isKeepPosted,onSuccess,onFailed,userContext); }
PhotoCommentManagement.DeleteComment= function(guid,onSuccess,onFailed,userContext) {PhotoCommentManagement._staticInstance.DeleteComment(guid,onSuccess,onFailed,userContext); }
