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