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