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.model.ShardedModel; 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>, ShardedModel { 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 */ 119 @Override 120 public String getUserUuid(); 121 122 /** 123 * Sets the user uuid of this s c product version. 124 * 125 * @param userUuid the user uuid of this s c product version 126 */ 127 @Override 128 public void setUserUuid(String userUuid); 129 130 /** 131 * Returns the user name of this s c product version. 132 * 133 * @return the user name of this s c product version 134 */ 135 @AutoEscape 136 @Override 137 public String getUserName(); 138 139 /** 140 * Sets the user name of this s c product version. 141 * 142 * @param userName the user name of this s c product version 143 */ 144 @Override 145 public void setUserName(String userName); 146 147 /** 148 * Returns the create date of this s c product version. 149 * 150 * @return the create date of this s c product version 151 */ 152 @Override 153 public Date getCreateDate(); 154 155 /** 156 * Sets the create date of this s c product version. 157 * 158 * @param createDate the create date of this s c product version 159 */ 160 @Override 161 public void setCreateDate(Date createDate); 162 163 /** 164 * Returns the modified date of this s c product version. 165 * 166 * @return the modified date of this s c product version 167 */ 168 @Override 169 public Date getModifiedDate(); 170 171 /** 172 * Sets the modified date of this s c product version. 173 * 174 * @param modifiedDate the modified date of this s c product version 175 */ 176 @Override 177 public void setModifiedDate(Date modifiedDate); 178 179 /** 180 * Returns the product entry ID of this s c product version. 181 * 182 * @return the product entry ID of this s c product version 183 */ 184 public long getProductEntryId(); 185 186 /** 187 * Sets the product entry ID of this s c product version. 188 * 189 * @param productEntryId the product entry ID of this s c product version 190 */ 191 public void setProductEntryId(long productEntryId); 192 193 /** 194 * Returns the version of this s c product version. 195 * 196 * @return the version of this s c product version 197 */ 198 @AutoEscape 199 public String getVersion(); 200 201 /** 202 * Sets the version of this s c product version. 203 * 204 * @param version the version of this s c product version 205 */ 206 public void setVersion(String version); 207 208 /** 209 * Returns the change log of this s c product version. 210 * 211 * @return the change log of this s c product version 212 */ 213 @AutoEscape 214 public String getChangeLog(); 215 216 /** 217 * Sets the change log of this s c product version. 218 * 219 * @param changeLog the change log of this s c product version 220 */ 221 public void setChangeLog(String changeLog); 222 223 /** 224 * Returns the download page u r l of this s c product version. 225 * 226 * @return the download page u r l of this s c product version 227 */ 228 @AutoEscape 229 public String getDownloadPageURL(); 230 231 /** 232 * Sets the download page u r l of this s c product version. 233 * 234 * @param downloadPageURL the download page u r l of this s c product version 235 */ 236 public void setDownloadPageURL(String downloadPageURL); 237 238 /** 239 * Returns the direct download u r l of this s c product version. 240 * 241 * @return the direct download u r l of this s c product version 242 */ 243 @AutoEscape 244 public String getDirectDownloadURL(); 245 246 /** 247 * Sets the direct download u r l of this s c product version. 248 * 249 * @param directDownloadURL the direct download u r l of this s c product version 250 */ 251 public void setDirectDownloadURL(String directDownloadURL); 252 253 /** 254 * Returns the repo store artifact of this s c product version. 255 * 256 * @return the repo store artifact of this s c product version 257 */ 258 public boolean getRepoStoreArtifact(); 259 260 /** 261 * Returns <code>true</code> if this s c product version is repo store artifact. 262 * 263 * @return <code>true</code> if this s c product version is repo store artifact; <code>false</code> otherwise 264 */ 265 public boolean isRepoStoreArtifact(); 266 267 /** 268 * Sets whether this s c product version is repo store artifact. 269 * 270 * @param repoStoreArtifact the repo store artifact of this s c product version 271 */ 272 public void setRepoStoreArtifact(boolean repoStoreArtifact); 273 274 @Override 275 public boolean isNew(); 276 277 @Override 278 public void setNew(boolean n); 279 280 @Override 281 public boolean isCachedModel(); 282 283 @Override 284 public void setCachedModel(boolean cachedModel); 285 286 @Override 287 public boolean isEscapedModel(); 288 289 @Override 290 public Serializable getPrimaryKeyObj(); 291 292 @Override 293 public void setPrimaryKeyObj(Serializable primaryKeyObj); 294 295 @Override 296 public ExpandoBridge getExpandoBridge(); 297 298 @Override 299 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 300 301 @Override 302 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 303 304 @Override 305 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 306 307 @Override 308 public Object clone(); 309 310 @Override 311 public int compareTo( 312 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion); 313 314 @Override 315 public int hashCode(); 316 317 @Override 318 public CacheModel<com.liferay.portlet.softwarecatalog.model.SCProductVersion> toCacheModel(); 319 320 @Override 321 public com.liferay.portlet.softwarecatalog.model.SCProductVersion toEscapedModel(); 322 323 @Override 324 public com.liferay.portlet.softwarecatalog.model.SCProductVersion toUnescapedModel(); 325 326 @Override 327 public String toString(); 328 329 @Override 330 public String toXmlString(); 331 }