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