1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface TagsAssetPersistence extends BasePersistence {
41 public void cacheResult(com.liferay.portlet.tags.model.TagsAsset tagsAsset);
42
43 public void cacheResult(
44 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets);
45
46 public void clearCache();
47
48 public com.liferay.portlet.tags.model.TagsAsset create(long assetId);
49
50 public com.liferay.portlet.tags.model.TagsAsset remove(long assetId)
51 throws com.liferay.portal.SystemException,
52 com.liferay.portlet.tags.NoSuchAssetException;
53
54 public com.liferay.portlet.tags.model.TagsAsset remove(
55 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
56 throws com.liferay.portal.SystemException;
57
58
61 public com.liferay.portlet.tags.model.TagsAsset update(
62 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
63 throws com.liferay.portal.SystemException;
64
65
77 public com.liferay.portlet.tags.model.TagsAsset update(
78 com.liferay.portlet.tags.model.TagsAsset tagsAsset, boolean merge)
79 throws com.liferay.portal.SystemException;
80
81 public com.liferay.portlet.tags.model.TagsAsset updateImpl(
82 com.liferay.portlet.tags.model.TagsAsset tagsAsset, boolean merge)
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.tags.model.TagsAsset findByPrimaryKey(
86 long assetId)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.tags.NoSuchAssetException;
89
90 public com.liferay.portlet.tags.model.TagsAsset fetchByPrimaryKey(
91 long assetId) throws com.liferay.portal.SystemException;
92
93 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByCompanyId(
94 long companyId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByCompanyId(
97 long companyId, int start, int end)
98 throws com.liferay.portal.SystemException;
99
100 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByCompanyId(
101 long companyId, 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.TagsAsset findByCompanyId_First(
106 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.tags.NoSuchAssetException;
109
110 public com.liferay.portlet.tags.model.TagsAsset findByCompanyId_Last(
111 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.tags.NoSuchAssetException;
114
115 public com.liferay.portlet.tags.model.TagsAsset[] findByCompanyId_PrevAndNext(
116 long assetId, long companyId,
117 com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.SystemException,
119 com.liferay.portlet.tags.NoSuchAssetException;
120
121 public com.liferay.portlet.tags.model.TagsAsset findByC_C(
122 long classNameId, long classPK)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.tags.NoSuchAssetException;
125
126 public com.liferay.portlet.tags.model.TagsAsset fetchByC_C(
127 long classNameId, long classPK)
128 throws com.liferay.portal.SystemException;
129
130 public com.liferay.portlet.tags.model.TagsAsset fetchByC_C(
131 long classNameId, long classPK, boolean retrieveFromCache)
132 throws com.liferay.portal.SystemException;
133
134 public java.util.List<Object> findWithDynamicQuery(
135 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
136 throws com.liferay.portal.SystemException;
137
138 public java.util.List<Object> findWithDynamicQuery(
139 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
140 int end) throws com.liferay.portal.SystemException;
141
142 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findAll()
143 throws com.liferay.portal.SystemException;
144
145 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findAll(
146 int start, int end) throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findAll(
149 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException;
151
152 public void removeByCompanyId(long companyId)
153 throws com.liferay.portal.SystemException;
154
155 public void removeByC_C(long classNameId, long classPK)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.tags.NoSuchAssetException;
158
159 public void removeAll() throws com.liferay.portal.SystemException;
160
161 public int countByCompanyId(long companyId)
162 throws com.liferay.portal.SystemException;
163
164 public int countByC_C(long classNameId, long classPK)
165 throws com.liferay.portal.SystemException;
166
167 public int countAll() throws com.liferay.portal.SystemException;
168
169 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getTagsEntries(
170 long pk) throws com.liferay.portal.SystemException;
171
172 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getTagsEntries(
173 long pk, int start, int end) throws com.liferay.portal.SystemException;
174
175 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getTagsEntries(
176 long pk, int start, int end,
177 com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException;
179
180 public int getTagsEntriesSize(long pk)
181 throws com.liferay.portal.SystemException;
182
183 public boolean containsTagsEntry(long pk, long tagsEntryPK)
184 throws com.liferay.portal.SystemException;
185
186 public boolean containsTagsEntries(long pk)
187 throws com.liferay.portal.SystemException;
188
189 public void addTagsEntry(long pk, long tagsEntryPK)
190 throws com.liferay.portal.SystemException;
191
192 public void addTagsEntry(long pk,
193 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
194 throws com.liferay.portal.SystemException;
195
196 public void addTagsEntries(long pk, long[] tagsEntryPKs)
197 throws com.liferay.portal.SystemException;
198
199 public void addTagsEntries(long pk,
200 java.util.List<com.liferay.portlet.tags.model.TagsEntry> tagsEntries)
201 throws com.liferay.portal.SystemException;
202
203 public void clearTagsEntries(long pk)
204 throws com.liferay.portal.SystemException;
205
206 public void removeTagsEntry(long pk, long tagsEntryPK)
207 throws com.liferay.portal.SystemException;
208
209 public void removeTagsEntry(long pk,
210 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
211 throws com.liferay.portal.SystemException;
212
213 public void removeTagsEntries(long pk, long[] tagsEntryPKs)
214 throws com.liferay.portal.SystemException;
215
216 public void removeTagsEntries(long pk,
217 java.util.List<com.liferay.portlet.tags.model.TagsEntry> tagsEntries)
218 throws com.liferay.portal.SystemException;
219
220 public void setTagsEntries(long pk, long[] tagsEntryPKs)
221 throws com.liferay.portal.SystemException;
222
223 public void setTagsEntries(long pk,
224 java.util.List<com.liferay.portlet.tags.model.TagsEntry> tagsEntries)
225 throws com.liferay.portal.SystemException;
226 }