001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class AssetVocabularyServiceWrapper implements AssetVocabularyService,
029 ServiceWrapper<AssetVocabularyService> {
030 public AssetVocabularyServiceWrapper(
031 AssetVocabularyService assetVocabularyService) {
032 _assetVocabularyService = assetVocabularyService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _assetVocabularyService.getBeanIdentifier();
042 }
043
044
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _assetVocabularyService.setBeanIdentifier(beanIdentifier);
051 }
052
053
056 public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
057 java.util.Map<java.util.Locale, java.lang.String> titleMap,
058 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
059 java.lang.String settings,
060 com.liferay.portal.service.ServiceContext serviceContext)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
064 settings, serviceContext);
065 }
066
067 public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
068 java.lang.String title,
069 java.util.Map<java.util.Locale, java.lang.String> titleMap,
070 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
071 java.lang.String settings,
072 com.liferay.portal.service.ServiceContext serviceContext)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _assetVocabularyService.addVocabulary(title, titleMap,
076 descriptionMap, settings, serviceContext);
077 }
078
079 public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
080 java.lang.String title,
081 com.liferay.portal.service.ServiceContext serviceContext)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException {
084 return _assetVocabularyService.addVocabulary(title, serviceContext);
085 }
086
087 public void deleteVocabularies(long[] vocabularyIds)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 _assetVocabularyService.deleteVocabularies(vocabularyIds);
091 }
092
093 public void deleteVocabulary(long vocabularyId)
094 throws com.liferay.portal.kernel.exception.PortalException,
095 com.liferay.portal.kernel.exception.SystemException {
096 _assetVocabularyService.deleteVocabulary(vocabularyId);
097 }
098
099 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
100 long companyId)
101 throws com.liferay.portal.kernel.exception.PortalException,
102 com.liferay.portal.kernel.exception.SystemException {
103 return _assetVocabularyService.getCompanyVocabularies(companyId);
104 }
105
106 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
107 long[] groupIds)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException {
110 return _assetVocabularyService.getGroupsVocabularies(groupIds);
111 }
112
113 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
114 long[] groupIds, java.lang.String className)
115 throws com.liferay.portal.kernel.exception.PortalException,
116 com.liferay.portal.kernel.exception.SystemException {
117 return _assetVocabularyService.getGroupsVocabularies(groupIds, className);
118 }
119
120 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
121 long groupId)
122 throws com.liferay.portal.kernel.exception.PortalException,
123 com.liferay.portal.kernel.exception.SystemException {
124 return _assetVocabularyService.getGroupVocabularies(groupId);
125 }
126
127 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
128 long groupId, boolean createDefaultVocabulary)
129 throws com.liferay.portal.kernel.exception.PortalException,
130 com.liferay.portal.kernel.exception.SystemException {
131 return _assetVocabularyService.getGroupVocabularies(groupId,
132 createDefaultVocabulary);
133 }
134
135 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
136 long groupId, int start, int end,
137 com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.kernel.exception.SystemException {
139 return _assetVocabularyService.getGroupVocabularies(groupId, start,
140 end, obc);
141 }
142
143 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
144 long groupId, java.lang.String name, int start, int end,
145 com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.kernel.exception.SystemException {
147 return _assetVocabularyService.getGroupVocabularies(groupId, name,
148 start, end, obc);
149 }
150
151 public int getGroupVocabulariesCount(long groupId)
152 throws com.liferay.portal.kernel.exception.SystemException {
153 return _assetVocabularyService.getGroupVocabulariesCount(groupId);
154 }
155
156 public int getGroupVocabulariesCount(long groupId, java.lang.String name)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
159 }
160
161 public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(
162 long groupId, java.lang.String name, int start, int end,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return _assetVocabularyService.getJSONGroupVocabularies(groupId, name,
167 start, end, obc);
168 }
169
170 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
171 long[] vocabularyIds)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException {
174 return _assetVocabularyService.getVocabularies(vocabularyIds);
175 }
176
177 public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
178 long vocabularyId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _assetVocabularyService.getVocabulary(vocabularyId);
182 }
183
184
187 public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
188 long vocabularyId,
189 java.util.Map<java.util.Locale, java.lang.String> titleMap,
190 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
191 java.lang.String settings,
192 com.liferay.portal.service.ServiceContext serviceContext)
193 throws com.liferay.portal.kernel.exception.PortalException,
194 com.liferay.portal.kernel.exception.SystemException {
195 return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
196 descriptionMap, settings, serviceContext);
197 }
198
199 public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
200 long vocabularyId, java.lang.String title,
201 java.util.Map<java.util.Locale, java.lang.String> titleMap,
202 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
203 java.lang.String settings,
204 com.liferay.portal.service.ServiceContext serviceContext)
205 throws com.liferay.portal.kernel.exception.PortalException,
206 com.liferay.portal.kernel.exception.SystemException {
207 return _assetVocabularyService.updateVocabulary(vocabularyId, title,
208 titleMap, descriptionMap, settings, serviceContext);
209 }
210
211
214 public AssetVocabularyService getWrappedAssetVocabularyService() {
215 return _assetVocabularyService;
216 }
217
218
221 public void setWrappedAssetVocabularyService(
222 AssetVocabularyService assetVocabularyService) {
223 _assetVocabularyService = assetVocabularyService;
224 }
225
226 public AssetVocabularyService getWrappedService() {
227 return _assetVocabularyService;
228 }
229
230 public void setWrappedService(AssetVocabularyService assetVocabularyService) {
231 _assetVocabularyService = assetVocabularyService;
232 }
233
234 private AssetVocabularyService _assetVocabularyService;
235 }