public interface FavoriteNodeDAO
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
delete(FavoriteNode node)
根据对象删除收藏
|
boolean |
deleteByID(long id)
根据id删除对象
|
boolean |
deleteByUserAndEntry(long userid,
int type,
long entryid)
根据userid type 以及entryid删除
|
java.util.List |
findByUserID(long userid)
根据userid获取所有收藏夹对象
|
void |
save(FavoriteNode node)
保存收藏
|
void |
transfer(FavoriteNode node)
转移收藏
|
void save(FavoriteNode node) throws java.lang.Exception
node - java.lang.Exceptionvoid transfer(FavoriteNode node) throws java.lang.Exception
node - java.lang.Exceptionboolean delete(FavoriteNode node) throws java.lang.Exception
node - java.lang.Exceptionboolean deleteByID(long id)
throws java.lang.Exception
id - java.lang.Exceptionboolean deleteByUserAndEntry(long userid,
int type,
long entryid)
throws java.lang.Exception
userid - type - entryid - java.lang.Exceptionjava.util.List findByUserID(long userid)
throws java.lang.Exception
userid - java.lang.Exception