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 @Override 085 public long getGroupId(); 086 087 /** 088 * Sets the group ID of this s c product entry. 089 * 090 * @param groupId the group ID of this s c product entry 091 */ 092 @Override 093 public void setGroupId(long groupId); 094 095 /** 096 * Returns the company ID of this s c product entry. 097 * 098 * @return the company ID of this s c product entry 099 */ 100 @Override 101 public long getCompanyId(); 102 103 /** 104 * Sets the company ID of this s c product entry. 105 * 106 * @param companyId the company ID of this s c product entry 107 */ 108 @Override 109 public void setCompanyId(long companyId); 110 111 /** 112 * Returns the user ID of this s c product entry. 113 * 114 * @return the user ID of this s c product entry 115 */ 116 @Override 117 public long getUserId(); 118 119 /** 120 * Sets the user ID of this s c product entry. 121 * 122 * @param userId the user ID of this s c product entry 123 */ 124 @Override 125 public void setUserId(long userId); 126 127 /** 128 * Returns the user uuid of this s c product entry. 129 * 130 * @return the user uuid of this s c product entry 131 * @throws SystemException if a system exception occurred 132 */ 133 @Override 134 public String getUserUuid() throws SystemException; 135 136 /** 137 * Sets the user uuid of this s c product entry. 138 * 139 * @param userUuid the user uuid of this s c product entry 140 */ 141 @Override 142 public void setUserUuid(String userUuid); 143 144 /** 145 * Returns the user name of this s c product entry. 146 * 147 * @return the user name of this s c product entry 148 */ 149 @AutoEscape 150 @Override 151 public String getUserName(); 152 153 /** 154 * Sets the user name of this s c product entry. 155 * 156 * @param userName the user name of this s c product entry 157 */ 158 @Override 159 public void setUserName(String userName); 160 161 /** 162 * Returns the create date of this s c product entry. 163 * 164 * @return the create date of this s c product entry 165 */ 166 @Override 167 public Date getCreateDate(); 168 169 /** 170 * Sets the create date of this s c product entry. 171 * 172 * @param createDate the create date of this s c product entry 173 */ 174 @Override 175 public void setCreateDate(Date createDate); 176 177 /** 178 * Returns the modified date of this s c product entry. 179 * 180 * @return the modified date of this s c product entry 181 */ 182 @Override 183 public Date getModifiedDate(); 184 185 /** 186 * Sets the modified date of this s c product entry. 187 * 188 * @param modifiedDate the modified date of this s c product entry 189 */ 190 @Override 191 public void setModifiedDate(Date modifiedDate); 192 193 /** 194 * Returns the name of this s c product entry. 195 * 196 * @return the name of this s c product entry 197 */ 198 @AutoEscape 199 public String getName(); 200 201 /** 202 * Sets the name of this s c product entry. 203 * 204 * @param name the name of this s c product entry 205 */ 206 public void setName(String name); 207 208 /** 209 * Returns the type of this s c product entry. 210 * 211 * @return the type of this s c product entry 212 */ 213 @AutoEscape 214 public String getType(); 215 216 /** 217 * Sets the type of this s c product entry. 218 * 219 * @param type the type of this s c product entry 220 */ 221 public void setType(String type); 222 223 /** 224 * Returns the tags of this s c product entry. 225 * 226 * @return the tags of this s c product entry 227 */ 228 @AutoEscape 229 public String getTags(); 230 231 /** 232 * Sets the tags of this s c product entry. 233 * 234 * @param tags the tags of this s c product entry 235 */ 236 public void setTags(String tags); 237 238 /** 239 * Returns the short description of this s c product entry. 240 * 241 * @return the short description of this s c product entry 242 */ 243 @AutoEscape 244 public String getShortDescription(); 245 246 /** 247 * Sets the short description of this s c product entry. 248 * 249 * @param shortDescription the short description of this s c product entry 250 */ 251 public void setShortDescription(String shortDescription); 252 253 /** 254 * Returns the long description of this s c product entry. 255 * 256 * @return the long description of this s c product entry 257 */ 258 @AutoEscape 259 public String getLongDescription(); 260 261 /** 262 * Sets the long description of this s c product entry. 263 * 264 * @param longDescription the long description of this s c product entry 265 */ 266 public void setLongDescription(String longDescription); 267 268 /** 269 * Returns the page u r l of this s c product entry. 270 * 271 * @return the page u r l of this s c product entry 272 */ 273 @AutoEscape 274 public String getPageURL(); 275 276 /** 277 * Sets the page u r l of this s c product entry. 278 * 279 * @param pageURL the page u r l of this s c product entry 280 */ 281 public void setPageURL(String pageURL); 282 283 /** 284 * Returns the author of this s c product entry. 285 * 286 * @return the author of this s c product entry 287 */ 288 @AutoEscape 289 public String getAuthor(); 290 291 /** 292 * Sets the author of this s c product entry. 293 * 294 * @param author the author of this s c product entry 295 */ 296 public void setAuthor(String author); 297 298 /** 299 * Returns the repo group ID of this s c product entry. 300 * 301 * @return the repo group ID of this s c product entry 302 */ 303 @AutoEscape 304 public String getRepoGroupId(); 305 306 /** 307 * Sets the repo group ID of this s c product entry. 308 * 309 * @param repoGroupId the repo group ID of this s c product entry 310 */ 311 public void setRepoGroupId(String repoGroupId); 312 313 /** 314 * Returns the repo artifact ID of this s c product entry. 315 * 316 * @return the repo artifact ID of this s c product entry 317 */ 318 @AutoEscape 319 public String getRepoArtifactId(); 320 321 /** 322 * Sets the repo artifact ID of this s c product entry. 323 * 324 * @param repoArtifactId the repo artifact ID of this s c product entry 325 */ 326 public void setRepoArtifactId(String repoArtifactId); 327 328 @Override 329 public boolean isNew(); 330 331 @Override 332 public void setNew(boolean n); 333 334 @Override 335 public boolean isCachedModel(); 336 337 @Override 338 public void setCachedModel(boolean cachedModel); 339 340 @Override 341 public boolean isEscapedModel(); 342 343 @Override 344 public Serializable getPrimaryKeyObj(); 345 346 @Override 347 public void setPrimaryKeyObj(Serializable primaryKeyObj); 348 349 @Override 350 public ExpandoBridge getExpandoBridge(); 351 352 @Override 353 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 354 355 @Override 356 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 357 358 @Override 359 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 360 361 @Override 362 public Object clone(); 363 364 @Override 365 public int compareTo(SCProductEntry scProductEntry); 366 367 @Override 368 public int hashCode(); 369 370 @Override 371 public CacheModel<SCProductEntry> toCacheModel(); 372 373 @Override 374 public SCProductEntry toEscapedModel(); 375 376 @Override 377 public SCProductEntry toUnescapedModel(); 378 379 @Override 380 public String toString(); 381 382 @Override 383 public String toXmlString(); 384 }