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