1
14
15 package com.liferay.portlet.messageboards.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.messageboards.model.MBStatsUser;
20
21
34 public interface MBStatsUserPersistence extends BasePersistence<MBStatsUser> {
35 public void cacheResult(
36 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> mbStatsUsers);
40
41 public com.liferay.portlet.messageboards.model.MBStatsUser create(
42 long statsUserId);
43
44 public com.liferay.portlet.messageboards.model.MBStatsUser remove(
45 long statsUserId)
46 throws com.liferay.portal.SystemException,
47 com.liferay.portlet.messageboards.NoSuchStatsUserException;
48
49
52 public com.liferay.portlet.messageboards.model.MBStatsUser update(
53 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.messageboards.model.MBStatsUser updateImpl(
57 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.messageboards.model.MBStatsUser findByPrimaryKey(
61 long statsUserId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.messageboards.NoSuchStatsUserException;
64
65 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByPrimaryKey(
66 long statsUserId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
69 long groupId) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
72 long groupId, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
76 long groupId, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_First(
81 long groupId,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.messageboards.NoSuchStatsUserException;
85
86 public com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_Last(
87 long groupId,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.messageboards.NoSuchStatsUserException;
91
92 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByGroupId_PrevAndNext(
93 long statsUserId, long groupId,
94 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.messageboards.NoSuchStatsUserException;
97
98 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
99 long userId) throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
102 long userId, int start, int end)
103 throws com.liferay.portal.SystemException;
104
105 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
106 long userId, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.SystemException;
109
110 public com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_First(
111 long userId,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.messageboards.NoSuchStatsUserException;
115
116 public com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_Last(
117 long userId,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portlet.messageboards.NoSuchStatsUserException;
121
122 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByUserId_PrevAndNext(
123 long statsUserId, long userId,
124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.messageboards.NoSuchStatsUserException;
127
128 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_U(
129 long groupId, long userId)
130 throws com.liferay.portal.SystemException,
131 com.liferay.portlet.messageboards.NoSuchStatsUserException;
132
133 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByG_U(
134 long groupId, long userId) throws com.liferay.portal.SystemException;
135
136 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByG_U(
137 long groupId, long userId, boolean retrieveFromCache)
138 throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
141 long groupId, int messageCount)
142 throws com.liferay.portal.SystemException;
143
144 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
145 long groupId, int messageCount, int start, int end)
146 throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
149 long groupId, int messageCount, int start, int end,
150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151 throws com.liferay.portal.SystemException;
152
153 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_First(
154 long groupId, int messageCount,
155 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.messageboards.NoSuchStatsUserException;
158
159 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_Last(
160 long groupId, int messageCount,
161 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.messageboards.NoSuchStatsUserException;
164
165 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByG_M_PrevAndNext(
166 long statsUserId, long groupId, int messageCount,
167 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
168 throws com.liferay.portal.SystemException,
169 com.liferay.portlet.messageboards.NoSuchStatsUserException;
170
171 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll()
172 throws com.liferay.portal.SystemException;
173
174 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
175 int start, int end) throws com.liferay.portal.SystemException;
176
177 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
178 int start, int end,
179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180 throws com.liferay.portal.SystemException;
181
182 public void removeByGroupId(long groupId)
183 throws com.liferay.portal.SystemException;
184
185 public void removeByUserId(long userId)
186 throws com.liferay.portal.SystemException;
187
188 public void removeByG_U(long groupId, long userId)
189 throws com.liferay.portal.SystemException,
190 com.liferay.portlet.messageboards.NoSuchStatsUserException;
191
192 public void removeByG_M(long groupId, int messageCount)
193 throws com.liferay.portal.SystemException;
194
195 public void removeAll() throws com.liferay.portal.SystemException;
196
197 public int countByGroupId(long groupId)
198 throws com.liferay.portal.SystemException;
199
200 public int countByUserId(long userId)
201 throws com.liferay.portal.SystemException;
202
203 public int countByG_U(long groupId, long userId)
204 throws com.liferay.portal.SystemException;
205
206 public int countByG_M(long groupId, int messageCount)
207 throws com.liferay.portal.SystemException;
208
209 public int countAll() throws com.liferay.portal.SystemException;
210 }