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.softwarecatalog.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.AutoEscape; 020 import com.liferay.portal.kernel.exception.SystemException; 021 import com.liferay.portal.model.AuditedModel; 022 import com.liferay.portal.model.BaseModel; 023 import com.liferay.portal.model.CacheModel; 024 import com.liferay.portal.service.ServiceContext; 025 026 import com.liferay.portlet.expando.model.ExpandoBridge; 027 028 import java.io.Serializable; 029 030 import java.util.Date; 031 032 /** 033 * The base model interface for the SCProductVersion service. Represents a row in the "SCProductVersion" database table, with each column mapped to a property of this class. 034 * 035 * <p> 036 * This interface and its corresponding implementation {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl} 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.softwarecatalog.model.impl.SCProductVersionImpl}. 037 * </p> 038 * 039 * @author Brian Wing Shun Chan 040 * @see SCProductVersion 041 * @see com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionImpl 042 * @see com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl 043 * @generated 044 */ 045 @ProviderType 046 public interface SCProductVersionModel extends AuditedModel, 047 BaseModel<SCProductVersion> { 048 /* 049 * NOTE FOR DEVELOPERS: 050 * 051 * Never modify or reference this interface directly. All methods that expect a s c product version model instance should use the {@link SCProductVersion} interface instead. 052 */ 053 054 /** 055 * Returns the primary key of this s c product version. 056 * 057 * @return the primary key of this s c product version 058 */ 059 public long getPrimaryKey(); 060 061 /** 062 * Sets the primary key of this s c product version. 063 * 064 * @param primaryKey the primary key of this s c product version 065 */ 066 public void setPrimaryKey(long primaryKey); 067 068 /** 069 * Returns the product version ID of this s c product version. 070 * 071 * @return the product version ID of this s c product version 072 */ 073 public long getProductVersionId(); 074 075 /** 076 * Sets the product version ID of this s c product version. 077 * 078 * @param productVersionId the product version ID of this s c product version 079 */ 080 public void setProductVersionId(long productVersionId); 081 082 /** 083 * Returns the company ID of this s c product version. 084 * 085 * @return the company ID of this s c product version 086 */ 087 @Override 088 public long getCompanyId(); 089 090 /** 091 * Sets the company ID of this s c product version. 092 * 093 * @param companyId the company ID of this s c product version 094 */ 095 @Override 096 public void setCompanyId(long companyId); 097 098 /** 099 * Returns the user ID of this s c product version. 100 * 101 * @return the user ID of this s c product version 102 */ 103 @Override 104 public long getUserId(); 105 106 /** 107 * Sets the user ID of this s c product version. 108 * 109 * @param userId the user ID of this s c product version 110 */ 111 @Override 112 public void setUserId(long userId); 113 114 /** 115 * Returns the user uuid of this s c product version. 116 * 117 * @return the user uuid of this s c product version 118 * @throws SystemException if a system exception occurred 119 */ 120 @Override 121 public String getUserUuid() throws SystemException; 122 123 /** 124 * Sets the user uuid of this s c product version. 125 * 126 * @param userUuid the user uuid of this s c product version 127 */ 128 @Override 129 public void setUserUuid(String userUuid); 130 131 /** 132 * Returns the user name of this s c product version. 133 * 134 * @return the user name of this s c product version 135 */ 136 @AutoEscape 137 @Override 138 public String getUserName(); 139 140 /** 141 * Sets the user name of this s c product version. 142 * 143 * @param userName the user name of this s c product version 144 */ 145 @Override 146 public void setUserName(String userName); 147 148 /** 149 * Returns the create date of this s c product version. 150 * 151 * @return the create date of this s c product version 152 */ 153 @Override 154 public Date getCreateDate(); 155 156 /** 157 * Sets the create date of this s c product version. 158 * 159 * @param createDate the create date of this s c product version 160 */ 161 @Override 162 public void setCreateDate(Date createDate); 163 164 /** 165 * Returns the modified date of this s c product version. 166 * 167 * @return the modified date of this s c product version 168 */ 169 @Override 170 public Date getModifiedDate(); 171 172 /** 173 * Sets the modified date of this s c product version. 174 * 175 * @param modifiedDate the modified date of this s c product version 176 */ 177 @Override 178 public void setModifiedDate(Date modifiedDate); 179 180 /** 181 * Returns the product entry ID of this s c product version. 182 * 183 * @return the product entry ID of this s c product version 184 */ 185 public long getProductEntryId(); 186 187 /** 188 * Sets the product entry ID of this s c product version. 189 * 190 * @param productEntryId the product entry ID of this s c product version 191 */ 192 public void setProductEntryId(long productEntryId); 193 194 /** 195 * Returns the version of this s c product version. 196 * 197 * @return the version of this s c product version 198 */ 199 @AutoEscape 200 public String getVersion(); 201 202 /** 203 * Sets the version of this s c product version. 204 * 205 * @param version the version of this s c product version 206 */ 207 public void setVersion(String version); 208 209 /** 210 * Returns the change log of this s c product version. 211 * 212 * @return the change log of this s c product version 213 */ 214 @AutoEscape 215 public String getChangeLog(); 216 217 /** 218 * Sets the change log of this s c product version. 219 * 220 * @param changeLog the change log of this s c product version 221 */ 222 public void setChangeLog(String changeLog); 223 224 /** 225 * Returns the download page u r l of this s c product version. 226 * 227 * @return the download page u r l of this s c product version 228 */ 229 @AutoEscape 230 public String getDownloadPageURL(); 231 232 /** 233 * Sets the download page u r l of this s c product version. 234 * 235 * @param downloadPageURL the download page u r l of this s c product version 236 */ 237 public void setDownloadPageURL(String downloadPageURL); 238 239 /** 240 * Returns the direct download u r l of this s c product version. 241 * 242 * @return the direct download u r l of this s c product version 243 */ 244 @AutoEscape 245 public String getDirectDownloadURL(); 246 247 /** 248 * Sets the direct download u r l of this s c product version. 249 * 250 * @param directDownloadURL the direct download u r l of this s c product version 251 */ 252 public void setDirectDownloadURL(String directDownloadURL); 253 254 /** 255 * Returns the repo store artifact of this s c product version. 256 * 257 * @return the repo store artifact of this s c product version 258 */ 259 public boolean getRepoStoreArtifact(); 260 261 /** 262 * Returns <code>true</code> if this s c product version is repo store artifact. 263 * 264 * @return <code>true</code> if this s c product version is repo store artifact; <code>false</code> otherwise 265 */ 266 public boolean isRepoStoreArtifact(); 267 268 /** 269 * Sets whether this s c product version is repo store artifact. 270 * 271 * @param repoStoreArtifact the repo store artifact of this s c product version 272 */ 273 public void setRepoStoreArtifact(boolean repoStoreArtifact); 274 275 @Override 276 public boolean isNew(); 277 278 @Override 279 public void setNew(boolean n); 280 281 @Override 282 public boolean isCachedModel(); 283 284 @Override 285 public void setCachedModel(boolean cachedModel); 286 287 @Override 288 public boolean isEscapedModel(); 289 290 @Override 291 public Serializable getPrimaryKeyObj(); 292 293 @Override 294 public void setPrimaryKeyObj(Serializable primaryKeyObj); 295 296 @Override 297 public ExpandoBridge getExpandoBridge(); 298 299 @Override 300 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 301 302 @Override 303 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 304 305 @Override 306 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 307 308 @Override 309 public Object clone(); 310 311 @Override 312 public int compareTo(SCProductVersion scProductVersion); 313 314 @Override 315 public int hashCode(); 316 317 @Override 318 public CacheModel<SCProductVersion> toCacheModel(); 319 320 @Override 321 public SCProductVersion toEscapedModel(); 322 323 @Override 324 public SCProductVersion toUnescapedModel(); 325 326 @Override 327 public String toString(); 328 329 @Override 330 public String toXmlString(); 331 }