PageRenderTime 36ms CodeModel.GetById 28ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/src/java/model/Status/IStatusDao.java

https://bitbucket.org/playboygroup2012/oop-project
Java | 25 lines | 14 code | 3 blank | 8 comment | 0 complexity | 213142590aec6d0968d60b7029f744a5 MD5 | raw file
 1/*
 2 * To change this template, choose Tools | Templates
 3 * and open the template in the editor.
 4 */
 5package model.Status;
 6
 7import java.util.List;
 8
 9/**
10 *
11 * @author T2n
12 */
13public interface IStatusDao {
14    public boolean postStatusByIdUser(String stt, int id, int id1);
15    public String[] getContentStatusWithIdUser(int id) ;
16    public int getNumberLikeStatus(int idstatus);
17    public int setNumberLikeStatus(int idstatus);// update like vao csdl
18    public int setNumberUnLikeStatus(int idstatus);// update unlike vao csdl
19    public boolean setUserLikeStatus(int idstatus, int idUser);// insert user like status vao csdl
20    public boolean setUserUnLikeStatus(int idstatus, int idUser);// delete user unlike trong csdl
21    public boolean checkUserLikedStatus(int idstatus, int idUser);
22    public List listUserLikedStatus(int idstatus);
23    public List<Status> getStatusAtHome(int idUserSession);// lay ve 30 status moi nhat cua thang session hoac cua ban be no
24    
25}