001
014
015 package com.liferay.portlet.asset.service;
016
017
026 public class AssetTagLocalServiceWrapper implements AssetTagLocalService {
027 public AssetTagLocalServiceWrapper(
028 AssetTagLocalService assetTagLocalService) {
029 _assetTagLocalService = assetTagLocalService;
030 }
031
032 public com.liferay.portlet.asset.model.AssetTag addAssetTag(
033 com.liferay.portlet.asset.model.AssetTag assetTag)
034 throws com.liferay.portal.kernel.exception.SystemException {
035 return _assetTagLocalService.addAssetTag(assetTag);
036 }
037
038 public com.liferay.portlet.asset.model.AssetTag createAssetTag(long tagId) {
039 return _assetTagLocalService.createAssetTag(tagId);
040 }
041
042 public void deleteAssetTag(long tagId)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException {
045 _assetTagLocalService.deleteAssetTag(tagId);
046 }
047
048 public void deleteAssetTag(
049 com.liferay.portlet.asset.model.AssetTag assetTag)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 _assetTagLocalService.deleteAssetTag(assetTag);
052 }
053
054 @SuppressWarnings("unchecked")
055 public java.util.List dynamicQuery(
056 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
057 throws com.liferay.portal.kernel.exception.SystemException {
058 return _assetTagLocalService.dynamicQuery(dynamicQuery);
059 }
060
061 @SuppressWarnings("unchecked")
062 public java.util.List dynamicQuery(
063 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
064 int end) throws com.liferay.portal.kernel.exception.SystemException {
065 return _assetTagLocalService.dynamicQuery(dynamicQuery, start, end);
066 }
067
068 @SuppressWarnings("unchecked")
069 public java.util.List dynamicQuery(
070 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
071 int end,
072 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073 throws com.liferay.portal.kernel.exception.SystemException {
074 return _assetTagLocalService.dynamicQuery(dynamicQuery, start, end,
075 orderByComparator);
076 }
077
078 public long dynamicQueryCount(
079 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 return _assetTagLocalService.dynamicQueryCount(dynamicQuery);
082 }
083
084 public com.liferay.portlet.asset.model.AssetTag getAssetTag(long tagId)
085 throws com.liferay.portal.kernel.exception.PortalException,
086 com.liferay.portal.kernel.exception.SystemException {
087 return _assetTagLocalService.getAssetTag(tagId);
088 }
089
090 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(
091 int start, int end)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _assetTagLocalService.getAssetTags(start, end);
094 }
095
096 public int getAssetTagsCount()
097 throws com.liferay.portal.kernel.exception.SystemException {
098 return _assetTagLocalService.getAssetTagsCount();
099 }
100
101 public com.liferay.portlet.asset.model.AssetTag updateAssetTag(
102 com.liferay.portlet.asset.model.AssetTag assetTag)
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return _assetTagLocalService.updateAssetTag(assetTag);
105 }
106
107 public com.liferay.portlet.asset.model.AssetTag updateAssetTag(
108 com.liferay.portlet.asset.model.AssetTag assetTag, boolean merge)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _assetTagLocalService.updateAssetTag(assetTag, merge);
111 }
112
113 public com.liferay.portlet.asset.model.AssetTag addTag(long userId,
114 java.lang.String name, java.lang.String[] tagProperties,
115 com.liferay.portal.service.ServiceContext serviceContext)
116 throws com.liferay.portal.kernel.exception.PortalException,
117 com.liferay.portal.kernel.exception.SystemException {
118 return _assetTagLocalService.addTag(userId, name, tagProperties,
119 serviceContext);
120 }
121
122 public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
123 boolean addCommunityPermissions, boolean addGuestPermissions)
124 throws com.liferay.portal.kernel.exception.PortalException,
125 com.liferay.portal.kernel.exception.SystemException {
126 _assetTagLocalService.addTagResources(tag, addCommunityPermissions,
127 addGuestPermissions);
128 }
129
130 public void addTagResources(com.liferay.portlet.asset.model.AssetTag tag,
131 java.lang.String[] communityPermissions,
132 java.lang.String[] guestPermissions)
133 throws com.liferay.portal.kernel.exception.PortalException,
134 com.liferay.portal.kernel.exception.SystemException {
135 _assetTagLocalService.addTagResources(tag, communityPermissions,
136 guestPermissions);
137 }
138
139 public void checkTags(long userId, long groupId, java.lang.String[] names)
140 throws com.liferay.portal.kernel.exception.PortalException,
141 com.liferay.portal.kernel.exception.SystemException {
142 _assetTagLocalService.checkTags(userId, groupId, names);
143 }
144
145 public com.liferay.portlet.asset.model.AssetTag decrementAssetCount(
146 long tagId, long classNameId)
147 throws com.liferay.portal.kernel.exception.PortalException,
148 com.liferay.portal.kernel.exception.SystemException {
149 return _assetTagLocalService.decrementAssetCount(tagId, classNameId);
150 }
151
152 public void deleteTag(com.liferay.portlet.asset.model.AssetTag tag)
153 throws com.liferay.portal.kernel.exception.PortalException,
154 com.liferay.portal.kernel.exception.SystemException {
155 _assetTagLocalService.deleteTag(tag);
156 }
157
158 public void deleteTag(long tagId)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 _assetTagLocalService.deleteTag(tagId);
162 }
163
164 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getEntryTags(
165 long entryId)
166 throws com.liferay.portal.kernel.exception.SystemException {
167 return _assetTagLocalService.getEntryTags(entryId);
168 }
169
170 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
171 long groupId)
172 throws com.liferay.portal.kernel.exception.SystemException {
173 return _assetTagLocalService.getGroupTags(groupId);
174 }
175
176 public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 return _assetTagLocalService.getTag(tagId);
180 }
181
182 public com.liferay.portlet.asset.model.AssetTag getTag(long groupId,
183 java.lang.String name)
184 throws com.liferay.portal.kernel.exception.PortalException,
185 com.liferay.portal.kernel.exception.SystemException {
186 return _assetTagLocalService.getTag(groupId, name);
187 }
188
189 public long[] getTagIds(long groupId, java.lang.String[] names)
190 throws com.liferay.portal.kernel.exception.PortalException,
191 com.liferay.portal.kernel.exception.SystemException {
192 return _assetTagLocalService.getTagIds(groupId, names);
193 }
194
195 public java.lang.String[] getTagNames()
196 throws com.liferay.portal.kernel.exception.SystemException {
197 return _assetTagLocalService.getTagNames();
198 }
199
200 public java.lang.String[] getTagNames(long classNameId, long classPK)
201 throws com.liferay.portal.kernel.exception.SystemException {
202 return _assetTagLocalService.getTagNames(classNameId, classPK);
203 }
204
205 public java.lang.String[] getTagNames(java.lang.String className,
206 long classPK)
207 throws com.liferay.portal.kernel.exception.SystemException {
208 return _assetTagLocalService.getTagNames(className, classPK);
209 }
210
211 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags()
212 throws com.liferay.portal.kernel.exception.SystemException {
213 return _assetTagLocalService.getTags();
214 }
215
216 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
217 long classNameId, long classPK)
218 throws com.liferay.portal.kernel.exception.SystemException {
219 return _assetTagLocalService.getTags(classNameId, classPK);
220 }
221
222 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
223 long groupId, long classNameId, java.lang.String name)
224 throws com.liferay.portal.kernel.exception.SystemException {
225 return _assetTagLocalService.getTags(groupId, classNameId, name);
226 }
227
228 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
229 long groupId, long classNameId, java.lang.String name, int start,
230 int end) throws com.liferay.portal.kernel.exception.SystemException {
231 return _assetTagLocalService.getTags(groupId, classNameId, name, start,
232 end);
233 }
234
235 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
236 java.lang.String className, long classPK)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return _assetTagLocalService.getTags(className, classPK);
239 }
240
241 public int getTagsSize(long groupId, long classNameId, java.lang.String name)
242 throws com.liferay.portal.kernel.exception.SystemException {
243 return _assetTagLocalService.getTagsSize(groupId, classNameId, name);
244 }
245
246 public boolean hasTag(long groupId, java.lang.String name)
247 throws com.liferay.portal.kernel.exception.PortalException,
248 com.liferay.portal.kernel.exception.SystemException {
249 return _assetTagLocalService.hasTag(groupId, name);
250 }
251
252 public com.liferay.portlet.asset.model.AssetTag incrementAssetCount(
253 long tagId, long classNameId)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException {
256 return _assetTagLocalService.incrementAssetCount(tagId, classNameId);
257 }
258
259 public void mergeTags(long fromTagId, long toTagId)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException {
262 _assetTagLocalService.mergeTags(fromTagId, toTagId);
263 }
264
265 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
266 java.lang.String name, java.lang.String[] tagProperties, int start,
267 int end) throws com.liferay.portal.kernel.exception.SystemException {
268 return _assetTagLocalService.search(groupId, name, tagProperties,
269 start, end);
270 }
271
272 public com.liferay.portlet.asset.model.AssetTag updateTag(long userId,
273 long tagId, java.lang.String name, java.lang.String[] tagProperties,
274 com.liferay.portal.service.ServiceContext serviceContext)
275 throws com.liferay.portal.kernel.exception.PortalException,
276 com.liferay.portal.kernel.exception.SystemException {
277 return _assetTagLocalService.updateTag(userId, tagId, name,
278 tagProperties, serviceContext);
279 }
280
281 public AssetTagLocalService getWrappedAssetTagLocalService() {
282 return _assetTagLocalService;
283 }
284
285 private AssetTagLocalService _assetTagLocalService;
286 }