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.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.PortalException,
51 com.liferay.portal.SystemException {
52 _shardLocalService.deleteShard(shardId);
53 }
54
55 public void deleteShard(com.liferay.portal.model.Shard shard)
56 throws com.liferay.portal.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.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.SystemException {
69 return _shardLocalService.dynamicQuery(dynamicQuery, start, end);
70 }
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.SystemException {
77 return _shardLocalService.dynamicQuery(dynamicQuery, start, end,
78 orderByComparator);
79 }
80
81 public int dynamicQueryCount(
82 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
83 throws com.liferay.portal.SystemException {
84 return _shardLocalService.dynamicQueryCount(dynamicQuery);
85 }
86
87 public com.liferay.portal.model.Shard getShard(long shardId)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException {
90 return _shardLocalService.getShard(shardId);
91 }
92
93 public java.util.List<com.liferay.portal.model.Shard> getShards(int start,
94 int end) throws com.liferay.portal.SystemException {
95 return _shardLocalService.getShards(start, end);
96 }
97
98 public int getShardsCount() throws com.liferay.portal.SystemException {
99 return _shardLocalService.getShardsCount();
100 }
101
102 public com.liferay.portal.model.Shard updateShard(
103 com.liferay.portal.model.Shard shard)
104 throws com.liferay.portal.SystemException {
105 return _shardLocalService.updateShard(shard);
106 }
107
108 public com.liferay.portal.model.Shard updateShard(
109 com.liferay.portal.model.Shard shard, boolean merge)
110 throws com.liferay.portal.SystemException {
111 return _shardLocalService.updateShard(shard, merge);
112 }
113
114 public com.liferay.portal.model.Shard addShard(java.lang.String className,
115 long classPK, java.lang.String name)
116 throws com.liferay.portal.SystemException {
117 return _shardLocalService.addShard(className, classPK, name);
118 }
119
120 public com.liferay.portal.model.Shard getShard(java.lang.String className,
121 long classPK)
122 throws com.liferay.portal.PortalException,
123 com.liferay.portal.SystemException {
124 return _shardLocalService.getShard(className, classPK);
125 }
126
127 public ShardLocalService getWrappedShardLocalService() {
128 return _shardLocalService;
129 }
130
131 private ShardLocalService _shardLocalService;
132 }