001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class AssetTagServiceWrapper implements AssetTagService,
029 ServiceWrapper<AssetTagService> {
030 public AssetTagServiceWrapper(AssetTagService assetTagService) {
031 _assetTagService = assetTagService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _assetTagService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _assetTagService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public com.liferay.portlet.asset.model.AssetTag addTag(
053 java.lang.String name, java.lang.String[] tagProperties,
054 com.liferay.portal.service.ServiceContext serviceContext)
055 throws com.liferay.portal.kernel.exception.PortalException,
056 com.liferay.portal.kernel.exception.SystemException {
057 return _assetTagService.addTag(name, tagProperties, serviceContext);
058 }
059
060 public void deleteTag(long tagId)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 _assetTagService.deleteTag(tagId);
064 }
065
066 public void deleteTags(long[] tagIds)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _assetTagService.deleteTags(tagIds);
070 }
071
072 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupsTags(
073 long[] groupIds)
074 throws com.liferay.portal.kernel.exception.SystemException {
075 return _assetTagService.getGroupsTags(groupIds);
076 }
077
078 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
079 long groupId)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 return _assetTagService.getGroupTags(groupId);
082 }
083
084 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
085 long groupId, int start, int end,
086 com.liferay.portal.kernel.util.OrderByComparator obc)
087 throws com.liferay.portal.kernel.exception.SystemException {
088 return _assetTagService.getGroupTags(groupId, start, end, obc);
089 }
090
091 public int getGroupTagsCount(long groupId)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _assetTagService.getGroupTagsCount(groupId);
094 }
095
096 public com.liferay.portlet.asset.model.AssetTagDisplay getGroupTagsDisplay(
097 long groupId, java.lang.String name, int start, int end)
098 throws com.liferay.portal.kernel.exception.SystemException {
099 return _assetTagService.getGroupTagsDisplay(groupId, name, start, end);
100 }
101
102
106 public com.liferay.portal.kernel.json.JSONObject getJSONGroupTags(
107 long groupId, java.lang.String name, int start, int end)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException {
110 return _assetTagService.getJSONGroupTags(groupId, name, start, end);
111 }
112
113 public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
114 throws com.liferay.portal.kernel.exception.PortalException,
115 com.liferay.portal.kernel.exception.SystemException {
116 return _assetTagService.getTag(tagId);
117 }
118
119 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
120 long groupId, long classNameId, java.lang.String name)
121 throws com.liferay.portal.kernel.exception.SystemException {
122 return _assetTagService.getTags(groupId, classNameId, name);
123 }
124
125 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
126 long groupId, long classNameId, java.lang.String name, int start,
127 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.kernel.exception.SystemException {
129 return _assetTagService.getTags(groupId, classNameId, name, start, end,
130 obc);
131 }
132
133 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
134 long groupId, java.lang.String name, java.lang.String[] tagProperties,
135 int start, int end)
136 throws com.liferay.portal.kernel.exception.SystemException {
137 return _assetTagService.getTags(groupId, name, tagProperties, start, end);
138 }
139
140 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
141 long[] groupIds, java.lang.String name,
142 java.lang.String[] tagProperties, int start, int end)
143 throws com.liferay.portal.kernel.exception.SystemException {
144 return _assetTagService.getTags(groupIds, name, tagProperties, start,
145 end);
146 }
147
148 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
149 java.lang.String className, long classPK)
150 throws com.liferay.portal.kernel.exception.PortalException,
151 com.liferay.portal.kernel.exception.SystemException {
152 return _assetTagService.getTags(className, classPK);
153 }
154
155 public int getTagsCount(long groupId, long classNameId,
156 java.lang.String name)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _assetTagService.getTagsCount(groupId, classNameId, name);
159 }
160
161 public int getTagsCount(long groupId, java.lang.String name)
162 throws com.liferay.portal.kernel.exception.SystemException {
163 return _assetTagService.getTagsCount(groupId, name);
164 }
165
166 public int getTagsCount(long groupId, java.lang.String name,
167 java.lang.String[] tagProperties)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return _assetTagService.getTagsCount(groupId, name, tagProperties);
170 }
171
172 public void mergeTags(long fromTagId, long toTagId,
173 boolean overrideProperties)
174 throws com.liferay.portal.kernel.exception.PortalException,
175 com.liferay.portal.kernel.exception.SystemException {
176 _assetTagService.mergeTags(fromTagId, toTagId, overrideProperties);
177 }
178
179 public void mergeTags(long[] fromTagIds, long toTagId,
180 boolean overrideProperties)
181 throws com.liferay.portal.kernel.exception.PortalException,
182 com.liferay.portal.kernel.exception.SystemException {
183 _assetTagService.mergeTags(fromTagIds, toTagId, overrideProperties);
184 }
185
186 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
187 java.lang.String name, java.lang.String[] tagProperties, int start,
188 int end) throws com.liferay.portal.kernel.exception.SystemException {
189 return _assetTagService.search(groupId, name, tagProperties, start, end);
190 }
191
192 public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
193 java.lang.String name, java.lang.String[] tagProperties, int start,
194 int end) throws com.liferay.portal.kernel.exception.SystemException {
195 return _assetTagService.search(groupIds, name, tagProperties, start, end);
196 }
197
198 public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
199 java.lang.String name, java.lang.String[] tagProperties,
200 com.liferay.portal.service.ServiceContext serviceContext)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _assetTagService.updateTag(tagId, name, tagProperties,
204 serviceContext);
205 }
206
207
210 public AssetTagService getWrappedAssetTagService() {
211 return _assetTagService;
212 }
213
214
217 public void setWrappedAssetTagService(AssetTagService assetTagService) {
218 _assetTagService = assetTagService;
219 }
220
221 public AssetTagService getWrappedService() {
222 return _assetTagService;
223 }
224
225 public void setWrappedService(AssetTagService assetTagService) {
226 _assetTagService = assetTagService;
227 }
228
229 private AssetTagService _assetTagService;
230 }