001
014
015 package com.liferay.portlet.asset.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.asset.model.AssetEntry;
020
021
027 public interface AssetEntryPersistence extends BasePersistence<AssetEntry> {
028 public void cacheResult(
029 com.liferay.portlet.asset.model.AssetEntry assetEntry);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries);
033
034 public com.liferay.portlet.asset.model.AssetEntry create(long entryId);
035
036 public com.liferay.portlet.asset.model.AssetEntry remove(long entryId)
037 throws com.liferay.portal.kernel.exception.SystemException,
038 com.liferay.portlet.asset.NoSuchEntryException;
039
040 public com.liferay.portlet.asset.model.AssetEntry updateImpl(
041 com.liferay.portlet.asset.model.AssetEntry assetEntry, boolean merge)
042 throws com.liferay.portal.kernel.exception.SystemException;
043
044 public com.liferay.portlet.asset.model.AssetEntry findByPrimaryKey(
045 long entryId)
046 throws com.liferay.portal.kernel.exception.SystemException,
047 com.liferay.portlet.asset.NoSuchEntryException;
048
049 public com.liferay.portlet.asset.model.AssetEntry fetchByPrimaryKey(
050 long entryId)
051 throws com.liferay.portal.kernel.exception.SystemException;
052
053 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByCompanyId(
054 long companyId)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByCompanyId(
058 long companyId, int start, int end)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByCompanyId(
062 long companyId, int start, int end,
063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
064 throws com.liferay.portal.kernel.exception.SystemException;
065
066 public com.liferay.portlet.asset.model.AssetEntry findByCompanyId_First(
067 long companyId,
068 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
069 throws com.liferay.portal.kernel.exception.SystemException,
070 com.liferay.portlet.asset.NoSuchEntryException;
071
072 public com.liferay.portlet.asset.model.AssetEntry findByCompanyId_Last(
073 long companyId,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.kernel.exception.SystemException,
076 com.liferay.portlet.asset.NoSuchEntryException;
077
078 public com.liferay.portlet.asset.model.AssetEntry[] findByCompanyId_PrevAndNext(
079 long entryId, long companyId,
080 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
081 throws com.liferay.portal.kernel.exception.SystemException,
082 com.liferay.portlet.asset.NoSuchEntryException;
083
084 public com.liferay.portlet.asset.model.AssetEntry findByG_CU(long groupId,
085 java.lang.String classUuid)
086 throws com.liferay.portal.kernel.exception.SystemException,
087 com.liferay.portlet.asset.NoSuchEntryException;
088
089 public com.liferay.portlet.asset.model.AssetEntry fetchByG_CU(
090 long groupId, java.lang.String classUuid)
091 throws com.liferay.portal.kernel.exception.SystemException;
092
093 public com.liferay.portlet.asset.model.AssetEntry fetchByG_CU(
094 long groupId, java.lang.String classUuid, boolean retrieveFromCache)
095 throws com.liferay.portal.kernel.exception.SystemException;
096
097 public com.liferay.portlet.asset.model.AssetEntry findByC_C(
098 long classNameId, long classPK)
099 throws com.liferay.portal.kernel.exception.SystemException,
100 com.liferay.portlet.asset.NoSuchEntryException;
101
102 public com.liferay.portlet.asset.model.AssetEntry fetchByC_C(
103 long classNameId, long classPK)
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106 public com.liferay.portlet.asset.model.AssetEntry fetchByC_C(
107 long classNameId, long classPK, boolean retrieveFromCache)
108 throws com.liferay.portal.kernel.exception.SystemException;
109
110 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findAll()
111 throws com.liferay.portal.kernel.exception.SystemException;
112
113 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findAll(
114 int start, int end)
115 throws com.liferay.portal.kernel.exception.SystemException;
116
117 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findAll(
118 int start, int end,
119 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
120 throws com.liferay.portal.kernel.exception.SystemException;
121
122 public void removeByCompanyId(long companyId)
123 throws com.liferay.portal.kernel.exception.SystemException;
124
125 public void removeByG_CU(long groupId, java.lang.String classUuid)
126 throws com.liferay.portal.kernel.exception.SystemException,
127 com.liferay.portlet.asset.NoSuchEntryException;
128
129 public void removeByC_C(long classNameId, long classPK)
130 throws com.liferay.portal.kernel.exception.SystemException,
131 com.liferay.portlet.asset.NoSuchEntryException;
132
133 public void removeAll()
134 throws com.liferay.portal.kernel.exception.SystemException;
135
136 public int countByCompanyId(long companyId)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139 public int countByG_CU(long groupId, java.lang.String classUuid)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142 public int countByC_C(long classNameId, long classPK)
143 throws com.liferay.portal.kernel.exception.SystemException;
144
145 public int countAll()
146 throws com.liferay.portal.kernel.exception.SystemException;
147
148 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
149 long pk) throws com.liferay.portal.kernel.exception.SystemException;
150
151 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
152 long pk, int start, int end)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
156 long pk, int start, int end,
157 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
158 throws com.liferay.portal.kernel.exception.SystemException;
159
160 public int getAssetCategoriesSize(long pk)
161 throws com.liferay.portal.kernel.exception.SystemException;
162
163 public boolean containsAssetCategory(long pk, long assetCategoryPK)
164 throws com.liferay.portal.kernel.exception.SystemException;
165
166 public boolean containsAssetCategories(long pk)
167 throws com.liferay.portal.kernel.exception.SystemException;
168
169 public void addAssetCategory(long pk, long assetCategoryPK)
170 throws com.liferay.portal.kernel.exception.SystemException;
171
172 public void addAssetCategory(long pk,
173 com.liferay.portlet.asset.model.AssetCategory assetCategory)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 public void addAssetCategories(long pk, long[] assetCategoryPKs)
177 throws com.liferay.portal.kernel.exception.SystemException;
178
179 public void addAssetCategories(long pk,
180 java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public void clearAssetCategories(long pk)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186 public void removeAssetCategory(long pk, long assetCategoryPK)
187 throws com.liferay.portal.kernel.exception.SystemException;
188
189 public void removeAssetCategory(long pk,
190 com.liferay.portlet.asset.model.AssetCategory assetCategory)
191 throws com.liferay.portal.kernel.exception.SystemException;
192
193 public void removeAssetCategories(long pk, long[] assetCategoryPKs)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public void removeAssetCategories(long pk,
197 java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
198 throws com.liferay.portal.kernel.exception.SystemException;
199
200 public void setAssetCategories(long pk, long[] assetCategoryPKs)
201 throws com.liferay.portal.kernel.exception.SystemException;
202
203 public void setAssetCategories(long pk,
204 java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(
208 long pk) throws com.liferay.portal.kernel.exception.SystemException;
209
210 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(
211 long pk, int start, int end)
212 throws com.liferay.portal.kernel.exception.SystemException;
213
214 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(
215 long pk, int start, int end,
216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
217 throws com.liferay.portal.kernel.exception.SystemException;
218
219 public int getAssetTagsSize(long pk)
220 throws com.liferay.portal.kernel.exception.SystemException;
221
222 public boolean containsAssetTag(long pk, long assetTagPK)
223 throws com.liferay.portal.kernel.exception.SystemException;
224
225 public boolean containsAssetTags(long pk)
226 throws com.liferay.portal.kernel.exception.SystemException;
227
228 public void addAssetTag(long pk, long assetTagPK)
229 throws com.liferay.portal.kernel.exception.SystemException;
230
231 public void addAssetTag(long pk,
232 com.liferay.portlet.asset.model.AssetTag assetTag)
233 throws com.liferay.portal.kernel.exception.SystemException;
234
235 public void addAssetTags(long pk, long[] assetTagPKs)
236 throws com.liferay.portal.kernel.exception.SystemException;
237
238 public void addAssetTags(long pk,
239 java.util.List<com.liferay.portlet.asset.model.AssetTag> assetTags)
240 throws com.liferay.portal.kernel.exception.SystemException;
241
242 public void clearAssetTags(long pk)
243 throws com.liferay.portal.kernel.exception.SystemException;
244
245 public void removeAssetTag(long pk, long assetTagPK)
246 throws com.liferay.portal.kernel.exception.SystemException;
247
248 public void removeAssetTag(long pk,
249 com.liferay.portlet.asset.model.AssetTag assetTag)
250 throws com.liferay.portal.kernel.exception.SystemException;
251
252 public void removeAssetTags(long pk, long[] assetTagPKs)
253 throws com.liferay.portal.kernel.exception.SystemException;
254
255 public void removeAssetTags(long pk,
256 java.util.List<com.liferay.portlet.asset.model.AssetTag> assetTags)
257 throws com.liferay.portal.kernel.exception.SystemException;
258
259 public void setAssetTags(long pk, long[] assetTagPKs)
260 throws com.liferay.portal.kernel.exception.SystemException;
261
262 public void setAssetTags(long pk,
263 java.util.List<com.liferay.portlet.asset.model.AssetTag> assetTags)
264 throws com.liferay.portal.kernel.exception.SystemException;
265 }