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.kernel.exception.SystemException,
47 com.liferay.portlet.messageboards.NoSuchStatsUserException;
48
49 public com.liferay.portlet.messageboards.model.MBStatsUser updateImpl(
50 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.messageboards.model.MBStatsUser findByPrimaryKey(
55 long statsUserId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.messageboards.NoSuchStatsUserException;
58
59 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByPrimaryKey(
60 long statsUserId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
64 long groupId)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
68 long groupId, int start, int end)
69 throws com.liferay.portal.kernel.exception.SystemException;
70
71 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
72 long groupId, int start, int end,
73 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74 throws com.liferay.portal.kernel.exception.SystemException;
75
76 public com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_First(
77 long groupId,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException,
80 com.liferay.portlet.messageboards.NoSuchStatsUserException;
81
82 public com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_Last(
83 long groupId,
84 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85 throws com.liferay.portal.kernel.exception.SystemException,
86 com.liferay.portlet.messageboards.NoSuchStatsUserException;
87
88 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByGroupId_PrevAndNext(
89 long statsUserId, long groupId,
90 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91 throws com.liferay.portal.kernel.exception.SystemException,
92 com.liferay.portlet.messageboards.NoSuchStatsUserException;
93
94 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
95 long userId) throws com.liferay.portal.kernel.exception.SystemException;
96
97 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
98 long userId, int start, int end)
99 throws com.liferay.portal.kernel.exception.SystemException;
100
101 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
102 long userId, int start, int end,
103 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106 public com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_First(
107 long userId,
108 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
109 throws com.liferay.portal.kernel.exception.SystemException,
110 com.liferay.portlet.messageboards.NoSuchStatsUserException;
111
112 public com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_Last(
113 long userId,
114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
115 throws com.liferay.portal.kernel.exception.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 orderByComparator)
121 throws com.liferay.portal.kernel.exception.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.kernel.exception.SystemException,
127 com.liferay.portlet.messageboards.NoSuchStatsUserException;
128
129 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByG_U(
130 long groupId, long userId)
131 throws com.liferay.portal.kernel.exception.SystemException;
132
133 public com.liferay.portlet.messageboards.model.MBStatsUser fetchByG_U(
134 long groupId, long userId, boolean retrieveFromCache)
135 throws com.liferay.portal.kernel.exception.SystemException;
136
137 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
138 long groupId, int messageCount)
139 throws com.liferay.portal.kernel.exception.SystemException;
140
141 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
142 long groupId, int messageCount, int start, int end)
143 throws com.liferay.portal.kernel.exception.SystemException;
144
145 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
146 long groupId, int messageCount, int start, int end,
147 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_First(
151 long groupId, int messageCount,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.kernel.exception.SystemException,
154 com.liferay.portlet.messageboards.NoSuchStatsUserException;
155
156 public com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_Last(
157 long groupId, int messageCount,
158 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
159 throws com.liferay.portal.kernel.exception.SystemException,
160 com.liferay.portlet.messageboards.NoSuchStatsUserException;
161
162 public com.liferay.portlet.messageboards.model.MBStatsUser[] findByG_M_PrevAndNext(
163 long statsUserId, long groupId, int messageCount,
164 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165 throws com.liferay.portal.kernel.exception.SystemException,
166 com.liferay.portlet.messageboards.NoSuchStatsUserException;
167
168 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll()
169 throws com.liferay.portal.kernel.exception.SystemException;
170
171 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
172 int start, int end)
173 throws com.liferay.portal.kernel.exception.SystemException;
174
175 public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
176 int start, int end,
177 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
178 throws com.liferay.portal.kernel.exception.SystemException;
179
180 public void removeByGroupId(long groupId)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public void removeByUserId(long userId)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186 public void removeByG_U(long groupId, long userId)
187 throws com.liferay.portal.kernel.exception.SystemException,
188 com.liferay.portlet.messageboards.NoSuchStatsUserException;
189
190 public void removeByG_M(long groupId, int messageCount)
191 throws com.liferay.portal.kernel.exception.SystemException;
192
193 public void removeAll()
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public int countByGroupId(long groupId)
197 throws com.liferay.portal.kernel.exception.SystemException;
198
199 public int countByUserId(long userId)
200 throws com.liferay.portal.kernel.exception.SystemException;
201
202 public int countByG_U(long groupId, long userId)
203 throws com.liferay.portal.kernel.exception.SystemException;
204
205 public int countByG_M(long groupId, int messageCount)
206 throws com.liferay.portal.kernel.exception.SystemException;
207
208 public int countAll()
209 throws com.liferay.portal.kernel.exception.SystemException;
210 }