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