1
19
20 package com.liferay.portlet.journal.service.persistence;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Propagation;
25 import com.liferay.portal.kernel.annotation.Transactional;
26 import com.liferay.portal.service.persistence.BasePersistence;
27
28
34 @Transactional(rollbackFor = {
35 PortalException.class, SystemException.class})
36 public interface JournalStructurePersistence extends BasePersistence {
37 public com.liferay.portlet.journal.model.JournalStructure create(long id);
38
39 public com.liferay.portlet.journal.model.JournalStructure remove(long id)
40 throws com.liferay.portal.SystemException,
41 com.liferay.portlet.journal.NoSuchStructureException;
42
43 public com.liferay.portlet.journal.model.JournalStructure remove(
44 com.liferay.portlet.journal.model.JournalStructure journalStructure)
45 throws com.liferay.portal.SystemException;
46
47
50 public com.liferay.portlet.journal.model.JournalStructure update(
51 com.liferay.portlet.journal.model.JournalStructure journalStructure)
52 throws com.liferay.portal.SystemException;
53
54
67 public com.liferay.portlet.journal.model.JournalStructure update(
68 com.liferay.portlet.journal.model.JournalStructure journalStructure,
69 boolean merge) throws com.liferay.portal.SystemException;
70
71 public com.liferay.portlet.journal.model.JournalStructure updateImpl(
72 com.liferay.portlet.journal.model.JournalStructure journalStructure,
73 boolean merge) throws com.liferay.portal.SystemException;
74
75 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
76 public com.liferay.portlet.journal.model.JournalStructure findByPrimaryKey(
77 long id)
78 throws com.liferay.portal.SystemException,
79 com.liferay.portlet.journal.NoSuchStructureException;
80
81 public com.liferay.portlet.journal.model.JournalStructure fetchByPrimaryKey(
82 long id) throws com.liferay.portal.SystemException;
83
84 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
85 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
86 java.lang.String uuid) throws com.liferay.portal.SystemException;
87
88 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
89 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
90 java.lang.String uuid, int start, int end)
91 throws com.liferay.portal.SystemException;
92
93 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
94 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
95 java.lang.String uuid, int start, int end,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException;
98
99 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
100 public com.liferay.portlet.journal.model.JournalStructure findByUuid_First(
101 java.lang.String uuid,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portlet.journal.NoSuchStructureException;
105
106 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
107 public com.liferay.portlet.journal.model.JournalStructure findByUuid_Last(
108 java.lang.String uuid,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.journal.NoSuchStructureException;
112
113 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
114 public com.liferay.portlet.journal.model.JournalStructure[] findByUuid_PrevAndNext(
115 long id, java.lang.String uuid,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.journal.NoSuchStructureException;
119
120 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
121 public com.liferay.portlet.journal.model.JournalStructure findByUUID_G(
122 java.lang.String uuid, long groupId)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.journal.NoSuchStructureException;
125
126 public com.liferay.portlet.journal.model.JournalStructure fetchByUUID_G(
127 java.lang.String uuid, long groupId)
128 throws com.liferay.portal.SystemException;
129
130 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
131 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
132 long groupId) throws com.liferay.portal.SystemException;
133
134 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
135 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
136 long groupId, int start, int end)
137 throws com.liferay.portal.SystemException;
138
139 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
140 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
141 long groupId, int start, int end,
142 com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException;
144
145 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
146 public com.liferay.portlet.journal.model.JournalStructure findByGroupId_First(
147 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.SystemException,
149 com.liferay.portlet.journal.NoSuchStructureException;
150
151 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
152 public com.liferay.portlet.journal.model.JournalStructure findByGroupId_Last(
153 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.journal.NoSuchStructureException;
156
157 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
158 public com.liferay.portlet.journal.model.JournalStructure[] findByGroupId_PrevAndNext(
159 long id, long groupId,
160 com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.journal.NoSuchStructureException;
163
164 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
165 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
166 java.lang.String structureId) throws com.liferay.portal.SystemException;
167
168 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
169 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
170 java.lang.String structureId, int start, int end)
171 throws com.liferay.portal.SystemException;
172
173 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
174 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
175 java.lang.String structureId, int start, int end,
176 com.liferay.portal.kernel.util.OrderByComparator obc)
177 throws com.liferay.portal.SystemException;
178
179 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
180 public com.liferay.portlet.journal.model.JournalStructure findByStructureId_First(
181 java.lang.String structureId,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException,
184 com.liferay.portlet.journal.NoSuchStructureException;
185
186 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
187 public com.liferay.portlet.journal.model.JournalStructure findByStructureId_Last(
188 java.lang.String structureId,
189 com.liferay.portal.kernel.util.OrderByComparator obc)
190 throws com.liferay.portal.SystemException,
191 com.liferay.portlet.journal.NoSuchStructureException;
192
193 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
194 public com.liferay.portlet.journal.model.JournalStructure[] findByStructureId_PrevAndNext(
195 long id, java.lang.String structureId,
196 com.liferay.portal.kernel.util.OrderByComparator obc)
197 throws com.liferay.portal.SystemException,
198 com.liferay.portlet.journal.NoSuchStructureException;
199
200 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
201 public com.liferay.portlet.journal.model.JournalStructure findByG_S(
202 long groupId, java.lang.String structureId)
203 throws com.liferay.portal.SystemException,
204 com.liferay.portlet.journal.NoSuchStructureException;
205
206 public com.liferay.portlet.journal.model.JournalStructure fetchByG_S(
207 long groupId, java.lang.String structureId)
208 throws com.liferay.portal.SystemException;
209
210 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
211 public java.util.List<Object> findWithDynamicQuery(
212 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
213 throws com.liferay.portal.SystemException;
214
215 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
216 public java.util.List<Object> findWithDynamicQuery(
217 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
218 int end) throws com.liferay.portal.SystemException;
219
220 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
221 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll()
222 throws com.liferay.portal.SystemException;
223
224 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
225 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll(
226 int start, int end) throws com.liferay.portal.SystemException;
227
228 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
229 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll(
230 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
231 throws com.liferay.portal.SystemException;
232
233 public void removeByUuid(java.lang.String uuid)
234 throws com.liferay.portal.SystemException;
235
236 public void removeByUUID_G(java.lang.String uuid, long groupId)
237 throws com.liferay.portal.SystemException,
238 com.liferay.portlet.journal.NoSuchStructureException;
239
240 public void removeByGroupId(long groupId)
241 throws com.liferay.portal.SystemException;
242
243 public void removeByStructureId(java.lang.String structureId)
244 throws com.liferay.portal.SystemException;
245
246 public void removeByG_S(long groupId, java.lang.String structureId)
247 throws com.liferay.portal.SystemException,
248 com.liferay.portlet.journal.NoSuchStructureException;
249
250 public void removeAll() throws com.liferay.portal.SystemException;
251
252 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
253 public int countByUuid(java.lang.String uuid)
254 throws com.liferay.portal.SystemException;
255
256 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
257 public int countByUUID_G(java.lang.String uuid, long groupId)
258 throws com.liferay.portal.SystemException;
259
260 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
261 public int countByGroupId(long groupId)
262 throws com.liferay.portal.SystemException;
263
264 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
265 public int countByStructureId(java.lang.String structureId)
266 throws com.liferay.portal.SystemException;
267
268 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
269 public int countByG_S(long groupId, java.lang.String structureId)
270 throws com.liferay.portal.SystemException;
271
272 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
273 public int countAll() throws com.liferay.portal.SystemException;
274 }