1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25
31 public interface JournalStructurePersistence {
32 public com.liferay.portlet.journal.model.JournalStructure create(long id);
33
34 public com.liferay.portlet.journal.model.JournalStructure remove(long id)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.journal.NoSuchStructureException;
37
38 public com.liferay.portlet.journal.model.JournalStructure remove(
39 com.liferay.portlet.journal.model.JournalStructure journalStructure)
40 throws com.liferay.portal.SystemException;
41
42
45 public com.liferay.portlet.journal.model.JournalStructure update(
46 com.liferay.portlet.journal.model.JournalStructure journalStructure)
47 throws com.liferay.portal.SystemException;
48
49
62 public com.liferay.portlet.journal.model.JournalStructure update(
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 updateImpl(
67 com.liferay.portlet.journal.model.JournalStructure journalStructure,
68 boolean merge) throws com.liferay.portal.SystemException;
69
70 public com.liferay.portlet.journal.model.JournalStructure findByPrimaryKey(
71 long id)
72 throws com.liferay.portal.SystemException,
73 com.liferay.portlet.journal.NoSuchStructureException;
74
75 public com.liferay.portlet.journal.model.JournalStructure fetchByPrimaryKey(
76 long id) throws com.liferay.portal.SystemException;
77
78 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
79 java.lang.String uuid) 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 throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
86 java.lang.String uuid, int start, int end,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException;
89
90 public com.liferay.portlet.journal.model.JournalStructure findByUuid_First(
91 java.lang.String uuid,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.journal.NoSuchStructureException;
95
96 public com.liferay.portlet.journal.model.JournalStructure findByUuid_Last(
97 java.lang.String uuid,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.journal.NoSuchStructureException;
101
102 public com.liferay.portlet.journal.model.JournalStructure[] findByUuid_PrevAndNext(
103 long id, java.lang.String uuid,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.journal.NoSuchStructureException;
107
108 public com.liferay.portlet.journal.model.JournalStructure findByUUID_G(
109 java.lang.String uuid, long groupId)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.journal.NoSuchStructureException;
112
113 public com.liferay.portlet.journal.model.JournalStructure fetchByUUID_G(
114 java.lang.String uuid, long groupId)
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 java.util.List<Object> findWithDynamicQuery(
185 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
186 throws com.liferay.portal.SystemException;
187
188 public java.util.List<Object> findWithDynamicQuery(
189 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
190 int end) throws com.liferay.portal.SystemException;
191
192 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll()
193 throws com.liferay.portal.SystemException;
194
195 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll(
196 int start, int end) throws com.liferay.portal.SystemException;
197
198 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll(
199 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
200 throws com.liferay.portal.SystemException;
201
202 public void removeByUuid(java.lang.String uuid)
203 throws com.liferay.portal.SystemException;
204
205 public void removeByUUID_G(java.lang.String uuid, long groupId)
206 throws com.liferay.portal.SystemException,
207 com.liferay.portlet.journal.NoSuchStructureException;
208
209 public void removeByGroupId(long groupId)
210 throws com.liferay.portal.SystemException;
211
212 public void removeByStructureId(java.lang.String structureId)
213 throws com.liferay.portal.SystemException;
214
215 public void removeByG_S(long groupId, java.lang.String structureId)
216 throws com.liferay.portal.SystemException,
217 com.liferay.portlet.journal.NoSuchStructureException;
218
219 public void removeAll() throws com.liferay.portal.SystemException;
220
221 public int countByUuid(java.lang.String uuid)
222 throws com.liferay.portal.SystemException;
223
224 public int countByUUID_G(java.lang.String uuid, long groupId)
225 throws com.liferay.portal.SystemException;
226
227 public int countByGroupId(long groupId)
228 throws com.liferay.portal.SystemException;
229
230 public int countByStructureId(java.lang.String structureId)
231 throws com.liferay.portal.SystemException;
232
233 public int countByG_S(long groupId, java.lang.String structureId)
234 throws com.liferay.portal.SystemException;
235
236 public int countAll() throws com.liferay.portal.SystemException;
237
238 public void registerListener(
239 com.liferay.portal.model.ModelListener listener);
240
241 public void unregisterListener(
242 com.liferay.portal.model.ModelListener listener);
243 }