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 obc)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_First(
81 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portlet.messageboards.NoSuchStatsUserException;
84
85 public com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_Last(
86 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.messageboards.NoSuchStatsUserException;
89
90 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByGroupId_PrevAndNext(
91 long statsUserId, long groupId,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.messageboards.NoSuchStatsUserException;
95
96 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
97 long userId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
100 long userId, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
104 long userId, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_First(
109 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.messageboards.NoSuchStatsUserException;
112
113 public com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_Last(
114 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.messageboards.NoSuchStatsUserException;
117
118 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByUserId_PrevAndNext(
119 long statsUserId, long userId,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.messageboards.NoSuchStatsUserException;
123
124 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_U(
125 long groupId, long userId)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.messageboards.NoSuchStatsUserException;
128
129 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByG_U(
130 long groupId, long userId) throws com.liferay.portal.SystemException;
131
132 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByG_U(
133 long groupId, long userId, boolean retrieveFromCache)
134 throws com.liferay.portal.SystemException;
135
136 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
137 long groupId, int messageCount)
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, int start, int end)
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 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException;
148
149 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_First(
150 long groupId, int messageCount,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.messageboards.NoSuchStatsUserException;
154
155 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_Last(
156 long groupId, int messageCount,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.messageboards.NoSuchStatsUserException;
160
161 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByG_M_PrevAndNext(
162 long statsUserId, long groupId, int messageCount,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.messageboards.NoSuchStatsUserException;
166
167 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll()
168 throws com.liferay.portal.SystemException;
169
170 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
171 int start, int end) throws com.liferay.portal.SystemException;
172
173 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
174 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException;
176
177 public void removeByGroupId(long groupId)
178 throws com.liferay.portal.SystemException;
179
180 public void removeByUserId(long userId)
181 throws com.liferay.portal.SystemException;
182
183 public void removeByG_U(long groupId, long userId)
184 throws com.liferay.portal.SystemException,
185 com.liferay.portlet.messageboards.NoSuchStatsUserException;
186
187 public void removeByG_M(long groupId, int messageCount)
188 throws com.liferay.portal.SystemException;
189
190 public void removeAll() throws com.liferay.portal.SystemException;
191
192 public int countByGroupId(long groupId)
193 throws com.liferay.portal.SystemException;
194
195 public int countByUserId(long userId)
196 throws com.liferay.portal.SystemException;
197
198 public int countByG_U(long groupId, long userId)
199 throws com.liferay.portal.SystemException;
200
201 public int countByG_M(long groupId, int messageCount)
202 throws com.liferay.portal.SystemException;
203
204 public int countAll() throws com.liferay.portal.SystemException;
205 }