1
14
15 package com.liferay.portal.service;
16
17
18
34 public class ShardLocalServiceWrapper implements ShardLocalService {
35 public ShardLocalServiceWrapper(ShardLocalService shardLocalService) {
36 _shardLocalService = shardLocalService;
37 }
38
39 public com.liferay.portal.model.Shard addShard(
40 com.liferay.portal.model.Shard shard)
41 throws com.liferay.portal.kernel.exception.SystemException {
42 return _shardLocalService.addShard(shard);
43 }
44
45 public com.liferay.portal.model.Shard createShard(long shardId) {
46 return _shardLocalService.createShard(shardId);
47 }
48
49 public void deleteShard(long shardId)
50 throws com.liferay.portal.kernel.exception.PortalException,
51 com.liferay.portal.kernel.exception.SystemException {
52 _shardLocalService.deleteShard(shardId);
53 }
54
55 public void deleteShard(com.liferay.portal.model.Shard shard)
56 throws com.liferay.portal.kernel.exception.SystemException {
57 _shardLocalService.deleteShard(shard);
58 }
59
60 public java.util.List<Object> dynamicQuery(
61 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62 throws com.liferay.portal.kernel.exception.SystemException {
63 return _shardLocalService.dynamicQuery(dynamicQuery);
64 }
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68 int end) throws com.liferay.portal.kernel.exception.SystemException {
69 return _shardLocalService.dynamicQuery(dynamicQuery, start, end);
70 }
71
72 public com.liferay.portal.model.Shard getShard(long shardId)
73 throws com.liferay.portal.kernel.exception.PortalException,
74 com.liferay.portal.kernel.exception.SystemException {
75 return _shardLocalService.getShard(shardId);
76 }
77
78 public java.util.List<com.liferay.portal.model.Shard> getShards(int start,
79 int end) throws com.liferay.portal.kernel.exception.SystemException {
80 return _shardLocalService.getShards(start, end);
81 }
82
83 public int getShardsCount()
84 throws com.liferay.portal.kernel.exception.SystemException {
85 return _shardLocalService.getShardsCount();
86 }
87
88 public com.liferay.portal.model.Shard updateShard(
89 com.liferay.portal.model.Shard shard)
90 throws com.liferay.portal.kernel.exception.SystemException {
91 return _shardLocalService.updateShard(shard);
92 }
93
94 public com.liferay.portal.model.Shard updateShard(
95 com.liferay.portal.model.Shard shard, boolean merge)
96 throws com.liferay.portal.kernel.exception.SystemException {
97 return _shardLocalService.updateShard(shard, merge);
98 }
99
100 public com.liferay.portal.model.Shard addShard(java.lang.String className,
101 long classPK, java.lang.String name)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _shardLocalService.addShard(className, classPK, name);
104 }
105
106 public com.liferay.portal.model.Shard getShard(java.lang.String className,
107 long classPK)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException {
110 return _shardLocalService.getShard(className, classPK);
111 }
112
113 public ShardLocalService getWrappedShardLocalService() {
114 return _shardLocalService;
115 }
116
117 private ShardLocalService _shardLocalService;
118 }