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