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     * <p>
019     * This class is a wrapper for {@link ShardLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ShardLocalService
024     * @generated
025     */
026    public class ShardLocalServiceWrapper implements ShardLocalService {
027            public ShardLocalServiceWrapper(ShardLocalService shardLocalService) {
028                    _shardLocalService = shardLocalService;
029            }
030    
031            public com.liferay.portal.model.Shard addShard(
032                    com.liferay.portal.model.Shard shard)
033                    throws com.liferay.portal.kernel.exception.SystemException {
034                    return _shardLocalService.addShard(shard);
035            }
036    
037            public com.liferay.portal.model.Shard createShard(long shardId) {
038                    return _shardLocalService.createShard(shardId);
039            }
040    
041            public void deleteShard(long shardId)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _shardLocalService.deleteShard(shardId);
045            }
046    
047            public void deleteShard(com.liferay.portal.model.Shard shard)
048                    throws com.liferay.portal.kernel.exception.SystemException {
049                    _shardLocalService.deleteShard(shard);
050            }
051    
052            @SuppressWarnings("unchecked")
053            public java.util.List dynamicQuery(
054                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
055                    throws com.liferay.portal.kernel.exception.SystemException {
056                    return _shardLocalService.dynamicQuery(dynamicQuery);
057            }
058    
059            @SuppressWarnings("unchecked")
060            public java.util.List dynamicQuery(
061                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
062                    int end) throws com.liferay.portal.kernel.exception.SystemException {
063                    return _shardLocalService.dynamicQuery(dynamicQuery, start, end);
064            }
065    
066            @SuppressWarnings("unchecked")
067            public java.util.List dynamicQuery(
068                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
069                    int end,
070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
071                    throws com.liferay.portal.kernel.exception.SystemException {
072                    return _shardLocalService.dynamicQuery(dynamicQuery, start, end,
073                            orderByComparator);
074            }
075    
076            public long dynamicQueryCount(
077                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _shardLocalService.dynamicQueryCount(dynamicQuery);
080            }
081    
082            public com.liferay.portal.model.Shard getShard(long shardId)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _shardLocalService.getShard(shardId);
086            }
087    
088            public java.util.List<com.liferay.portal.model.Shard> getShards(int start,
089                    int end) throws com.liferay.portal.kernel.exception.SystemException {
090                    return _shardLocalService.getShards(start, end);
091            }
092    
093            public int getShardsCount()
094                    throws com.liferay.portal.kernel.exception.SystemException {
095                    return _shardLocalService.getShardsCount();
096            }
097    
098            public com.liferay.portal.model.Shard updateShard(
099                    com.liferay.portal.model.Shard shard)
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _shardLocalService.updateShard(shard);
102            }
103    
104            public com.liferay.portal.model.Shard updateShard(
105                    com.liferay.portal.model.Shard shard, boolean merge)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _shardLocalService.updateShard(shard, merge);
108            }
109    
110            public com.liferay.portal.model.Shard addShard(java.lang.String className,
111                    long classPK, java.lang.String name)
112                    throws com.liferay.portal.kernel.exception.SystemException {
113                    return _shardLocalService.addShard(className, classPK, name);
114            }
115    
116            public com.liferay.portal.model.Shard getShard(java.lang.String className,
117                    long classPK)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException {
120                    return _shardLocalService.getShard(className, classPK);
121            }
122    
123            public ShardLocalService getWrappedShardLocalService() {
124                    return _shardLocalService;
125            }
126    
127            private ShardLocalService _shardLocalService;
128    }