using System;
using SiberTek.Xenta.Data.Entities;
using SiberTek.Xenta.Data.Entities.Collections;
namespace SiberTek.Xenta.Data.Providers
{
/// <summary>
/// Defines forum rank data provider methods
/// </summary>
public interface IForumRankDataProvider : IDataProvider
{
#region Methods
#region C
bool InsertForumRank(string name, int postCountThreshold, bool isActive, DateTime createdOn, DateTime updatedOn, out int rankID);
#endregion
#region R
ForumRankData GetForumRank(int rankID);
ForumRankDataCollection GetAllForumRanks(bool showHidden, DateTime? createdOnStart, DateTime? createdOnEnd);
#endregion
#region U
bool UpdateForumRank(int rankID, string name, int postCountThreshold, bool isActive, DateTime createdOn, DateTime updatedOn);
#endregion
#region D
bool DeleteForumRank(int rankID);
#endregion
#endregion
}
}