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