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