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