<?php

namespace Topxia\Service\Classes\Dao;

interface ThreadPostDao
{

	public function getPost($id);

	public function findPostsByThreadId($threadId, $orderBy, $start, $limit);

	public function getPostCountByThreadId($threadId);

	public function findPostsByThreadIdAndIsElite($threadId, $isElite, $start, $limit);

	public function addPost(array $fields);

	public function updatePost($id, array $fields);

	public function deletePost($id);

	public function deletePostsByThreadId($threadId);
}