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