001    /**
002     * Copyright (c) 2000-2013 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.model.BaseModel;
021    import com.liferay.portal.model.CacheModel;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.expando.model.ExpandoBridge;
025    
026    import java.io.Serializable;
027    
028    /**
029     * The base model interface for the JournalContentSearch service. Represents a row in the "JournalContentSearch" database table, with each column mapped to a property of this class.
030     *
031     * <p>
032     * This interface and its corresponding implementation {@link com.liferay.portlet.journal.model.impl.JournalContentSearchModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.journal.model.impl.JournalContentSearchImpl}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see JournalContentSearch
037     * @see com.liferay.portlet.journal.model.impl.JournalContentSearchImpl
038     * @see com.liferay.portlet.journal.model.impl.JournalContentSearchModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface JournalContentSearchModel extends BaseModel<JournalContentSearch> {
043            /*
044             * NOTE FOR DEVELOPERS:
045             *
046             * Never modify or reference this interface directly. All methods that expect a journal content search model instance should use the {@link JournalContentSearch} interface instead.
047             */
048    
049            /**
050             * Returns the primary key of this journal content search.
051             *
052             * @return the primary key of this journal content search
053             */
054            public long getPrimaryKey();
055    
056            /**
057             * Sets the primary key of this journal content search.
058             *
059             * @param primaryKey the primary key of this journal content search
060             */
061            public void setPrimaryKey(long primaryKey);
062    
063            /**
064             * Returns the content search ID of this journal content search.
065             *
066             * @return the content search ID of this journal content search
067             */
068            public long getContentSearchId();
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    
077            /**
078             * Returns the group ID of this journal content search.
079             *
080             * @return the group ID of this journal content search
081             */
082            public long getGroupId();
083    
084            /**
085             * Sets the group ID of this journal content search.
086             *
087             * @param groupId the group ID of this journal content search
088             */
089            public void setGroupId(long groupId);
090    
091            /**
092             * Returns the company ID of this journal content search.
093             *
094             * @return the company ID of this journal content search
095             */
096            public long getCompanyId();
097    
098            /**
099             * Sets the company ID of this journal content search.
100             *
101             * @param companyId the company ID of this journal content search
102             */
103            public void setCompanyId(long companyId);
104    
105            /**
106             * Returns the private layout of this journal content search.
107             *
108             * @return the private layout of this journal content search
109             */
110            public boolean getPrivateLayout();
111    
112            /**
113             * Returns <code>true</code> if this journal content search is private layout.
114             *
115             * @return <code>true</code> if this journal content search is private layout; <code>false</code> otherwise
116             */
117            public boolean isPrivateLayout();
118    
119            /**
120             * Sets whether this journal content search is private layout.
121             *
122             * @param privateLayout the private layout of this journal content search
123             */
124            public void setPrivateLayout(boolean privateLayout);
125    
126            /**
127             * Returns the layout ID of this journal content search.
128             *
129             * @return the layout ID of this journal content search
130             */
131            public long getLayoutId();
132    
133            /**
134             * Sets the layout ID of this journal content search.
135             *
136             * @param layoutId the layout ID of this journal content search
137             */
138            public void setLayoutId(long layoutId);
139    
140            /**
141             * Returns the portlet ID of this journal content search.
142             *
143             * @return the portlet ID of this journal content search
144             */
145            @AutoEscape
146            public String getPortletId();
147    
148            /**
149             * Sets the portlet ID of this journal content search.
150             *
151             * @param portletId the portlet ID of this journal content search
152             */
153            public void setPortletId(String portletId);
154    
155            /**
156             * Returns the article ID of this journal content search.
157             *
158             * @return the article ID of this journal content search
159             */
160            @AutoEscape
161            public String getArticleId();
162    
163            /**
164             * Sets the article ID of this journal content search.
165             *
166             * @param articleId the article ID of this journal content search
167             */
168            public void setArticleId(String articleId);
169    
170            @Override
171            public boolean isNew();
172    
173            @Override
174            public void setNew(boolean n);
175    
176            @Override
177            public boolean isCachedModel();
178    
179            @Override
180            public void setCachedModel(boolean cachedModel);
181    
182            @Override
183            public boolean isEscapedModel();
184    
185            @Override
186            public Serializable getPrimaryKeyObj();
187    
188            @Override
189            public void setPrimaryKeyObj(Serializable primaryKeyObj);
190    
191            @Override
192            public ExpandoBridge getExpandoBridge();
193    
194            @Override
195            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
196    
197            @Override
198            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
199    
200            @Override
201            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
202    
203            @Override
204            public Object clone();
205    
206            @Override
207            public int compareTo(JournalContentSearch journalContentSearch);
208    
209            @Override
210            public int hashCode();
211    
212            @Override
213            public CacheModel<JournalContentSearch> toCacheModel();
214    
215            @Override
216            public JournalContentSearch toEscapedModel();
217    
218            @Override
219            public JournalContentSearch toUnescapedModel();
220    
221            @Override
222            public String toString();
223    
224            @Override
225            public String toXmlString();
226    }