1
22
23 package com.liferay.portlet.messageboards.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface MBMailingListPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> mbMailingLists);
46
47 public void clearCache();
48
49 public com.liferay.portlet.messageboards.model.MBMailingList create(
50 long mailingListId);
51
52 public com.liferay.portlet.messageboards.model.MBMailingList remove(
53 long mailingListId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.messageboards.NoSuchMailingListException;
56
57 public com.liferay.portlet.messageboards.model.MBMailingList remove(
58 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.messageboards.model.MBMailingList update(
65 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.messageboards.model.MBMailingList update(
81 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.messageboards.model.MBMailingList updateImpl(
85 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.messageboards.model.MBMailingList findByPrimaryKey(
89 long mailingListId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.messageboards.NoSuchMailingListException;
92
93 public com.liferay.portlet.messageboards.model.MBMailingList fetchByPrimaryKey(
94 long mailingListId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid(
97 java.lang.String uuid) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid(
100 java.lang.String uuid, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid(
104 java.lang.String uuid, 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.MBMailingList findByUuid_First(
109 java.lang.String uuid,
110 com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.messageboards.NoSuchMailingListException;
113
114 public com.liferay.portlet.messageboards.model.MBMailingList findByUuid_Last(
115 java.lang.String uuid,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.messageboards.NoSuchMailingListException;
119
120 public com.liferay.portlet.messageboards.model.MBMailingList[] findByUuid_PrevAndNext(
121 long mailingListId, java.lang.String uuid,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.messageboards.NoSuchMailingListException;
125
126 public com.liferay.portlet.messageboards.model.MBMailingList findByUUID_G(
127 java.lang.String uuid, long groupId)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.messageboards.NoSuchMailingListException;
130
131 public com.liferay.portlet.messageboards.model.MBMailingList fetchByUUID_G(
132 java.lang.String uuid, long groupId)
133 throws com.liferay.portal.SystemException;
134
135 public com.liferay.portlet.messageboards.model.MBMailingList fetchByUUID_G(
136 java.lang.String uuid, long groupId, boolean retrieveFromCache)
137 throws com.liferay.portal.SystemException;
138
139 public com.liferay.portlet.messageboards.model.MBMailingList findByCategoryId(
140 long categoryId)
141 throws com.liferay.portal.SystemException,
142 com.liferay.portlet.messageboards.NoSuchMailingListException;
143
144 public com.liferay.portlet.messageboards.model.MBMailingList fetchByCategoryId(
145 long categoryId) throws com.liferay.portal.SystemException;
146
147 public com.liferay.portlet.messageboards.model.MBMailingList fetchByCategoryId(
148 long categoryId, boolean retrieveFromCache)
149 throws com.liferay.portal.SystemException;
150
151 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByActive(
152 boolean active) throws com.liferay.portal.SystemException;
153
154 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByActive(
155 boolean active, int start, int end)
156 throws com.liferay.portal.SystemException;
157
158 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByActive(
159 boolean active, int start, int end,
160 com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException;
162
163 public com.liferay.portlet.messageboards.model.MBMailingList findByActive_First(
164 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
165 throws com.liferay.portal.SystemException,
166 com.liferay.portlet.messageboards.NoSuchMailingListException;
167
168 public com.liferay.portlet.messageboards.model.MBMailingList findByActive_Last(
169 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portlet.messageboards.NoSuchMailingListException;
172
173 public com.liferay.portlet.messageboards.model.MBMailingList[] findByActive_PrevAndNext(
174 long mailingListId, boolean active,
175 com.liferay.portal.kernel.util.OrderByComparator obc)
176 throws com.liferay.portal.SystemException,
177 com.liferay.portlet.messageboards.NoSuchMailingListException;
178
179 public java.util.List<Object> findWithDynamicQuery(
180 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
181 throws com.liferay.portal.SystemException;
182
183 public java.util.List<Object> findWithDynamicQuery(
184 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
185 int end) throws com.liferay.portal.SystemException;
186
187 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll()
188 throws com.liferay.portal.SystemException;
189
190 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll(
191 int start, int end) throws com.liferay.portal.SystemException;
192
193 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll(
194 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException;
196
197 public void removeByUuid(java.lang.String uuid)
198 throws com.liferay.portal.SystemException;
199
200 public void removeByUUID_G(java.lang.String uuid, long groupId)
201 throws com.liferay.portal.SystemException,
202 com.liferay.portlet.messageboards.NoSuchMailingListException;
203
204 public void removeByCategoryId(long categoryId)
205 throws com.liferay.portal.SystemException,
206 com.liferay.portlet.messageboards.NoSuchMailingListException;
207
208 public void removeByActive(boolean active)
209 throws com.liferay.portal.SystemException;
210
211 public void removeAll() throws com.liferay.portal.SystemException;
212
213 public int countByUuid(java.lang.String uuid)
214 throws com.liferay.portal.SystemException;
215
216 public int countByUUID_G(java.lang.String uuid, long groupId)
217 throws com.liferay.portal.SystemException;
218
219 public int countByCategoryId(long categoryId)
220 throws com.liferay.portal.SystemException;
221
222 public int countByActive(boolean active)
223 throws com.liferay.portal.SystemException;
224
225 public int countAll() throws com.liferay.portal.SystemException;
226 }