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.SystemException,
45 com.liferay.portlet.journal.NoSuchStructureException;
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 public com.liferay.portlet.journal.model.JournalStructure updateImpl(
55 com.liferay.portlet.journal.model.JournalStructure journalStructure,
56 boolean merge) throws com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.journal.model.JournalStructure findByPrimaryKey(
59 long id)
60 throws com.liferay.portal.SystemException,
61 com.liferay.portlet.journal.NoSuchStructureException;
62
63 public com.liferay.portlet.journal.model.JournalStructure fetchByPrimaryKey(
64 long id) throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
67 java.lang.String uuid) throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
70 java.lang.String uuid, int start, int end)
71 throws com.liferay.portal.SystemException;
72
73 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
74 java.lang.String uuid, int start, int end,
75 com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.SystemException;
77
78 public com.liferay.portlet.journal.model.JournalStructure findByUuid_First(
79 java.lang.String uuid,
80 com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.journal.NoSuchStructureException;
83
84 public com.liferay.portlet.journal.model.JournalStructure findByUuid_Last(
85 java.lang.String uuid,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.journal.NoSuchStructureException;
89
90 public com.liferay.portlet.journal.model.JournalStructure[] findByUuid_PrevAndNext(
91 long id, 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_G(
97 java.lang.String uuid, long groupId)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.journal.NoSuchStructureException;
100
101 public com.liferay.portlet.journal.model.JournalStructure fetchByUUID_G(
102 java.lang.String uuid, long groupId)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.journal.model.JournalStructure fetchByUUID_G(
106 java.lang.String uuid, long groupId, boolean retrieveFromCache)
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
110 long groupId) throws com.liferay.portal.SystemException;
111
112 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
113 long groupId, int start, int end)
114 throws com.liferay.portal.SystemException;
115
116 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
117 long groupId, int start, int end,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.SystemException;
120
121 public com.liferay.portlet.journal.model.JournalStructure findByGroupId_First(
122 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.journal.NoSuchStructureException;
125
126 public com.liferay.portlet.journal.model.JournalStructure findByGroupId_Last(
127 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.journal.NoSuchStructureException;
130
131 public com.liferay.portlet.journal.model.JournalStructure[] findByGroupId_PrevAndNext(
132 long id, long groupId,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portlet.journal.NoSuchStructureException;
136
137 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
138 java.lang.String structureId) throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
141 java.lang.String structureId, int start, int end)
142 throws com.liferay.portal.SystemException;
143
144 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
145 java.lang.String structureId, 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 findByStructureId_First(
150 java.lang.String structureId,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.journal.NoSuchStructureException;
154
155 public com.liferay.portlet.journal.model.JournalStructure findByStructureId_Last(
156 java.lang.String structureId,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.journal.NoSuchStructureException;
160
161 public com.liferay.portlet.journal.model.JournalStructure[] findByStructureId_PrevAndNext(
162 long id, java.lang.String structureId,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.journal.NoSuchStructureException;
166
167 public com.liferay.portlet.journal.model.JournalStructure findByG_S(
168 long groupId, java.lang.String structureId)
169 throws com.liferay.portal.SystemException,
170 com.liferay.portlet.journal.NoSuchStructureException;
171
172 public com.liferay.portlet.journal.model.JournalStructure fetchByG_S(
173 long groupId, java.lang.String structureId)
174 throws com.liferay.portal.SystemException;
175
176 public com.liferay.portlet.journal.model.JournalStructure fetchByG_S(
177 long groupId, java.lang.String structureId, boolean retrieveFromCache)
178 throws com.liferay.portal.SystemException;
179
180 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll()
181 throws com.liferay.portal.SystemException;
182
183 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll(
184 int start, int end) throws com.liferay.portal.SystemException;
185
186 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll(
187 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
188 throws com.liferay.portal.SystemException;
189
190 public void removeByUuid(java.lang.String uuid)
191 throws com.liferay.portal.SystemException;
192
193 public void removeByUUID_G(java.lang.String uuid, long groupId)
194 throws com.liferay.portal.SystemException,
195 com.liferay.portlet.journal.NoSuchStructureException;
196
197 public void removeByGroupId(long groupId)
198 throws com.liferay.portal.SystemException;
199
200 public void removeByStructureId(java.lang.String structureId)
201 throws com.liferay.portal.SystemException;
202
203 public void removeByG_S(long groupId, java.lang.String structureId)
204 throws com.liferay.portal.SystemException,
205 com.liferay.portlet.journal.NoSuchStructureException;
206
207 public void removeAll() throws com.liferay.portal.SystemException;
208
209 public int countByUuid(java.lang.String uuid)
210 throws com.liferay.portal.SystemException;
211
212 public int countByUUID_G(java.lang.String uuid, long groupId)
213 throws com.liferay.portal.SystemException;
214
215 public int countByGroupId(long groupId)
216 throws com.liferay.portal.SystemException;
217
218 public int countByStructureId(java.lang.String structureId)
219 throws com.liferay.portal.SystemException;
220
221 public int countByG_S(long groupId, java.lang.String structureId)
222 throws com.liferay.portal.SystemException;
223
224 public int countAll() throws com.liferay.portal.SystemException;
225 }