001    /**
002     * Copyright (c) 2000-2011 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.portlet.journal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link JournalContentSearch}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       JournalContentSearch
024     * @generated
025     */
026    public class JournalContentSearchWrapper implements JournalContentSearch {
027            public JournalContentSearchWrapper(
028                    JournalContentSearch journalContentSearch) {
029                    _journalContentSearch = journalContentSearch;
030            }
031    
032            public Class<?> getModelClass() {
033                    return JournalContentSearch.class;
034            }
035    
036            public String getModelClassName() {
037                    return JournalContentSearch.class.getName();
038            }
039    
040            /**
041            * Returns the primary key of this journal content search.
042            *
043            * @return the primary key of this journal content search
044            */
045            public long getPrimaryKey() {
046                    return _journalContentSearch.getPrimaryKey();
047            }
048    
049            /**
050            * Sets the primary key of this journal content search.
051            *
052            * @param primaryKey the primary key of this journal content search
053            */
054            public void setPrimaryKey(long primaryKey) {
055                    _journalContentSearch.setPrimaryKey(primaryKey);
056            }
057    
058            /**
059            * Returns the content search ID of this journal content search.
060            *
061            * @return the content search ID of this journal content search
062            */
063            public long getContentSearchId() {
064                    return _journalContentSearch.getContentSearchId();
065            }
066    
067            /**
068            * Sets the content search ID of this journal content search.
069            *
070            * @param contentSearchId the content search ID of this journal content search
071            */
072            public void setContentSearchId(long contentSearchId) {
073                    _journalContentSearch.setContentSearchId(contentSearchId);
074            }
075    
076            /**
077            * Returns the group ID of this journal content search.
078            *
079            * @return the group ID of this journal content search
080            */
081            public long getGroupId() {
082                    return _journalContentSearch.getGroupId();
083            }
084    
085            /**
086            * Sets the group ID of this journal content search.
087            *
088            * @param groupId the group ID of this journal content search
089            */
090            public void setGroupId(long groupId) {
091                    _journalContentSearch.setGroupId(groupId);
092            }
093    
094            /**
095            * Returns the company ID of this journal content search.
096            *
097            * @return the company ID of this journal content search
098            */
099            public long getCompanyId() {
100                    return _journalContentSearch.getCompanyId();
101            }
102    
103            /**
104            * Sets the company ID of this journal content search.
105            *
106            * @param companyId the company ID of this journal content search
107            */
108            public void setCompanyId(long companyId) {
109                    _journalContentSearch.setCompanyId(companyId);
110            }
111    
112            /**
113            * Returns the private layout of this journal content search.
114            *
115            * @return the private layout of this journal content search
116            */
117            public boolean getPrivateLayout() {
118                    return _journalContentSearch.getPrivateLayout();
119            }
120    
121            /**
122            * Returns <code>true</code> if this journal content search is private layout.
123            *
124            * @return <code>true</code> if this journal content search is private layout; <code>false</code> otherwise
125            */
126            public boolean isPrivateLayout() {
127                    return _journalContentSearch.isPrivateLayout();
128            }
129    
130            /**
131            * Sets whether this journal content search is private layout.
132            *
133            * @param privateLayout the private layout of this journal content search
134            */
135            public void setPrivateLayout(boolean privateLayout) {
136                    _journalContentSearch.setPrivateLayout(privateLayout);
137            }
138    
139            /**
140            * Returns the layout ID of this journal content search.
141            *
142            * @return the layout ID of this journal content search
143            */
144            public long getLayoutId() {
145                    return _journalContentSearch.getLayoutId();
146            }
147    
148            /**
149            * Sets the layout ID of this journal content search.
150            *
151            * @param layoutId the layout ID of this journal content search
152            */
153            public void setLayoutId(long layoutId) {
154                    _journalContentSearch.setLayoutId(layoutId);
155            }
156    
157            /**
158            * Returns the portlet ID of this journal content search.
159            *
160            * @return the portlet ID of this journal content search
161            */
162            public java.lang.String getPortletId() {
163                    return _journalContentSearch.getPortletId();
164            }
165    
166            /**
167            * Sets the portlet ID of this journal content search.
168            *
169            * @param portletId the portlet ID of this journal content search
170            */
171            public void setPortletId(java.lang.String portletId) {
172                    _journalContentSearch.setPortletId(portletId);
173            }
174    
175            /**
176            * Returns the article ID of this journal content search.
177            *
178            * @return the article ID of this journal content search
179            */
180            public java.lang.String getArticleId() {
181                    return _journalContentSearch.getArticleId();
182            }
183    
184            /**
185            * Sets the article ID of this journal content search.
186            *
187            * @param articleId the article ID of this journal content search
188            */
189            public void setArticleId(java.lang.String articleId) {
190                    _journalContentSearch.setArticleId(articleId);
191            }
192    
193            public boolean isNew() {
194                    return _journalContentSearch.isNew();
195            }
196    
197            public void setNew(boolean n) {
198                    _journalContentSearch.setNew(n);
199            }
200    
201            public boolean isCachedModel() {
202                    return _journalContentSearch.isCachedModel();
203            }
204    
205            public void setCachedModel(boolean cachedModel) {
206                    _journalContentSearch.setCachedModel(cachedModel);
207            }
208    
209            public boolean isEscapedModel() {
210                    return _journalContentSearch.isEscapedModel();
211            }
212    
213            public java.io.Serializable getPrimaryKeyObj() {
214                    return _journalContentSearch.getPrimaryKeyObj();
215            }
216    
217            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
218                    _journalContentSearch.setPrimaryKeyObj(primaryKeyObj);
219            }
220    
221            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
222                    return _journalContentSearch.getExpandoBridge();
223            }
224    
225            public void setExpandoBridgeAttributes(
226                    com.liferay.portal.service.ServiceContext serviceContext) {
227                    _journalContentSearch.setExpandoBridgeAttributes(serviceContext);
228            }
229    
230            @Override
231            public java.lang.Object clone() {
232                    return new JournalContentSearchWrapper((JournalContentSearch)_journalContentSearch.clone());
233            }
234    
235            public int compareTo(
236                    com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch) {
237                    return _journalContentSearch.compareTo(journalContentSearch);
238            }
239    
240            @Override
241            public int hashCode() {
242                    return _journalContentSearch.hashCode();
243            }
244    
245            public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalContentSearch> toCacheModel() {
246                    return _journalContentSearch.toCacheModel();
247            }
248    
249            public com.liferay.portlet.journal.model.JournalContentSearch toEscapedModel() {
250                    return new JournalContentSearchWrapper(_journalContentSearch.toEscapedModel());
251            }
252    
253            @Override
254            public java.lang.String toString() {
255                    return _journalContentSearch.toString();
256            }
257    
258            public java.lang.String toXmlString() {
259                    return _journalContentSearch.toXmlString();
260            }
261    
262            public void persist()
263                    throws com.liferay.portal.kernel.exception.SystemException {
264                    _journalContentSearch.persist();
265            }
266    
267            public JournalContentSearch getWrappedJournalContentSearch() {
268                    return _journalContentSearch;
269            }
270    
271            public void resetOriginalValues() {
272                    _journalContentSearch.resetOriginalValues();
273            }
274    
275            private JournalContentSearch _journalContentSearch;
276    }