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 public com.liferay.portlet.asset.model.AssetTag addTag(
035 java.lang.String name, java.lang.String[] tagProperties,
036 com.liferay.portal.service.ServiceContext serviceContext)
037 throws com.liferay.portal.kernel.exception.PortalException,
038 com.liferay.portal.kernel.exception.SystemException {
039 return _assetTagService.addTag(name, tagProperties, serviceContext);
040 }
041
042 public void deleteTag(long tagId)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException {
045 _assetTagService.deleteTag(tagId);
046 }
047
048 public void deleteTags(long[] tagIds)
049 throws com.liferay.portal.kernel.exception.PortalException,
050 com.liferay.portal.kernel.exception.SystemException {
051 _assetTagService.deleteTags(tagIds);
052 }
053
054 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupsTags(
055 long[] groupIds)
056 throws com.liferay.portal.kernel.exception.SystemException {
057 return _assetTagService.getGroupsTags(groupIds);
058 }
059
060 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
061 long groupId)
062 throws com.liferay.portal.kernel.exception.SystemException {
063 return _assetTagService.getGroupTags(groupId);
064 }
065
066 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(
067 long groupId, int start, int end,
068 com.liferay.portal.kernel.util.OrderByComparator obc)
069 throws com.liferay.portal.kernel.exception.SystemException {
070 return _assetTagService.getGroupTags(groupId, start, end, obc);
071 }
072
073 public int getGroupTagsCount(long groupId)
074 throws com.liferay.portal.kernel.exception.SystemException {
075 return _assetTagService.getGroupTagsCount(groupId);
076 }
077
078 public com.liferay.portal.kernel.json.JSONObject getJSONGroupTags(
079 long groupId, java.lang.String name, int start, int end)
080 throws com.liferay.portal.kernel.exception.PortalException,
081 com.liferay.portal.kernel.exception.SystemException {
082 return _assetTagService.getJSONGroupTags(groupId, name, start, end);
083 }
084
085 public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
086 throws com.liferay.portal.kernel.exception.PortalException,
087 com.liferay.portal.kernel.exception.SystemException {
088 return _assetTagService.getTag(tagId);
089 }
090
091 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
092 long groupId, long classNameId, java.lang.String name)
093 throws com.liferay.portal.kernel.exception.SystemException {
094 return _assetTagService.getTags(groupId, classNameId, name);
095 }
096
097 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
098 long groupId, long classNameId, java.lang.String name, int start,
099 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _assetTagService.getTags(groupId, classNameId, name, start, end,
102 obc);
103 }
104
105 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
106 long groupId, java.lang.String name, java.lang.String[] tagProperties,
107 int start, int end)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _assetTagService.getTags(groupId, name, tagProperties, start, end);
110 }
111
112 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(
113 java.lang.String className, long classPK)
114 throws com.liferay.portal.kernel.exception.PortalException,
115 com.liferay.portal.kernel.exception.SystemException {
116 return _assetTagService.getTags(className, classPK);
117 }
118
119 public int getTagsCount(long groupId, long classNameId,
120 java.lang.String name)
121 throws com.liferay.portal.kernel.exception.SystemException {
122 return _assetTagService.getTagsCount(groupId, classNameId, name);
123 }
124
125 public int getTagsCount(long groupId, java.lang.String name)
126 throws com.liferay.portal.kernel.exception.SystemException {
127 return _assetTagService.getTagsCount(groupId, name);
128 }
129
130 public int getTagsCount(long groupId, java.lang.String name,
131 java.lang.String[] tagProperties)
132 throws com.liferay.portal.kernel.exception.SystemException {
133 return _assetTagService.getTagsCount(groupId, name, tagProperties);
134 }
135
136 public void mergeTags(long fromTagId, long toTagId,
137 boolean overrideProperties)
138 throws com.liferay.portal.kernel.exception.PortalException,
139 com.liferay.portal.kernel.exception.SystemException {
140 _assetTagService.mergeTags(fromTagId, toTagId, overrideProperties);
141 }
142
143 public void mergeTags(long[] fromTagIds, long toTagId,
144 boolean overrideProperties)
145 throws com.liferay.portal.kernel.exception.PortalException,
146 com.liferay.portal.kernel.exception.SystemException {
147 _assetTagService.mergeTags(fromTagIds, toTagId, overrideProperties);
148 }
149
150 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
151 java.lang.String name, java.lang.String[] tagProperties, int start,
152 int end) throws com.liferay.portal.kernel.exception.SystemException {
153 return _assetTagService.search(groupId, name, tagProperties, start, end);
154 }
155
156 public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
157 java.lang.String name, java.lang.String[] tagProperties,
158 com.liferay.portal.service.ServiceContext serviceContext)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 return _assetTagService.updateTag(tagId, name, tagProperties,
162 serviceContext);
163 }
164
165
168 public AssetTagService getWrappedAssetTagService() {
169 return _assetTagService;
170 }
171
172
175 public void setWrappedAssetTagService(AssetTagService assetTagService) {
176 _assetTagService = assetTagService;
177 }
178
179 public AssetTagService getWrappedService() {
180 return _assetTagService;
181 }
182
183 public void setWrappedService(AssetTagService assetTagService) {
184 _assetTagService = assetTagService;
185 }
186
187 private AssetTagService _assetTagService;
188 }