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