if(typeof Btv == "undefined") Btv={};
if(typeof Btv.Feed == "undefined") Btv.Feed={};
Btv.Feed.DataQueries_class = function() {};
ajaxProPrototypes.Object.extend(Btv.Feed.DataQueries_class.prototype, ajaxProPrototypes.Object.extend(new AjaxPro.AjaxClass(), {
	GetFeedByFeedType: function(contextTypeId, contextId, feedTypeId, totalFeedItems) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetFeedByFeedType.arguments)[4]) || (null);
		return this.invoke(false, v, "POST", "GetFeedByFeedType", {"contextTypeId":contextTypeId, "contextId":contextId, "feedTypeId":feedTypeId, "totalFeedItems":totalFeedItems}, ajaxProPrototypes.Function.argumentsToArray(this.GetFeedByFeedType.arguments).slice(5));
	},
	GetFeedAdmin: function(contextTypeId, contextId, feedTypeId) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetFeedAdmin.arguments)[3]) || (null);
		return this.invoke(false, v, "POST", "GetFeedAdmin", {"contextTypeId":contextTypeId, "contextId":contextId, "feedTypeId":feedTypeId}, ajaxProPrototypes.Function.argumentsToArray(this.GetFeedAdmin.arguments).slice(4));
	},
	SetFeedOrder: function(feedItems) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SetFeedOrder.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "SetFeedOrder", {"feedItems":feedItems}, ajaxProPrototypes.Function.argumentsToArray(this.SetFeedOrder.arguments).slice(2));
	},
	RemoveFeedItem: function(associationId, contextTypeId, contextId, feedTypeId) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.RemoveFeedItem.arguments)[4]) || (null);
		return this.invoke(false, v, "POST", "RemoveFeedItem", {"associationId":associationId, "contextTypeId":contextTypeId, "contextId":contextId, "feedTypeId":feedTypeId}, ajaxProPrototypes.Function.argumentsToArray(this.RemoveFeedItem.arguments).slice(5));
	},
	SaveContentRankings: function(contentRankings) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SaveContentRankings.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "SaveContentRankings", {"contentRankings":contentRankings}, ajaxProPrototypes.Function.argumentsToArray(this.SaveContentRankings.arguments).slice(2));
	},
	RemoveContentRanking: function(ranking) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.RemoveContentRanking.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "RemoveContentRanking", {"ranking":ranking}, ajaxProPrototypes.Function.argumentsToArray(this.RemoveContentRanking.arguments).slice(2));
	},
	InsertManualFeedItem: function(contextTypeId, contextId, manualFeedItem) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.InsertManualFeedItem.arguments)[3]) || (null);
		return this.invoke(false, v, "POST", "InsertManualFeedItem", {"contextTypeId":contextTypeId, "contextId":contextId, "manualFeedItem":manualFeedItem}, ajaxProPrototypes.Function.argumentsToArray(this.InsertManualFeedItem.arguments).slice(4));
	},
	DeleteManualFeedItem: function(manualFeedItemId) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.DeleteManualFeedItem.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "DeleteManualFeedItem", {"manualFeedItemId":manualFeedItemId}, ajaxProPrototypes.Function.argumentsToArray(this.DeleteManualFeedItem.arguments).slice(2));
	},
	GetLatestManualFeedItems: function(contextTypeId, contextId, count) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetLatestManualFeedItems.arguments)[3]) || (null);
		return this.invoke(false, v, "POST", "GetLatestManualFeedItems", {"contextTypeId":contextTypeId, "contextId":contextId, "count":count}, ajaxProPrototypes.Function.argumentsToArray(this.GetLatestManualFeedItems.arguments).slice(4));
	},
	GetRatingsByAssociation: function(associationId) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.GetRatingsByAssociation.arguments)[1]) || (null);
		return this.invoke(false, v, "POST", "GetRatingsByAssociation", {"associationId":associationId}, ajaxProPrototypes.Function.argumentsToArray(this.GetRatingsByAssociation.arguments).slice(2));
	},
	SubmitRatingsForAssociationId: function(associationId, vote) {
		var v = (ajaxProPrototypes.Function.argumentsToArray(this.SubmitRatingsForAssociationId.arguments)[2]) || (null);
		return this.invoke(false, v, "POST", "SubmitRatingsForAssociationId", {"associationId":associationId, "vote":vote}, ajaxProPrototypes.Function.argumentsToArray(this.SubmitRatingsForAssociationId.arguments).slice(3));
	},
	url: '/ajaxpro/Btv.Feed.DataQueries,App_Code.ashx?typeVersion=11051'
}));
Btv.Feed.DataQueries = new Btv.Feed.DataQueries_class();

