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