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