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.BaseModel; 020 import com.liferay.portal.model.CacheModel; 021 import com.liferay.portal.model.GroupedModel; 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 SCProductEntry service. Represents a row in the "SCProductEntry" 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.SCProductEntryModelImpl} 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.SCProductEntryImpl}. 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see SCProductEntry 039 * @see com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryImpl 040 * @see com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl 041 * @generated 042 */ 043 public interface SCProductEntryModel extends BaseModel<SCProductEntry>, 044 GroupedModel { 045 /* 046 * NOTE FOR DEVELOPERS: 047 * 048 * Never modify or reference this interface directly. All methods that expect a s c product entry model instance should use the {@link SCProductEntry} interface instead. 049 */ 050 051 /** 052 * Returns the primary key of this s c product entry. 053 * 054 * @return the primary key of this s c product entry 055 */ 056 public long getPrimaryKey(); 057 058 /** 059 * Sets the primary key of this s c product entry. 060 * 061 * @param primaryKey the primary key of this s c product entry 062 */ 063 public void setPrimaryKey(long primaryKey); 064 065 /** 066 * Returns the product entry ID of this s c product entry. 067 * 068 * @return the product entry ID of this s c product entry 069 */ 070 public long getProductEntryId(); 071 072 /** 073 * Sets the product entry ID of this s c product entry. 074 * 075 * @param productEntryId the product entry ID of this s c product entry 076 */ 077 public void setProductEntryId(long productEntryId); 078 079 /** 080 * Returns the group ID of this s c product entry. 081 * 082 * @return the group ID of this s c product entry 083 */ 084 public long getGroupId(); 085 086 /** 087 * Sets the group ID of this s c product entry. 088 * 089 * @param groupId the group ID of this s c product entry 090 */ 091 public void setGroupId(long groupId); 092 093 /** 094 * Returns the company ID of this s c product entry. 095 * 096 * @return the company ID of this s c product entry 097 */ 098 public long getCompanyId(); 099 100 /** 101 * Sets the company ID of this s c product entry. 102 * 103 * @param companyId the company ID of this s c product entry 104 */ 105 public void setCompanyId(long companyId); 106 107 /** 108 * Returns the user ID of this s c product entry. 109 * 110 * @return the user ID of this s c product entry 111 */ 112 public long getUserId(); 113 114 /** 115 * Sets the user ID of this s c product entry. 116 * 117 * @param userId the user ID of this s c product entry 118 */ 119 public void setUserId(long userId); 120 121 /** 122 * Returns the user uuid of this s c product entry. 123 * 124 * @return the user uuid of this s c product entry 125 * @throws SystemException if a system exception occurred 126 */ 127 public String getUserUuid() throws SystemException; 128 129 /** 130 * Sets the user uuid of this s c product entry. 131 * 132 * @param userUuid the user uuid of this s c product entry 133 */ 134 public void setUserUuid(String userUuid); 135 136 /** 137 * Returns the user name of this s c product entry. 138 * 139 * @return the user name of this s c product entry 140 */ 141 @AutoEscape 142 public String getUserName(); 143 144 /** 145 * Sets the user name of this s c product entry. 146 * 147 * @param userName the user name of this s c product entry 148 */ 149 public void setUserName(String userName); 150 151 /** 152 * Returns the create date of this s c product entry. 153 * 154 * @return the create date of this s c product entry 155 */ 156 public Date getCreateDate(); 157 158 /** 159 * Sets the create date of this s c product entry. 160 * 161 * @param createDate the create date of this s c product entry 162 */ 163 public void setCreateDate(Date createDate); 164 165 /** 166 * Returns the modified date of this s c product entry. 167 * 168 * @return the modified date of this s c product entry 169 */ 170 public Date getModifiedDate(); 171 172 /** 173 * Sets the modified date of this s c product entry. 174 * 175 * @param modifiedDate the modified date of this s c product entry 176 */ 177 public void setModifiedDate(Date modifiedDate); 178 179 /** 180 * Returns the name of this s c product entry. 181 * 182 * @return the name of this s c product entry 183 */ 184 @AutoEscape 185 public String getName(); 186 187 /** 188 * Sets the name of this s c product entry. 189 * 190 * @param name the name of this s c product entry 191 */ 192 public void setName(String name); 193 194 /** 195 * Returns the type of this s c product entry. 196 * 197 * @return the type of this s c product entry 198 */ 199 @AutoEscape 200 public String getType(); 201 202 /** 203 * Sets the type of this s c product entry. 204 * 205 * @param type the type of this s c product entry 206 */ 207 public void setType(String type); 208 209 /** 210 * Returns the tags of this s c product entry. 211 * 212 * @return the tags of this s c product entry 213 */ 214 @AutoEscape 215 public String getTags(); 216 217 /** 218 * Sets the tags of this s c product entry. 219 * 220 * @param tags the tags of this s c product entry 221 */ 222 public void setTags(String tags); 223 224 /** 225 * Returns the short description of this s c product entry. 226 * 227 * @return the short description of this s c product entry 228 */ 229 @AutoEscape 230 public String getShortDescription(); 231 232 /** 233 * Sets the short description of this s c product entry. 234 * 235 * @param shortDescription the short description of this s c product entry 236 */ 237 public void setShortDescription(String shortDescription); 238 239 /** 240 * Returns the long description of this s c product entry. 241 * 242 * @return the long description of this s c product entry 243 */ 244 @AutoEscape 245 public String getLongDescription(); 246 247 /** 248 * Sets the long description of this s c product entry. 249 * 250 * @param longDescription the long description of this s c product entry 251 */ 252 public void setLongDescription(String longDescription); 253 254 /** 255 * Returns the page u r l of this s c product entry. 256 * 257 * @return the page u r l of this s c product entry 258 */ 259 @AutoEscape 260 public String getPageURL(); 261 262 /** 263 * Sets the page u r l of this s c product entry. 264 * 265 * @param pageURL the page u r l of this s c product entry 266 */ 267 public void setPageURL(String pageURL); 268 269 /** 270 * Returns the author of this s c product entry. 271 * 272 * @return the author of this s c product entry 273 */ 274 @AutoEscape 275 public String getAuthor(); 276 277 /** 278 * Sets the author of this s c product entry. 279 * 280 * @param author the author of this s c product entry 281 */ 282 public void setAuthor(String author); 283 284 /** 285 * Returns the repo group ID of this s c product entry. 286 * 287 * @return the repo group ID of this s c product entry 288 */ 289 @AutoEscape 290 public String getRepoGroupId(); 291 292 /** 293 * Sets the repo group ID of this s c product entry. 294 * 295 * @param repoGroupId the repo group ID of this s c product entry 296 */ 297 public void setRepoGroupId(String repoGroupId); 298 299 /** 300 * Returns the repo artifact ID of this s c product entry. 301 * 302 * @return the repo artifact ID of this s c product entry 303 */ 304 @AutoEscape 305 public String getRepoArtifactId(); 306 307 /** 308 * Sets the repo artifact ID of this s c product entry. 309 * 310 * @param repoArtifactId the repo artifact ID of this s c product entry 311 */ 312 public void setRepoArtifactId(String repoArtifactId); 313 314 public boolean isNew(); 315 316 public void setNew(boolean n); 317 318 public boolean isCachedModel(); 319 320 public void setCachedModel(boolean cachedModel); 321 322 public boolean isEscapedModel(); 323 324 public Serializable getPrimaryKeyObj(); 325 326 public void setPrimaryKeyObj(Serializable primaryKeyObj); 327 328 public ExpandoBridge getExpandoBridge(); 329 330 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 331 332 public Object clone(); 333 334 public int compareTo(SCProductEntry scProductEntry); 335 336 public int hashCode(); 337 338 public CacheModel<SCProductEntry> toCacheModel(); 339 340 public SCProductEntry toEscapedModel(); 341 342 public SCProductEntry toUnescapedModel(); 343 344 public String toString(); 345 346 public String toXmlString(); 347 }