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