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