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.MBBan;
20
21
34 public interface MBBanPersistence extends BasePersistence<MBBan> {
35 public void cacheResult(com.liferay.portlet.messageboards.model.MBBan mbBan);
36
37 public void cacheResult(
38 java.util.List<com.liferay.portlet.messageboards.model.MBBan> mbBans);
39
40 public com.liferay.portlet.messageboards.model.MBBan create(long banId);
41
42 public com.liferay.portlet.messageboards.model.MBBan remove(long banId)
43 throws com.liferay.portal.kernel.exception.SystemException,
44 com.liferay.portlet.messageboards.NoSuchBanException;
45
46 public com.liferay.portlet.messageboards.model.MBBan updateImpl(
47 com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
48 throws com.liferay.portal.kernel.exception.SystemException;
49
50 public com.liferay.portlet.messageboards.model.MBBan findByPrimaryKey(
51 long banId)
52 throws com.liferay.portal.kernel.exception.SystemException,
53 com.liferay.portlet.messageboards.NoSuchBanException;
54
55 public com.liferay.portlet.messageboards.model.MBBan fetchByPrimaryKey(
56 long banId) throws com.liferay.portal.kernel.exception.SystemException;
57
58 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByGroupId(
59 long groupId)
60 throws com.liferay.portal.kernel.exception.SystemException;
61
62 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByGroupId(
63 long groupId, int start, int end)
64 throws com.liferay.portal.kernel.exception.SystemException;
65
66 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByGroupId(
67 long groupId, int start, int end,
68 com.liferay.portal.kernel.util.OrderByComparator obc)
69 throws com.liferay.portal.kernel.exception.SystemException;
70
71 public com.liferay.portlet.messageboards.model.MBBan findByGroupId_First(
72 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
73 throws com.liferay.portal.kernel.exception.SystemException,
74 com.liferay.portlet.messageboards.NoSuchBanException;
75
76 public com.liferay.portlet.messageboards.model.MBBan findByGroupId_Last(
77 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
78 throws com.liferay.portal.kernel.exception.SystemException,
79 com.liferay.portlet.messageboards.NoSuchBanException;
80
81 public com.liferay.portlet.messageboards.model.MBBan[] findByGroupId_PrevAndNext(
82 long banId, long groupId,
83 com.liferay.portal.kernel.util.OrderByComparator obc)
84 throws com.liferay.portal.kernel.exception.SystemException,
85 com.liferay.portlet.messageboards.NoSuchBanException;
86
87 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByUserId(
88 long userId) throws com.liferay.portal.kernel.exception.SystemException;
89
90 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByUserId(
91 long userId, int start, int end)
92 throws com.liferay.portal.kernel.exception.SystemException;
93
94 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByUserId(
95 long userId, int start, int end,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.kernel.exception.SystemException;
98
99 public com.liferay.portlet.messageboards.model.MBBan findByUserId_First(
100 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.kernel.exception.SystemException,
102 com.liferay.portlet.messageboards.NoSuchBanException;
103
104 public com.liferay.portlet.messageboards.model.MBBan findByUserId_Last(
105 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.kernel.exception.SystemException,
107 com.liferay.portlet.messageboards.NoSuchBanException;
108
109 public com.liferay.portlet.messageboards.model.MBBan[] findByUserId_PrevAndNext(
110 long banId, long userId,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.kernel.exception.SystemException,
113 com.liferay.portlet.messageboards.NoSuchBanException;
114
115 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByBanUserId(
116 long banUserId)
117 throws com.liferay.portal.kernel.exception.SystemException;
118
119 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByBanUserId(
120 long banUserId, int start, int end)
121 throws com.liferay.portal.kernel.exception.SystemException;
122
123 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByBanUserId(
124 long banUserId, int start, int end,
125 com.liferay.portal.kernel.util.OrderByComparator obc)
126 throws com.liferay.portal.kernel.exception.SystemException;
127
128 public com.liferay.portlet.messageboards.model.MBBan findByBanUserId_First(
129 long banUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.kernel.exception.SystemException,
131 com.liferay.portlet.messageboards.NoSuchBanException;
132
133 public com.liferay.portlet.messageboards.model.MBBan findByBanUserId_Last(
134 long banUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
135 throws com.liferay.portal.kernel.exception.SystemException,
136 com.liferay.portlet.messageboards.NoSuchBanException;
137
138 public com.liferay.portlet.messageboards.model.MBBan[] findByBanUserId_PrevAndNext(
139 long banId, long banUserId,
140 com.liferay.portal.kernel.util.OrderByComparator obc)
141 throws com.liferay.portal.kernel.exception.SystemException,
142 com.liferay.portlet.messageboards.NoSuchBanException;
143
144 public com.liferay.portlet.messageboards.model.MBBan findByG_B(
145 long groupId, long banUserId)
146 throws com.liferay.portal.kernel.exception.SystemException,
147 com.liferay.portlet.messageboards.NoSuchBanException;
148
149 public com.liferay.portlet.messageboards.model.MBBan fetchByG_B(
150 long groupId, long banUserId)
151 throws com.liferay.portal.kernel.exception.SystemException;
152
153 public com.liferay.portlet.messageboards.model.MBBan fetchByG_B(
154 long groupId, long banUserId, boolean retrieveFromCache)
155 throws com.liferay.portal.kernel.exception.SystemException;
156
157 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findAll()
158 throws com.liferay.portal.kernel.exception.SystemException;
159
160 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findAll(
161 int start, int end)
162 throws com.liferay.portal.kernel.exception.SystemException;
163
164 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findAll(
165 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.kernel.exception.SystemException;
167
168 public void removeByGroupId(long groupId)
169 throws com.liferay.portal.kernel.exception.SystemException;
170
171 public void removeByUserId(long userId)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 public void removeByBanUserId(long banUserId)
175 throws com.liferay.portal.kernel.exception.SystemException;
176
177 public void removeByG_B(long groupId, long banUserId)
178 throws com.liferay.portal.kernel.exception.SystemException,
179 com.liferay.portlet.messageboards.NoSuchBanException;
180
181 public void removeAll()
182 throws com.liferay.portal.kernel.exception.SystemException;
183
184 public int countByGroupId(long groupId)
185 throws com.liferay.portal.kernel.exception.SystemException;
186
187 public int countByUserId(long userId)
188 throws com.liferay.portal.kernel.exception.SystemException;
189
190 public int countByBanUserId(long banUserId)
191 throws com.liferay.portal.kernel.exception.SystemException;
192
193 public int countByG_B(long groupId, long banUserId)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public int countAll()
197 throws com.liferay.portal.kernel.exception.SystemException;
198 }