1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.journal.service;
24  
25  
26  /**
27   * <a href="JournalArticleImageLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link JournalArticleImageLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       JournalArticleImageLocalService
40   * @generated
41   */
42  public class JournalArticleImageLocalServiceWrapper
43      implements JournalArticleImageLocalService {
44      public JournalArticleImageLocalServiceWrapper(
45          JournalArticleImageLocalService journalArticleImageLocalService) {
46          _journalArticleImageLocalService = journalArticleImageLocalService;
47      }
48  
49      public com.liferay.portlet.journal.model.JournalArticleImage addJournalArticleImage(
50          com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
51          throws com.liferay.portal.SystemException {
52          return _journalArticleImageLocalService.addJournalArticleImage(journalArticleImage);
53      }
54  
55      public com.liferay.portlet.journal.model.JournalArticleImage createJournalArticleImage(
56          long articleImageId) {
57          return _journalArticleImageLocalService.createJournalArticleImage(articleImageId);
58      }
59  
60      public void deleteJournalArticleImage(long articleImageId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _journalArticleImageLocalService.deleteJournalArticleImage(articleImageId);
64      }
65  
66      public void deleteJournalArticleImage(
67          com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
68          throws com.liferay.portal.SystemException {
69          _journalArticleImageLocalService.deleteJournalArticleImage(journalArticleImage);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _journalArticleImageLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _journalArticleImageLocalService.dynamicQuery(dynamicQuery,
82              start, end);
83      }
84  
85      public com.liferay.portlet.journal.model.JournalArticleImage getJournalArticleImage(
86          long articleImageId)
87          throws com.liferay.portal.PortalException,
88              com.liferay.portal.SystemException {
89          return _journalArticleImageLocalService.getJournalArticleImage(articleImageId);
90      }
91  
92      public java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> getJournalArticleImages(
93          int start, int end) throws com.liferay.portal.SystemException {
94          return _journalArticleImageLocalService.getJournalArticleImages(start,
95              end);
96      }
97  
98      public int getJournalArticleImagesCount()
99          throws com.liferay.portal.SystemException {
100         return _journalArticleImageLocalService.getJournalArticleImagesCount();
101     }
102 
103     public com.liferay.portlet.journal.model.JournalArticleImage updateJournalArticleImage(
104         com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage)
105         throws com.liferay.portal.SystemException {
106         return _journalArticleImageLocalService.updateJournalArticleImage(journalArticleImage);
107     }
108 
109     public com.liferay.portlet.journal.model.JournalArticleImage updateJournalArticleImage(
110         com.liferay.portlet.journal.model.JournalArticleImage journalArticleImage,
111         boolean merge) throws com.liferay.portal.SystemException {
112         return _journalArticleImageLocalService.updateJournalArticleImage(journalArticleImage,
113             merge);
114     }
115 
116     public void addArticleImageId(long articleImageId, long groupId,
117         java.lang.String articleId, double version,
118         java.lang.String elInstanceId, java.lang.String elName,
119         java.lang.String languageId)
120         throws com.liferay.portal.PortalException,
121             com.liferay.portal.SystemException {
122         _journalArticleImageLocalService.addArticleImageId(articleImageId,
123             groupId, articleId, version, elInstanceId, elName, languageId);
124     }
125 
126     public void deleteArticleImage(long articleImageId)
127         throws com.liferay.portal.SystemException {
128         _journalArticleImageLocalService.deleteArticleImage(articleImageId);
129     }
130 
131     public void deleteArticleImage(
132         com.liferay.portlet.journal.model.JournalArticleImage articleImage)
133         throws com.liferay.portal.SystemException {
134         _journalArticleImageLocalService.deleteArticleImage(articleImage);
135     }
136 
137     public void deleteArticleImage(long groupId, java.lang.String articleId,
138         double version, java.lang.String elInstanceId, java.lang.String elName,
139         java.lang.String languageId) throws com.liferay.portal.SystemException {
140         _journalArticleImageLocalService.deleteArticleImage(groupId, articleId,
141             version, elInstanceId, elName, languageId);
142     }
143 
144     public void deleteImages(long groupId, java.lang.String articleId,
145         double version) throws com.liferay.portal.SystemException {
146         _journalArticleImageLocalService.deleteImages(groupId, articleId,
147             version);
148     }
149 
150     public com.liferay.portlet.journal.model.JournalArticleImage getArticleImage(
151         long articleImageId)
152         throws com.liferay.portal.PortalException,
153             com.liferay.portal.SystemException {
154         return _journalArticleImageLocalService.getArticleImage(articleImageId);
155     }
156 
157     public long getArticleImageId(long groupId, java.lang.String articleId,
158         double version, java.lang.String elInstanceId, java.lang.String elName,
159         java.lang.String languageId) throws com.liferay.portal.SystemException {
160         return _journalArticleImageLocalService.getArticleImageId(groupId,
161             articleId, version, elInstanceId, elName, languageId);
162     }
163 
164     public long getArticleImageId(long groupId, java.lang.String articleId,
165         double version, java.lang.String elInstanceId, java.lang.String elName,
166         java.lang.String languageId, boolean tempImage)
167         throws com.liferay.portal.SystemException {
168         return _journalArticleImageLocalService.getArticleImageId(groupId,
169             articleId, version, elInstanceId, elName, languageId, tempImage);
170     }
171 
172     public java.util.List<com.liferay.portlet.journal.model.JournalArticleImage> getArticleImages(
173         long groupId) throws com.liferay.portal.SystemException {
174         return _journalArticleImageLocalService.getArticleImages(groupId);
175     }
176 
177     public JournalArticleImageLocalService getWrappedJournalArticleImageLocalService() {
178         return _journalArticleImageLocalService;
179     }
180 
181     private JournalArticleImageLocalService _journalArticleImageLocalService;
182 }