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.model.BaseModel; 018 import com.liferay.portal.model.CacheModel; 019 import com.liferay.portal.service.ServiceContext; 020 021 import com.liferay.portlet.expando.model.ExpandoBridge; 022 023 import java.io.Serializable; 024 025 /** 026 * The base model interface for the SCProductScreenshot service. Represents a row in the "SCProductScreenshot" database table, with each column mapped to a property of this class. 027 * 028 * <p> 029 * This interface and its corresponding implementation {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotModelImpl} 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.SCProductScreenshotImpl}. 030 * </p> 031 * 032 * @author Brian Wing Shun Chan 033 * @see SCProductScreenshot 034 * @see com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotImpl 035 * @see com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotModelImpl 036 * @generated 037 */ 038 public interface SCProductScreenshotModel extends BaseModel<SCProductScreenshot> { 039 /* 040 * NOTE FOR DEVELOPERS: 041 * 042 * Never modify or reference this interface directly. All methods that expect a s c product screenshot model instance should use the {@link SCProductScreenshot} interface instead. 043 */ 044 045 /** 046 * Returns the primary key of this s c product screenshot. 047 * 048 * @return the primary key of this s c product screenshot 049 */ 050 public long getPrimaryKey(); 051 052 /** 053 * Sets the primary key of this s c product screenshot. 054 * 055 * @param primaryKey the primary key of this s c product screenshot 056 */ 057 public void setPrimaryKey(long primaryKey); 058 059 /** 060 * Returns the product screenshot ID of this s c product screenshot. 061 * 062 * @return the product screenshot ID of this s c product screenshot 063 */ 064 public long getProductScreenshotId(); 065 066 /** 067 * Sets the product screenshot ID of this s c product screenshot. 068 * 069 * @param productScreenshotId the product screenshot ID of this s c product screenshot 070 */ 071 public void setProductScreenshotId(long productScreenshotId); 072 073 /** 074 * Returns the company ID of this s c product screenshot. 075 * 076 * @return the company ID of this s c product screenshot 077 */ 078 public long getCompanyId(); 079 080 /** 081 * Sets the company ID of this s c product screenshot. 082 * 083 * @param companyId the company ID of this s c product screenshot 084 */ 085 public void setCompanyId(long companyId); 086 087 /** 088 * Returns the group ID of this s c product screenshot. 089 * 090 * @return the group ID of this s c product screenshot 091 */ 092 public long getGroupId(); 093 094 /** 095 * Sets the group ID of this s c product screenshot. 096 * 097 * @param groupId the group ID of this s c product screenshot 098 */ 099 public void setGroupId(long groupId); 100 101 /** 102 * Returns the product entry ID of this s c product screenshot. 103 * 104 * @return the product entry ID of this s c product screenshot 105 */ 106 public long getProductEntryId(); 107 108 /** 109 * Sets the product entry ID of this s c product screenshot. 110 * 111 * @param productEntryId the product entry ID of this s c product screenshot 112 */ 113 public void setProductEntryId(long productEntryId); 114 115 /** 116 * Returns the thumbnail ID of this s c product screenshot. 117 * 118 * @return the thumbnail ID of this s c product screenshot 119 */ 120 public long getThumbnailId(); 121 122 /** 123 * Sets the thumbnail ID of this s c product screenshot. 124 * 125 * @param thumbnailId the thumbnail ID of this s c product screenshot 126 */ 127 public void setThumbnailId(long thumbnailId); 128 129 /** 130 * Returns the full image ID of this s c product screenshot. 131 * 132 * @return the full image ID of this s c product screenshot 133 */ 134 public long getFullImageId(); 135 136 /** 137 * Sets the full image ID of this s c product screenshot. 138 * 139 * @param fullImageId the full image ID of this s c product screenshot 140 */ 141 public void setFullImageId(long fullImageId); 142 143 /** 144 * Returns the priority of this s c product screenshot. 145 * 146 * @return the priority of this s c product screenshot 147 */ 148 public int getPriority(); 149 150 /** 151 * Sets the priority of this s c product screenshot. 152 * 153 * @param priority the priority of this s c product screenshot 154 */ 155 public void setPriority(int priority); 156 157 public boolean isNew(); 158 159 public void setNew(boolean n); 160 161 public boolean isCachedModel(); 162 163 public void setCachedModel(boolean cachedModel); 164 165 public boolean isEscapedModel(); 166 167 public Serializable getPrimaryKeyObj(); 168 169 public void setPrimaryKeyObj(Serializable primaryKeyObj); 170 171 public ExpandoBridge getExpandoBridge(); 172 173 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 174 175 public Object clone(); 176 177 public int compareTo(SCProductScreenshot scProductScreenshot); 178 179 public int hashCode(); 180 181 public CacheModel<SCProductScreenshot> toCacheModel(); 182 183 public SCProductScreenshot toEscapedModel(); 184 185 public SCProductScreenshot toUnescapedModel(); 186 187 public String toString(); 188 189 public String toXmlString(); 190 }