1
22
23 package com.liferay.portlet.messageboards.service;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Propagation;
28 import com.liferay.portal.kernel.annotation.Transactional;
29
30
54 @Transactional(rollbackFor = {
55 PortalException.class, SystemException.class})
56 public interface MBStatsUserLocalService {
57 public com.liferay.portlet.messageboards.model.MBStatsUser addMBStatsUser(
58 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
59 throws com.liferay.portal.SystemException;
60
61 public com.liferay.portlet.messageboards.model.MBStatsUser createMBStatsUser(
62 long statsUserId);
63
64 public void deleteMBStatsUser(long statsUserId)
65 throws com.liferay.portal.SystemException,
66 com.liferay.portal.PortalException;
67
68 public void deleteMBStatsUser(
69 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
70 throws com.liferay.portal.SystemException;
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74 throws com.liferay.portal.SystemException;
75
76 public java.util.List<Object> dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end) throws com.liferay.portal.SystemException;
79
80 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
81 public com.liferay.portlet.messageboards.model.MBStatsUser getMBStatsUser(
82 long statsUserId)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portal.PortalException;
85
86 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getMBStatsUsers(
88 int start, int end) throws com.liferay.portal.SystemException;
89
90 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
91 public int getMBStatsUsersCount() throws com.liferay.portal.SystemException;
92
93 public com.liferay.portlet.messageboards.model.MBStatsUser updateMBStatsUser(
94 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
95 throws com.liferay.portal.SystemException;
96
97 public void deleteStatsUserByGroupId(long groupId)
98 throws com.liferay.portal.SystemException;
99
100 public void deleteStatsUserByUserId(long userId)
101 throws com.liferay.portal.SystemException;
102
103 public com.liferay.portlet.messageboards.model.MBStatsUser getStatsUser(
104 long groupId, long userId) throws com.liferay.portal.SystemException;
105
106 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
107 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getStatsUsers(
108 long groupId, int start, int end)
109 throws com.liferay.portal.SystemException;
110
111 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
112 public int getStatsUsersCount(long groupId)
113 throws com.liferay.portal.SystemException;
114
115 public void updateStatsUser(long groupId, long userId)
116 throws com.liferay.portal.SystemException;
117 }