001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link ShardLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       ShardLocalService
025     * @generated
026     */
027    public class ShardLocalServiceWrapper implements ShardLocalService {
028            public ShardLocalServiceWrapper(ShardLocalService shardLocalService) {
029                    _shardLocalService = shardLocalService;
030            }
031    
032            public com.liferay.portal.model.Shard addShard(
033                    com.liferay.portal.model.Shard shard)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _shardLocalService.addShard(shard);
036            }
037    
038            public com.liferay.portal.model.Shard createShard(long shardId) {
039                    return _shardLocalService.createShard(shardId);
040            }
041    
042            public void deleteShard(long shardId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _shardLocalService.deleteShard(shardId);
046            }
047    
048            public void deleteShard(com.liferay.portal.model.Shard shard)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    _shardLocalService.deleteShard(shard);
051            }
052    
053            @SuppressWarnings("unchecked")
054            public java.util.List dynamicQuery(
055                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
056                    throws com.liferay.portal.kernel.exception.SystemException {
057                    return _shardLocalService.dynamicQuery(dynamicQuery);
058            }
059    
060            @SuppressWarnings("unchecked")
061            public java.util.List dynamicQuery(
062                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
063                    int end) throws com.liferay.portal.kernel.exception.SystemException {
064                    return _shardLocalService.dynamicQuery(dynamicQuery, start, end);
065            }
066    
067            @SuppressWarnings("unchecked")
068            public java.util.List dynamicQuery(
069                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
070                    int end,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _shardLocalService.dynamicQuery(dynamicQuery, start, end,
074                            orderByComparator);
075            }
076    
077            public long dynamicQueryCount(
078                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
079                    throws com.liferay.portal.kernel.exception.SystemException {
080                    return _shardLocalService.dynamicQueryCount(dynamicQuery);
081            }
082    
083            public com.liferay.portal.model.Shard getShard(long shardId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _shardLocalService.getShard(shardId);
087            }
088    
089            public java.util.List<com.liferay.portal.model.Shard> getShards(int start,
090                    int end) throws com.liferay.portal.kernel.exception.SystemException {
091                    return _shardLocalService.getShards(start, end);
092            }
093    
094            public int getShardsCount()
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _shardLocalService.getShardsCount();
097            }
098    
099            public com.liferay.portal.model.Shard updateShard(
100                    com.liferay.portal.model.Shard shard)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _shardLocalService.updateShard(shard);
103            }
104    
105            public com.liferay.portal.model.Shard updateShard(
106                    com.liferay.portal.model.Shard shard, boolean merge)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _shardLocalService.updateShard(shard, merge);
109            }
110    
111            public com.liferay.portal.model.Shard addShard(java.lang.String className,
112                    long classPK, java.lang.String name)
113                    throws com.liferay.portal.kernel.exception.SystemException {
114                    return _shardLocalService.addShard(className, classPK, name);
115            }
116    
117            public com.liferay.portal.model.Shard getShard(java.lang.String className,
118                    long classPK)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException {
121                    return _shardLocalService.getShard(className, classPK);
122            }
123    
124            public ShardLocalService getWrappedShardLocalService() {
125                    return _shardLocalService;
126            }
127    
128            private ShardLocalService _shardLocalService;
129    }