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.MBMailingList;
28
29
42 public interface MBMailingListPersistence extends BasePersistence<MBMailingList> {
43 public void cacheResult(
44 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> mbMailingLists);
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
60 public com.liferay.portlet.messageboards.model.MBMailingList update(
61 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
62 throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.messageboards.model.MBMailingList updateImpl(
65 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.messageboards.model.MBMailingList findByPrimaryKey(
69 long mailingListId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.messageboards.NoSuchMailingListException;
72
73 public com.liferay.portlet.messageboards.model.MBMailingList fetchByPrimaryKey(
74 long mailingListId) throws com.liferay.portal.SystemException;
75
76 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid(
77 java.lang.String uuid) throws com.liferay.portal.SystemException;
78
79 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid(
80 java.lang.String uuid, int start, int end)
81 throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid(
84 java.lang.String uuid, 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.MBMailingList findByUuid_First(
89 java.lang.String uuid,
90 com.liferay.portal.kernel.util.OrderByComparator obc)
91 throws com.liferay.portal.SystemException,
92 com.liferay.portlet.messageboards.NoSuchMailingListException;
93
94 public com.liferay.portlet.messageboards.model.MBMailingList findByUuid_Last(
95 java.lang.String uuid,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.messageboards.NoSuchMailingListException;
99
100 public com.liferay.portlet.messageboards.model.MBMailingList[] findByUuid_PrevAndNext(
101 long mailingListId, java.lang.String uuid,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portlet.messageboards.NoSuchMailingListException;
105
106 public com.liferay.portlet.messageboards.model.MBMailingList findByUUID_G(
107 java.lang.String uuid, long groupId)
108 throws com.liferay.portal.SystemException,
109 com.liferay.portlet.messageboards.NoSuchMailingListException;
110
111 public com.liferay.portlet.messageboards.model.MBMailingList fetchByUUID_G(
112 java.lang.String uuid, long groupId)
113 throws com.liferay.portal.SystemException;
114
115 public com.liferay.portlet.messageboards.model.MBMailingList fetchByUUID_G(
116 java.lang.String uuid, long groupId, boolean retrieveFromCache)
117 throws com.liferay.portal.SystemException;
118
119 public com.liferay.portlet.messageboards.model.MBMailingList findByCategoryId(
120 long categoryId)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.messageboards.NoSuchMailingListException;
123
124 public com.liferay.portlet.messageboards.model.MBMailingList fetchByCategoryId(
125 long categoryId) throws com.liferay.portal.SystemException;
126
127 public com.liferay.portlet.messageboards.model.MBMailingList fetchByCategoryId(
128 long categoryId, boolean retrieveFromCache)
129 throws com.liferay.portal.SystemException;
130
131 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByActive(
132 boolean active) throws com.liferay.portal.SystemException;
133
134 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByActive(
135 boolean active, int start, int end)
136 throws com.liferay.portal.SystemException;
137
138 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByActive(
139 boolean active, int start, int end,
140 com.liferay.portal.kernel.util.OrderByComparator obc)
141 throws com.liferay.portal.SystemException;
142
143 public com.liferay.portlet.messageboards.model.MBMailingList findByActive_First(
144 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException,
146 com.liferay.portlet.messageboards.NoSuchMailingListException;
147
148 public com.liferay.portlet.messageboards.model.MBMailingList findByActive_Last(
149 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException,
151 com.liferay.portlet.messageboards.NoSuchMailingListException;
152
153 public com.liferay.portlet.messageboards.model.MBMailingList[] findByActive_PrevAndNext(
154 long mailingListId, boolean active,
155 com.liferay.portal.kernel.util.OrderByComparator obc)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.messageboards.NoSuchMailingListException;
158
159 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll()
160 throws com.liferay.portal.SystemException;
161
162 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll(
163 int start, int end) throws com.liferay.portal.SystemException;
164
165 public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll(
166 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
167 throws com.liferay.portal.SystemException;
168
169 public void removeByUuid(java.lang.String uuid)
170 throws com.liferay.portal.SystemException;
171
172 public void removeByUUID_G(java.lang.String uuid, long groupId)
173 throws com.liferay.portal.SystemException,
174 com.liferay.portlet.messageboards.NoSuchMailingListException;
175
176 public void removeByCategoryId(long categoryId)
177 throws com.liferay.portal.SystemException,
178 com.liferay.portlet.messageboards.NoSuchMailingListException;
179
180 public void removeByActive(boolean active)
181 throws com.liferay.portal.SystemException;
182
183 public void removeAll() throws com.liferay.portal.SystemException;
184
185 public int countByUuid(java.lang.String uuid)
186 throws com.liferay.portal.SystemException;
187
188 public int countByUUID_G(java.lang.String uuid, long groupId)
189 throws com.liferay.portal.SystemException;
190
191 public int countByCategoryId(long categoryId)
192 throws com.liferay.portal.SystemException;
193
194 public int countByActive(boolean active)
195 throws com.liferay.portal.SystemException;
196
197 public int countAll() throws com.liferay.portal.SystemException;
198 }