1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="ShardLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link ShardLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ShardLocalService
32   * @generated
33   */
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 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.kernel.exception.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.kernel.exception.SystemException {
84          return _shardLocalService.dynamicQueryCount(dynamicQuery);
85      }
86  
87      public com.liferay.portal.model.Shard getShard(long shardId)
88          throws com.liferay.portal.kernel.exception.PortalException,
89              com.liferay.portal.kernel.exception.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.kernel.exception.SystemException {
95          return _shardLocalService.getShards(start, end);
96      }
97  
98      public int getShardsCount()
99          throws com.liferay.portal.kernel.exception.SystemException {
100         return _shardLocalService.getShardsCount();
101     }
102 
103     public com.liferay.portal.model.Shard updateShard(
104         com.liferay.portal.model.Shard shard)
105         throws com.liferay.portal.kernel.exception.SystemException {
106         return _shardLocalService.updateShard(shard);
107     }
108 
109     public com.liferay.portal.model.Shard updateShard(
110         com.liferay.portal.model.Shard shard, boolean merge)
111         throws com.liferay.portal.kernel.exception.SystemException {
112         return _shardLocalService.updateShard(shard, merge);
113     }
114 
115     public com.liferay.portal.model.Shard addShard(java.lang.String className,
116         long classPK, java.lang.String name)
117         throws com.liferay.portal.kernel.exception.SystemException {
118         return _shardLocalService.addShard(className, classPK, name);
119     }
120 
121     public com.liferay.portal.model.Shard getShard(java.lang.String className,
122         long classPK)
123         throws com.liferay.portal.kernel.exception.PortalException,
124             com.liferay.portal.kernel.exception.SystemException {
125         return _shardLocalService.getShard(className, classPK);
126     }
127 
128     public ShardLocalService getWrappedShardLocalService() {
129         return _shardLocalService;
130     }
131 
132     private ShardLocalService _shardLocalService;
133 }