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