Type.registerNamespace('KForum.WebServices');
KForum.WebServices.Recommendation=function() {
KForum.WebServices.Recommendation.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
KForum.WebServices.Recommendation.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return KForum.WebServices.Recommendation._staticInstance.get_path();},
Save:function(metaObjectID,userID,description,succeededCallback, failedCallback, userContext) {
/// <param name="metaObjectID" type="Number">System.Int32</param>
/// <param name="userID" type="String">System.Guid</param>
/// <param name="description" type="String">System.String</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(), 'Save',false,{metaObjectID:metaObjectID,userID:userID,description:description},succeededCallback,failedCallback,userContext); },
Delete:function(metaObjectID,userID,succeededCallback, failedCallback, userContext) {
/// <param name="metaObjectID" type="String">System.String</param>
/// <param name="userID" type="String">System.String</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(), 'Delete',false,{metaObjectID:metaObjectID,userID:userID},succeededCallback,failedCallback,userContext); },
GetDescription:function(metaObjectID,userID,succeededCallback, failedCallback, userContext) {
/// <param name="metaObjectID" type="String">System.String</param>
/// <param name="userID" type="String">System.String</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(), 'GetDescription',false,{metaObjectID:metaObjectID,userID:userID},succeededCallback,failedCallback,userContext); }}
KForum.WebServices.Recommendation.registerClass('KForum.WebServices.Recommendation',Sys.Net.WebServiceProxy);
KForum.WebServices.Recommendation._staticInstance = new KForum.WebServices.Recommendation();
KForum.WebServices.Recommendation.set_path = function(value) {
KForum.WebServices.Recommendation._staticInstance.set_path(value); }
KForum.WebServices.Recommendation.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return KForum.WebServices.Recommendation._staticInstance.get_path();}
KForum.WebServices.Recommendation.set_timeout = function(value) {
KForum.WebServices.Recommendation._staticInstance.set_timeout(value); }
KForum.WebServices.Recommendation.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return KForum.WebServices.Recommendation._staticInstance.get_timeout(); }
KForum.WebServices.Recommendation.set_defaultUserContext = function(value) { 
KForum.WebServices.Recommendation._staticInstance.set_defaultUserContext(value); }
KForum.WebServices.Recommendation.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return KForum.WebServices.Recommendation._staticInstance.get_defaultUserContext(); }
KForum.WebServices.Recommendation.set_defaultSucceededCallback = function(value) { 
 KForum.WebServices.Recommendation._staticInstance.set_defaultSucceededCallback(value); }
KForum.WebServices.Recommendation.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return KForum.WebServices.Recommendation._staticInstance.get_defaultSucceededCallback(); }
KForum.WebServices.Recommendation.set_defaultFailedCallback = function(value) { 
KForum.WebServices.Recommendation._staticInstance.set_defaultFailedCallback(value); }
KForum.WebServices.Recommendation.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return KForum.WebServices.Recommendation._staticInstance.get_defaultFailedCallback(); }
KForum.WebServices.Recommendation.set_path("/Services/Recommendation.asmx");
KForum.WebServices.Recommendation.Save= function(metaObjectID,userID,description,onSuccess,onFailed,userContext) {
/// <param name="metaObjectID" type="Number">System.Int32</param>
/// <param name="userID" type="String">System.Guid</param>
/// <param name="description" type="String">System.String</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>
KForum.WebServices.Recommendation._staticInstance.Save(metaObjectID,userID,description,onSuccess,onFailed,userContext); }
KForum.WebServices.Recommendation.Delete= function(metaObjectID,userID,onSuccess,onFailed,userContext) {
/// <param name="metaObjectID" type="String">System.String</param>
/// <param name="userID" type="String">System.String</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>
KForum.WebServices.Recommendation._staticInstance.Delete(metaObjectID,userID,onSuccess,onFailed,userContext); }
KForum.WebServices.Recommendation.GetDescription= function(metaObjectID,userID,onSuccess,onFailed,userContext) {
/// <param name="metaObjectID" type="String">System.String</param>
/// <param name="userID" type="String">System.String</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>
KForum.WebServices.Recommendation._staticInstance.GetDescription(metaObjectID,userID,onSuccess,onFailed,userContext); }
