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 com.liferay.portal.kernel.bean.AutoEscape;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.model.CacheModel;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    /**
027     * 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.
028     *
029     * <p>
030     * 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}.
031     * </p>
032     *
033     * @author Brian Wing Shun Chan
034     * @see JournalContentSearch
035     * @see com.liferay.portlet.journal.model.impl.JournalContentSearchImpl
036     * @see com.liferay.portlet.journal.model.impl.JournalContentSearchModelImpl
037     * @generated
038     */
039    public interface JournalContentSearchModel extends BaseModel<JournalContentSearch> {
040            /*
041             * NOTE FOR DEVELOPERS:
042             *
043             * Never modify or reference this interface directly. All methods that expect a journal content search model instance should use the {@link JournalContentSearch} interface instead.
044             */
045    
046            /**
047             * Returns the primary key of this journal content search.
048             *
049             * @return the primary key of this journal content search
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this journal content search.
055             *
056             * @param primaryKey the primary key of this journal content search
057             */
058            public void setPrimaryKey(long primaryKey);
059    
060            /**
061             * Returns the content search ID of this journal content search.
062             *
063             * @return the content search ID of this journal content search
064             */
065            public long getContentSearchId();
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    
074            /**
075             * Returns the group ID of this journal content search.
076             *
077             * @return the group ID of this journal content search
078             */
079            public long getGroupId();
080    
081            /**
082             * Sets the group ID of this journal content search.
083             *
084             * @param groupId the group ID of this journal content search
085             */
086            public void setGroupId(long groupId);
087    
088            /**
089             * Returns the company ID of this journal content search.
090             *
091             * @return the company ID of this journal content search
092             */
093            public long getCompanyId();
094    
095            /**
096             * Sets the company ID of this journal content search.
097             *
098             * @param companyId the company ID of this journal content search
099             */
100            public void setCompanyId(long companyId);
101    
102            /**
103             * Returns the private layout of this journal content search.
104             *
105             * @return the private layout of this journal content search
106             */
107            public boolean getPrivateLayout();
108    
109            /**
110             * Returns <code>true</code> if this journal content search is private layout.
111             *
112             * @return <code>true</code> if this journal content search is private layout; <code>false</code> otherwise
113             */
114            public boolean isPrivateLayout();
115    
116            /**
117             * Sets whether this journal content search is private layout.
118             *
119             * @param privateLayout the private layout of this journal content search
120             */
121            public void setPrivateLayout(boolean privateLayout);
122    
123            /**
124             * Returns the layout ID of this journal content search.
125             *
126             * @return the layout ID of this journal content search
127             */
128            public long getLayoutId();
129    
130            /**
131             * Sets the layout ID of this journal content search.
132             *
133             * @param layoutId the layout ID of this journal content search
134             */
135            public void setLayoutId(long layoutId);
136    
137            /**
138             * Returns the portlet ID of this journal content search.
139             *
140             * @return the portlet ID of this journal content search
141             */
142            @AutoEscape
143            public String getPortletId();
144    
145            /**
146             * Sets the portlet ID of this journal content search.
147             *
148             * @param portletId the portlet ID of this journal content search
149             */
150            public void setPortletId(String portletId);
151    
152            /**
153             * Returns the article ID of this journal content search.
154             *
155             * @return the article ID of this journal content search
156             */
157            @AutoEscape
158            public String getArticleId();
159    
160            /**
161             * Sets the article ID of this journal content search.
162             *
163             * @param articleId the article ID of this journal content search
164             */
165            public void setArticleId(String articleId);
166    
167            public boolean isNew();
168    
169            public void setNew(boolean n);
170    
171            public boolean isCachedModel();
172    
173            public void setCachedModel(boolean cachedModel);
174    
175            public boolean isEscapedModel();
176    
177            public Serializable getPrimaryKeyObj();
178    
179            public void setPrimaryKeyObj(Serializable primaryKeyObj);
180    
181            public ExpandoBridge getExpandoBridge();
182    
183            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
184    
185            public Object clone();
186    
187            public int compareTo(JournalContentSearch journalContentSearch);
188    
189            public int hashCode();
190    
191            public CacheModel<JournalContentSearch> toCacheModel();
192    
193            public JournalContentSearch toEscapedModel();
194    
195            public JournalContentSearch toUnescapedModel();
196    
197            public String toString();
198    
199            public String toXmlString();
200    }