1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface TagsEntryPersistence extends BasePersistence {
41 public void cacheResult(com.liferay.portlet.tags.model.TagsEntry tagsEntry);
42
43 public void cacheResult(
44 java.util.List<com.liferay.portlet.tags.model.TagsEntry> tagsEntries);
45
46 public void clearCache();
47
48 public com.liferay.portlet.tags.model.TagsEntry create(long entryId);
49
50 public com.liferay.portlet.tags.model.TagsEntry remove(long entryId)
51 throws com.liferay.portal.SystemException,
52 com.liferay.portlet.tags.NoSuchEntryException;
53
54 public com.liferay.portlet.tags.model.TagsEntry remove(
55 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
56 throws com.liferay.portal.SystemException;
57
58
61 public com.liferay.portlet.tags.model.TagsEntry update(
62 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
63 throws com.liferay.portal.SystemException;
64
65
77 public com.liferay.portlet.tags.model.TagsEntry update(
78 com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
79 throws com.liferay.portal.SystemException;
80
81 public com.liferay.portlet.tags.model.TagsEntry updateImpl(
82 com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.tags.model.TagsEntry findByPrimaryKey(
86 long entryId)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.tags.NoSuchEntryException;
89
90 public com.liferay.portlet.tags.model.TagsEntry fetchByPrimaryKey(
91 long entryId) throws com.liferay.portal.SystemException;
92
93 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByVocabularyId(
94 long vocabularyId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByVocabularyId(
97 long vocabularyId, int start, int end)
98 throws com.liferay.portal.SystemException;
99
100 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByVocabularyId(
101 long vocabularyId, int start, int end,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.tags.model.TagsEntry findByVocabularyId_First(
106 long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.tags.NoSuchEntryException;
109
110 public com.liferay.portlet.tags.model.TagsEntry findByVocabularyId_Last(
111 long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.tags.NoSuchEntryException;
114
115 public com.liferay.portlet.tags.model.TagsEntry[] findByVocabularyId_PrevAndNext(
116 long entryId, long vocabularyId,
117 com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.SystemException,
119 com.liferay.portlet.tags.NoSuchEntryException;
120
121 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByP_V(
122 long parentEntryId, long vocabularyId)
123 throws com.liferay.portal.SystemException;
124
125 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByP_V(
126 long parentEntryId, long vocabularyId, int start, int end)
127 throws com.liferay.portal.SystemException;
128
129 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByP_V(
130 long parentEntryId, long vocabularyId, int start, int end,
131 com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.SystemException;
133
134 public com.liferay.portlet.tags.model.TagsEntry findByP_V_First(
135 long parentEntryId, long vocabularyId,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.tags.NoSuchEntryException;
139
140 public com.liferay.portlet.tags.model.TagsEntry findByP_V_Last(
141 long parentEntryId, long vocabularyId,
142 com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException,
144 com.liferay.portlet.tags.NoSuchEntryException;
145
146 public com.liferay.portlet.tags.model.TagsEntry[] findByP_V_PrevAndNext(
147 long entryId, long parentEntryId, long vocabularyId,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.SystemException,
150 com.liferay.portlet.tags.NoSuchEntryException;
151
152 public java.util.List<Object> findWithDynamicQuery(
153 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
154 throws com.liferay.portal.SystemException;
155
156 public java.util.List<Object> findWithDynamicQuery(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
158 int end) throws com.liferay.portal.SystemException;
159
160 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll()
161 throws com.liferay.portal.SystemException;
162
163 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll(
164 int start, int end) throws com.liferay.portal.SystemException;
165
166 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll(
167 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
168 throws com.liferay.portal.SystemException;
169
170 public void removeByVocabularyId(long vocabularyId)
171 throws com.liferay.portal.SystemException;
172
173 public void removeByP_V(long parentEntryId, long vocabularyId)
174 throws com.liferay.portal.SystemException;
175
176 public void removeAll() throws com.liferay.portal.SystemException;
177
178 public int countByVocabularyId(long vocabularyId)
179 throws com.liferay.portal.SystemException;
180
181 public int countByP_V(long parentEntryId, long vocabularyId)
182 throws com.liferay.portal.SystemException;
183
184 public int countAll() throws com.liferay.portal.SystemException;
185
186 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
187 long pk) throws com.liferay.portal.SystemException;
188
189 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
190 long pk, int start, int end) throws com.liferay.portal.SystemException;
191
192 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
193 long pk, int start, int end,
194 com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException;
196
197 public int getTagsAssetsSize(long pk)
198 throws com.liferay.portal.SystemException;
199
200 public boolean containsTagsAsset(long pk, long tagsAssetPK)
201 throws com.liferay.portal.SystemException;
202
203 public boolean containsTagsAssets(long pk)
204 throws com.liferay.portal.SystemException;
205
206 public void addTagsAsset(long pk, long tagsAssetPK)
207 throws com.liferay.portal.SystemException;
208
209 public void addTagsAsset(long pk,
210 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
211 throws com.liferay.portal.SystemException;
212
213 public void addTagsAssets(long pk, long[] tagsAssetPKs)
214 throws com.liferay.portal.SystemException;
215
216 public void addTagsAssets(long pk,
217 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
218 throws com.liferay.portal.SystemException;
219
220 public void clearTagsAssets(long pk)
221 throws com.liferay.portal.SystemException;
222
223 public void removeTagsAsset(long pk, long tagsAssetPK)
224 throws com.liferay.portal.SystemException;
225
226 public void removeTagsAsset(long pk,
227 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
228 throws com.liferay.portal.SystemException;
229
230 public void removeTagsAssets(long pk, long[] tagsAssetPKs)
231 throws com.liferay.portal.SystemException;
232
233 public void removeTagsAssets(long pk,
234 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
235 throws com.liferay.portal.SystemException;
236
237 public void setTagsAssets(long pk, long[] tagsAssetPKs)
238 throws com.liferay.portal.SystemException;
239
240 public void setTagsAssets(long pk,
241 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
242 throws com.liferay.portal.SystemException;
243 }