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