com.quhaodian.notice.data.service.UserNotificationService Maven / Gradle / Ivy
package com.quhaodian.notice.data.service;
import com.quhaodian.data.page.Filter;
import com.quhaodian.data.page.Order;
import com.quhaodian.data.page.Page;
import com.quhaodian.data.page.Pageable;
import com.quhaodian.notice.data.entity.UserNotification;
import java.util.List;
/**
* Created by imake on 2018年01月02日11:12:13.
*/
public interface UserNotificationService {
UserNotification findById(Long id);
UserNotification push(UserNotification bean);
UserNotification pull(UserNotification bean);
UserNotification send(Long user, UserNotification bean);
UserNotification send(UserNotification bean, Long... users);
public void updateNotices(Long user);
public void updateNoticesByNum(Long user);
public void updateNotices(Long user, Integer catalog);
UserNotification update(UserNotification bean);
UserNotification deleteById(Long id);
UserNotification[] deleteByIds(Long[] ids);
Page page(Pageable pageable);
Page page(Pageable pageable, Object search);
List list(int first, Integer size, List filters, List orders);
}