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 JournalArticleImage service. Represents a row in the "JournalArticleImage" 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.JournalArticleImageModelImpl} 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.JournalArticleImageImpl}.
030     * </p>
031     *
032     * <p>
033     * Never modify or reference this interface directly. All methods that expect a journal article image model instance should use the {@link JournalArticleImage} interface instead.
034     * </p>
035     *
036     * @author Brian Wing Shun Chan
037     * @see JournalArticleImage
038     * @see com.liferay.portlet.journal.model.impl.JournalArticleImageImpl
039     * @see com.liferay.portlet.journal.model.impl.JournalArticleImageModelImpl
040     * @generated
041     */
042    public interface JournalArticleImageModel extends BaseModel<JournalArticleImage> {
043            /**
044             * Gets the primary key of this journal article image.
045             *
046             * @return the primary key of this journal article image
047             */
048            public long getPrimaryKey();
049    
050            /**
051             * Sets the primary key of this journal article image
052             *
053             * @param pk the primary key of this journal article image
054             */
055            public void setPrimaryKey(long pk);
056    
057            /**
058             * Gets the article image id of this journal article image.
059             *
060             * @return the article image id of this journal article image
061             */
062            public long getArticleImageId();
063    
064            /**
065             * Sets the article image id of this journal article image.
066             *
067             * @param articleImageId the article image id of this journal article image
068             */
069            public void setArticleImageId(long articleImageId);
070    
071            /**
072             * Gets the group id of this journal article image.
073             *
074             * @return the group id of this journal article image
075             */
076            public long getGroupId();
077    
078            /**
079             * Sets the group id of this journal article image.
080             *
081             * @param groupId the group id of this journal article image
082             */
083            public void setGroupId(long groupId);
084    
085            /**
086             * Gets the article id of this journal article image.
087             *
088             * @return the article id of this journal article image
089             */
090            @AutoEscape
091            public String getArticleId();
092    
093            /**
094             * Sets the article id of this journal article image.
095             *
096             * @param articleId the article id of this journal article image
097             */
098            public void setArticleId(String articleId);
099    
100            /**
101             * Gets the version of this journal article image.
102             *
103             * @return the version of this journal article image
104             */
105            public double getVersion();
106    
107            /**
108             * Sets the version of this journal article image.
109             *
110             * @param version the version of this journal article image
111             */
112            public void setVersion(double version);
113    
114            /**
115             * Gets the el instance id of this journal article image.
116             *
117             * @return the el instance id of this journal article image
118             */
119            @AutoEscape
120            public String getElInstanceId();
121    
122            /**
123             * Sets the el instance id of this journal article image.
124             *
125             * @param elInstanceId the el instance id of this journal article image
126             */
127            public void setElInstanceId(String elInstanceId);
128    
129            /**
130             * Gets the el name of this journal article image.
131             *
132             * @return the el name of this journal article image
133             */
134            @AutoEscape
135            public String getElName();
136    
137            /**
138             * Sets the el name of this journal article image.
139             *
140             * @param elName the el name of this journal article image
141             */
142            public void setElName(String elName);
143    
144            /**
145             * Gets the language id of this journal article image.
146             *
147             * @return the language id of this journal article image
148             */
149            @AutoEscape
150            public String getLanguageId();
151    
152            /**
153             * Sets the language id of this journal article image.
154             *
155             * @param languageId the language id of this journal article image
156             */
157            public void setLanguageId(String languageId);
158    
159            /**
160             * Gets the temp image of this journal article image.
161             *
162             * @return the temp image of this journal article image
163             */
164            public boolean getTempImage();
165    
166            /**
167             * Determines whether this journal article image is temp image.
168             *
169             * @return whether this journal article image is temp image
170             */
171            public boolean isTempImage();
172    
173            /**
174             * Sets whether this {$entity.humanName} is temp image.
175             *
176             * @param tempImage the temp image of this journal article image
177             */
178            public void setTempImage(boolean tempImage);
179    
180            /**
181             * Gets a copy of this journal article image as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
182             *
183             * @return the escaped model instance
184             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
185             */
186            public JournalArticleImage toEscapedModel();
187    
188            public boolean isNew();
189    
190            public void setNew(boolean n);
191    
192            public boolean isCachedModel();
193    
194            public void setCachedModel(boolean cachedModel);
195    
196            public boolean isEscapedModel();
197    
198            public void setEscapedModel(boolean escapedModel);
199    
200            public Serializable getPrimaryKeyObj();
201    
202            public ExpandoBridge getExpandoBridge();
203    
204            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
205    
206            public Object clone();
207    
208            public int compareTo(JournalArticleImage journalArticleImage);
209    
210            public int hashCode();
211    
212            public String toString();
213    
214            public String toXmlString();
215    }