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