001
014
015 package com.liferay.portlet.asset.service;
016
017
018
027 public class AssetVocabularyLocalServiceWrapper
028 implements AssetVocabularyLocalService {
029 public AssetVocabularyLocalServiceWrapper(
030 AssetVocabularyLocalService assetVocabularyLocalService) {
031 _assetVocabularyLocalService = assetVocabularyLocalService;
032 }
033
034 public com.liferay.portlet.asset.model.AssetVocabulary addAssetVocabulary(
035 com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
036 throws com.liferay.portal.kernel.exception.SystemException {
037 return _assetVocabularyLocalService.addAssetVocabulary(assetVocabulary);
038 }
039
040 public com.liferay.portlet.asset.model.AssetVocabulary createAssetVocabulary(
041 long vocabularyId) {
042 return _assetVocabularyLocalService.createAssetVocabulary(vocabularyId);
043 }
044
045 public void deleteAssetVocabulary(long vocabularyId)
046 throws com.liferay.portal.kernel.exception.PortalException,
047 com.liferay.portal.kernel.exception.SystemException {
048 _assetVocabularyLocalService.deleteAssetVocabulary(vocabularyId);
049 }
050
051 public void deleteAssetVocabulary(
052 com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
053 throws com.liferay.portal.kernel.exception.SystemException {
054 _assetVocabularyLocalService.deleteAssetVocabulary(assetVocabulary);
055 }
056
057 @SuppressWarnings("unchecked")
058 public java.util.List dynamicQuery(
059 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
060 throws com.liferay.portal.kernel.exception.SystemException {
061 return _assetVocabularyLocalService.dynamicQuery(dynamicQuery);
062 }
063
064 @SuppressWarnings("unchecked")
065 public java.util.List dynamicQuery(
066 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
067 int end) throws com.liferay.portal.kernel.exception.SystemException {
068 return _assetVocabularyLocalService.dynamicQuery(dynamicQuery, start,
069 end);
070 }
071
072 @SuppressWarnings("unchecked")
073 public java.util.List dynamicQuery(
074 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
075 int end,
076 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 return _assetVocabularyLocalService.dynamicQuery(dynamicQuery, start,
079 end, orderByComparator);
080 }
081
082 public long dynamicQueryCount(
083 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _assetVocabularyLocalService.dynamicQueryCount(dynamicQuery);
086 }
087
088 public com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabulary(
089 long vocabularyId)
090 throws com.liferay.portal.kernel.exception.PortalException,
091 com.liferay.portal.kernel.exception.SystemException {
092 return _assetVocabularyLocalService.getAssetVocabulary(vocabularyId);
093 }
094
095 public com.liferay.portlet.asset.model.AssetVocabulary getAssetVocabularyByUuidAndGroupId(
096 java.lang.String uuid, long groupId)
097 throws com.liferay.portal.kernel.exception.PortalException,
098 com.liferay.portal.kernel.exception.SystemException {
099 return _assetVocabularyLocalService.getAssetVocabularyByUuidAndGroupId(uuid,
100 groupId);
101 }
102
103 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getAssetVocabularies(
104 int start, int end)
105 throws com.liferay.portal.kernel.exception.SystemException {
106 return _assetVocabularyLocalService.getAssetVocabularies(start, end);
107 }
108
109 public int getAssetVocabulariesCount()
110 throws com.liferay.portal.kernel.exception.SystemException {
111 return _assetVocabularyLocalService.getAssetVocabulariesCount();
112 }
113
114 public com.liferay.portlet.asset.model.AssetVocabulary updateAssetVocabulary(
115 com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary)
116 throws com.liferay.portal.kernel.exception.SystemException {
117 return _assetVocabularyLocalService.updateAssetVocabulary(assetVocabulary);
118 }
119
120 public com.liferay.portlet.asset.model.AssetVocabulary updateAssetVocabulary(
121 com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary,
122 boolean merge)
123 throws com.liferay.portal.kernel.exception.SystemException {
124 return _assetVocabularyLocalService.updateAssetVocabulary(assetVocabulary,
125 merge);
126 }
127
128 public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
129 long userId,
130 java.util.Map<java.util.Locale, java.lang.String> titleMap,
131 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
132 java.lang.String settings,
133 com.liferay.portal.service.ServiceContext serviceContext)
134 throws com.liferay.portal.kernel.exception.PortalException,
135 com.liferay.portal.kernel.exception.SystemException {
136 return _assetVocabularyLocalService.addVocabulary(userId, titleMap,
137 descriptionMap, settings, serviceContext);
138 }
139
140 public void addVocabularyResources(
141 com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
142 boolean addCommunityPermissions, boolean addGuestPermissions)
143 throws com.liferay.portal.kernel.exception.PortalException,
144 com.liferay.portal.kernel.exception.SystemException {
145 _assetVocabularyLocalService.addVocabularyResources(vocabulary,
146 addCommunityPermissions, addGuestPermissions);
147 }
148
149 public void addVocabularyResources(
150 com.liferay.portlet.asset.model.AssetVocabulary vocabulary,
151 java.lang.String[] communityPermissions,
152 java.lang.String[] guestPermissions)
153 throws com.liferay.portal.kernel.exception.PortalException,
154 com.liferay.portal.kernel.exception.SystemException {
155 _assetVocabularyLocalService.addVocabularyResources(vocabulary,
156 communityPermissions, guestPermissions);
157 }
158
159 public void deleteVocabulary(
160 com.liferay.portlet.asset.model.AssetVocabulary vocabulary)
161 throws com.liferay.portal.kernel.exception.PortalException,
162 com.liferay.portal.kernel.exception.SystemException {
163 _assetVocabularyLocalService.deleteVocabulary(vocabulary);
164 }
165
166 public void deleteVocabulary(long vocabularyId)
167 throws com.liferay.portal.kernel.exception.PortalException,
168 com.liferay.portal.kernel.exception.SystemException {
169 _assetVocabularyLocalService.deleteVocabulary(vocabularyId);
170 }
171
172 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
173 long companyId)
174 throws com.liferay.portal.kernel.exception.SystemException {
175 return _assetVocabularyLocalService.getCompanyVocabularies(companyId);
176 }
177
178 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
179 long[] groupIds)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 return _assetVocabularyLocalService.getGroupsVocabularies(groupIds);
183 }
184
185 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
186 long groupId)
187 throws com.liferay.portal.kernel.exception.PortalException,
188 com.liferay.portal.kernel.exception.SystemException {
189 return _assetVocabularyLocalService.getGroupVocabularies(groupId);
190 }
191
192 public com.liferay.portlet.asset.model.AssetVocabulary getGroupVocabulary(
193 long groupId, java.lang.String name)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 return _assetVocabularyLocalService.getGroupVocabulary(groupId, name);
197 }
198
199 public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
200 long vocabularyId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _assetVocabularyLocalService.getVocabulary(vocabularyId);
204 }
205
206 public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
207 long vocabularyId,
208 java.util.Map<java.util.Locale, java.lang.String> titleMap,
209 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
210 java.lang.String settings,
211 com.liferay.portal.service.ServiceContext serviceContext)
212 throws com.liferay.portal.kernel.exception.PortalException,
213 com.liferay.portal.kernel.exception.SystemException {
214 return _assetVocabularyLocalService.updateVocabulary(vocabularyId,
215 titleMap, descriptionMap, settings, serviceContext);
216 }
217
218 public AssetVocabularyLocalService getWrappedAssetVocabularyLocalService() {
219 return _assetVocabularyLocalService;
220 }
221
222 private AssetVocabularyLocalService _assetVocabularyLocalService;
223 }