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