001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 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 public boolean isNew(); 155 156 public void setNew(boolean n); 157 158 public boolean isCachedModel(); 159 160 public void setCachedModel(boolean cachedModel); 161 162 public boolean isEscapedModel(); 163 164 public void setEscapedModel(boolean escapedModel); 165 166 public Serializable getPrimaryKeyObj(); 167 168 public ExpandoBridge getExpandoBridge(); 169 170 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 171 172 public Object clone(); 173 174 public int compareTo(SCProductScreenshot scProductScreenshot); 175 176 public int hashCode(); 177 178 public SCProductScreenshot toEscapedModel(); 179 180 public String toString(); 181 182 public String toXmlString(); 183 }