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.portlet.asset.service;
16  
17  
18  /**
19   * <a href="AssetLinkLocalServiceUtil.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 AssetLinkLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AssetLinkLocalService
32   * @generated
33   */
34  public class AssetLinkLocalServiceWrapper implements AssetLinkLocalService {
35      public AssetLinkLocalServiceWrapper(
36          AssetLinkLocalService assetLinkLocalService) {
37          _assetLinkLocalService = assetLinkLocalService;
38      }
39  
40      public com.liferay.portlet.asset.model.AssetLink addAssetLink(
41          com.liferay.portlet.asset.model.AssetLink assetLink)
42          throws com.liferay.portal.kernel.exception.SystemException {
43          return _assetLinkLocalService.addAssetLink(assetLink);
44      }
45  
46      public com.liferay.portlet.asset.model.AssetLink createAssetLink(
47          long linkId) {
48          return _assetLinkLocalService.createAssetLink(linkId);
49      }
50  
51      public void deleteAssetLink(long linkId)
52          throws com.liferay.portal.kernel.exception.PortalException,
53              com.liferay.portal.kernel.exception.SystemException {
54          _assetLinkLocalService.deleteAssetLink(linkId);
55      }
56  
57      public void deleteAssetLink(
58          com.liferay.portlet.asset.model.AssetLink assetLink)
59          throws com.liferay.portal.kernel.exception.SystemException {
60          _assetLinkLocalService.deleteAssetLink(assetLink);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.kernel.exception.SystemException {
66          return _assetLinkLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.kernel.exception.SystemException {
72          return _assetLinkLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException {
80          return _assetLinkLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _assetLinkLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portlet.asset.model.AssetLink getAssetLink(long linkId)
91          throws com.liferay.portal.kernel.exception.PortalException,
92              com.liferay.portal.kernel.exception.SystemException {
93          return _assetLinkLocalService.getAssetLink(linkId);
94      }
95  
96      public java.util.List<com.liferay.portlet.asset.model.AssetLink> getAssetLinks(
97          int start, int end)
98          throws com.liferay.portal.kernel.exception.SystemException {
99          return _assetLinkLocalService.getAssetLinks(start, end);
100     }
101 
102     public int getAssetLinksCount()
103         throws com.liferay.portal.kernel.exception.SystemException {
104         return _assetLinkLocalService.getAssetLinksCount();
105     }
106 
107     public com.liferay.portlet.asset.model.AssetLink updateAssetLink(
108         com.liferay.portlet.asset.model.AssetLink assetLink)
109         throws com.liferay.portal.kernel.exception.SystemException {
110         return _assetLinkLocalService.updateAssetLink(assetLink);
111     }
112 
113     public com.liferay.portlet.asset.model.AssetLink updateAssetLink(
114         com.liferay.portlet.asset.model.AssetLink assetLink, boolean merge)
115         throws com.liferay.portal.kernel.exception.SystemException {
116         return _assetLinkLocalService.updateAssetLink(assetLink, merge);
117     }
118 
119     public com.liferay.portlet.asset.model.AssetLink addLink(long userId,
120         long entryId1, long entryId2, int type, int weight)
121         throws com.liferay.portal.kernel.exception.PortalException,
122             com.liferay.portal.kernel.exception.SystemException {
123         return _assetLinkLocalService.addLink(userId, entryId1, entryId2, type,
124             weight);
125     }
126 
127     public void deleteLink(long linkId)
128         throws com.liferay.portal.kernel.exception.PortalException,
129             com.liferay.portal.kernel.exception.SystemException {
130         _assetLinkLocalService.deleteLink(linkId);
131     }
132 
133     public void deleteLinks(long entryId)
134         throws com.liferay.portal.kernel.exception.SystemException {
135         _assetLinkLocalService.deleteLinks(entryId);
136     }
137 
138     public void deleteLinks(long entryId1, long entryId2)
139         throws com.liferay.portal.kernel.exception.SystemException {
140         _assetLinkLocalService.deleteLinks(entryId1, entryId2);
141     }
142 
143     public java.util.List<com.liferay.portlet.asset.model.AssetLink> getLinks(
144         long entryId, int typeId)
145         throws com.liferay.portal.kernel.exception.SystemException {
146         return _assetLinkLocalService.getLinks(entryId, typeId);
147     }
148 
149     public java.util.List<com.liferay.portlet.asset.model.AssetLink> getReverseLinks(
150         long entryId, int typeId)
151         throws com.liferay.portal.kernel.exception.SystemException {
152         return _assetLinkLocalService.getReverseLinks(entryId, typeId);
153     }
154 
155     public AssetLinkLocalService getWrappedAssetLinkLocalService() {
156         return _assetLinkLocalService;
157     }
158 
159     private AssetLinkLocalService _assetLinkLocalService;
160 }