001
014
015 package com.liferay.portal.service;
016
017
026 public class ResourceTypePermissionLocalServiceWrapper
027 implements ResourceTypePermissionLocalService,
028 ServiceWrapper<ResourceTypePermissionLocalService> {
029 public ResourceTypePermissionLocalServiceWrapper(
030 ResourceTypePermissionLocalService resourceTypePermissionLocalService) {
031 _resourceTypePermissionLocalService = resourceTypePermissionLocalService;
032 }
033
034
041 public com.liferay.portal.model.ResourceTypePermission addResourceTypePermission(
042 com.liferay.portal.model.ResourceTypePermission resourceTypePermission)
043 throws com.liferay.portal.kernel.exception.SystemException {
044 return _resourceTypePermissionLocalService.addResourceTypePermission(resourceTypePermission);
045 }
046
047
053 public com.liferay.portal.model.ResourceTypePermission createResourceTypePermission(
054 long resourceTypePermissionId) {
055 return _resourceTypePermissionLocalService.createResourceTypePermission(resourceTypePermissionId);
056 }
057
058
066 public com.liferay.portal.model.ResourceTypePermission deleteResourceTypePermission(
067 long resourceTypePermissionId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 return _resourceTypePermissionLocalService.deleteResourceTypePermission(resourceTypePermissionId);
071 }
072
073
080 public com.liferay.portal.model.ResourceTypePermission deleteResourceTypePermission(
081 com.liferay.portal.model.ResourceTypePermission resourceTypePermission)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return _resourceTypePermissionLocalService.deleteResourceTypePermission(resourceTypePermission);
084 }
085
086 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
087 return _resourceTypePermissionLocalService.dynamicQuery();
088 }
089
090
097 @SuppressWarnings("rawtypes")
098 public java.util.List dynamicQuery(
099 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _resourceTypePermissionLocalService.dynamicQuery(dynamicQuery);
102 }
103
104
117 @SuppressWarnings("rawtypes")
118 public java.util.List dynamicQuery(
119 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
120 int end) throws com.liferay.portal.kernel.exception.SystemException {
121 return _resourceTypePermissionLocalService.dynamicQuery(dynamicQuery,
122 start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _resourceTypePermissionLocalService.dynamicQuery(dynamicQuery,
146 start, end, orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _resourceTypePermissionLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portal.model.ResourceTypePermission fetchResourceTypePermission(
163 long resourceTypePermissionId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _resourceTypePermissionLocalService.fetchResourceTypePermission(resourceTypePermissionId);
166 }
167
168
176 public com.liferay.portal.model.ResourceTypePermission getResourceTypePermission(
177 long resourceTypePermissionId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _resourceTypePermissionLocalService.getResourceTypePermission(resourceTypePermissionId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _resourceTypePermissionLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
202 public java.util.List<com.liferay.portal.model.ResourceTypePermission> getResourceTypePermissions(
203 int start, int end)
204 throws com.liferay.portal.kernel.exception.SystemException {
205 return _resourceTypePermissionLocalService.getResourceTypePermissions(start,
206 end);
207 }
208
209
215 public int getResourceTypePermissionsCount()
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _resourceTypePermissionLocalService.getResourceTypePermissionsCount();
218 }
219
220
227 public com.liferay.portal.model.ResourceTypePermission updateResourceTypePermission(
228 com.liferay.portal.model.ResourceTypePermission resourceTypePermission)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _resourceTypePermissionLocalService.updateResourceTypePermission(resourceTypePermission);
231 }
232
233
241 public com.liferay.portal.model.ResourceTypePermission updateResourceTypePermission(
242 com.liferay.portal.model.ResourceTypePermission resourceTypePermission,
243 boolean merge)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return _resourceTypePermissionLocalService.updateResourceTypePermission(resourceTypePermission,
246 merge);
247 }
248
249
254 public java.lang.String getBeanIdentifier() {
255 return _resourceTypePermissionLocalService.getBeanIdentifier();
256 }
257
258
263 public void setBeanIdentifier(java.lang.String beanIdentifier) {
264 _resourceTypePermissionLocalService.setBeanIdentifier(beanIdentifier);
265 }
266
267 public long getCompanyScopeActionIds(long companyId, java.lang.String name,
268 long roleId) throws com.liferay.portal.kernel.exception.SystemException {
269 return _resourceTypePermissionLocalService.getCompanyScopeActionIds(companyId,
270 name, roleId);
271 }
272
273 public long getGroupScopeActionIds(long companyId, long groupId,
274 java.lang.String name, long roleId)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 return _resourceTypePermissionLocalService.getGroupScopeActionIds(companyId,
277 groupId, name, roleId);
278 }
279
280 public java.util.List<com.liferay.portal.model.ResourceTypePermission> getGroupScopeResourceTypePermissions(
281 long companyId, java.lang.String name, long roleId)
282 throws com.liferay.portal.kernel.exception.SystemException {
283 return _resourceTypePermissionLocalService.getGroupScopeResourceTypePermissions(companyId,
284 name, roleId);
285 }
286
287 public com.liferay.portal.model.ResourceBlockPermissionsContainer getResourceBlockPermissionsContainer(
288 long companyId, long groupId, java.lang.String name)
289 throws com.liferay.portal.kernel.exception.SystemException {
290 return _resourceTypePermissionLocalService.getResourceBlockPermissionsContainer(companyId,
291 groupId, name);
292 }
293
294 public java.util.List<com.liferay.portal.model.ResourceTypePermission> getRoleResourceTypePermissions(
295 long roleId) throws com.liferay.portal.kernel.exception.SystemException {
296 return _resourceTypePermissionLocalService.getRoleResourceTypePermissions(roleId);
297 }
298
299 public boolean hasCompanyScopePermission(long companyId,
300 java.lang.String name, long roleId, java.lang.String actionId)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 return _resourceTypePermissionLocalService.hasCompanyScopePermission(companyId,
304 name, roleId, actionId);
305 }
306
307 public boolean hasEitherScopePermission(long companyId,
308 java.lang.String name, long roleId, java.lang.String actionId)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 return _resourceTypePermissionLocalService.hasEitherScopePermission(companyId,
312 name, roleId, actionId);
313 }
314
315 public boolean hasGroupScopePermission(long companyId, long groupId,
316 java.lang.String name, long roleId, java.lang.String actionId)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 return _resourceTypePermissionLocalService.hasGroupScopePermission(companyId,
320 groupId, name, roleId, actionId);
321 }
322
323 public void updateCompanyScopeResourceTypePermissions(long companyId,
324 java.lang.String name, long roleId, long actionIdsLong, long operator)
325 throws com.liferay.portal.kernel.exception.SystemException {
326 _resourceTypePermissionLocalService.updateCompanyScopeResourceTypePermissions(companyId,
327 name, roleId, actionIdsLong, operator);
328 }
329
330 public void updateGroupScopeResourceTypePermissions(long companyId,
331 long groupId, java.lang.String name, long roleId, long actionIdsLong,
332 long operator)
333 throws com.liferay.portal.kernel.exception.SystemException {
334 _resourceTypePermissionLocalService.updateGroupScopeResourceTypePermissions(companyId,
335 groupId, name, roleId, actionIdsLong, operator);
336 }
337
338
341 public ResourceTypePermissionLocalService getWrappedResourceTypePermissionLocalService() {
342 return _resourceTypePermissionLocalService;
343 }
344
345
348 public void setWrappedResourceTypePermissionLocalService(
349 ResourceTypePermissionLocalService resourceTypePermissionLocalService) {
350 _resourceTypePermissionLocalService = resourceTypePermissionLocalService;
351 }
352
353 public ResourceTypePermissionLocalService getWrappedService() {
354 return _resourceTypePermissionLocalService;
355 }
356
357 public void setWrappedService(
358 ResourceTypePermissionLocalService resourceTypePermissionLocalService) {
359 _resourceTypePermissionLocalService = resourceTypePermissionLocalService;
360 }
361
362 private ResourceTypePermissionLocalService _resourceTypePermissionLocalService;
363 }