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.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.BaseModel;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    import java.util.Date;
027    
028    /**
029     * 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.
030     *
031     * <p>
032     * 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}.
033     * </p>
034     *
035     * <p>
036     * 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.
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    public interface SCProductEntryModel extends BaseModel<SCProductEntry> {
046            /**
047             * Gets the primary key of this s c product entry.
048             *
049             * @return the primary key of this s c product entry
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this s c product entry
055             *
056             * @param pk the primary key of this s c product entry
057             */
058            public void setPrimaryKey(long pk);
059    
060            /**
061             * Gets the product entry id of this s c product entry.
062             *
063             * @return the product entry id of this s c product entry
064             */
065            public long getProductEntryId();
066    
067            /**
068             * Sets the product entry id of this s c product entry.
069             *
070             * @param productEntryId the product entry id of this s c product entry
071             */
072            public void setProductEntryId(long productEntryId);
073    
074            /**
075             * Gets the group id of this s c product entry.
076             *
077             * @return the group id of this s c product entry
078             */
079            public long getGroupId();
080    
081            /**
082             * Sets the group id of this s c product entry.
083             *
084             * @param groupId the group id of this s c product entry
085             */
086            public void setGroupId(long groupId);
087    
088            /**
089             * Gets the company id of this s c product entry.
090             *
091             * @return the company id of this s c product entry
092             */
093            public long getCompanyId();
094    
095            /**
096             * Sets the company id of this s c product entry.
097             *
098             * @param companyId the company id of this s c product entry
099             */
100            public void setCompanyId(long companyId);
101    
102            /**
103             * Gets the user id of this s c product entry.
104             *
105             * @return the user id of this s c product entry
106             */
107            public long getUserId();
108    
109            /**
110             * Sets the user id of this s c product entry.
111             *
112             * @param userId the user id of this s c product entry
113             */
114            public void setUserId(long userId);
115    
116            /**
117             * Gets the user uuid of this s c product entry.
118             *
119             * @return the user uuid of this s c product entry
120             * @throws SystemException if a system exception occurred
121             */
122            public String getUserUuid() throws SystemException;
123    
124            /**
125             * Sets the user uuid of this s c product entry.
126             *
127             * @param userUuid the user uuid of this s c product entry
128             */
129            public void setUserUuid(String userUuid);
130    
131            /**
132             * Gets the user name of this s c product entry.
133             *
134             * @return the user name of this s c product entry
135             */
136            @AutoEscape
137            public String getUserName();
138    
139            /**
140             * Sets the user name of this s c product entry.
141             *
142             * @param userName the user name of this s c product entry
143             */
144            public void setUserName(String userName);
145    
146            /**
147             * Gets the create date of this s c product entry.
148             *
149             * @return the create date of this s c product entry
150             */
151            public Date getCreateDate();
152    
153            /**
154             * Sets the create date of this s c product entry.
155             *
156             * @param createDate the create date of this s c product entry
157             */
158            public void setCreateDate(Date createDate);
159    
160            /**
161             * Gets the modified date of this s c product entry.
162             *
163             * @return the modified date of this s c product entry
164             */
165            public Date getModifiedDate();
166    
167            /**
168             * Sets the modified date of this s c product entry.
169             *
170             * @param modifiedDate the modified date of this s c product entry
171             */
172            public void setModifiedDate(Date modifiedDate);
173    
174            /**
175             * Gets the name of this s c product entry.
176             *
177             * @return the name of this s c product entry
178             */
179            @AutoEscape
180            public String getName();
181    
182            /**
183             * Sets the name of this s c product entry.
184             *
185             * @param name the name of this s c product entry
186             */
187            public void setName(String name);
188    
189            /**
190             * Gets the type of this s c product entry.
191             *
192             * @return the type of this s c product entry
193             */
194            @AutoEscape
195            public String getType();
196    
197            /**
198             * Sets the type of this s c product entry.
199             *
200             * @param type the type of this s c product entry
201             */
202            public void setType(String type);
203    
204            /**
205             * Gets the tags of this s c product entry.
206             *
207             * @return the tags of this s c product entry
208             */
209            @AutoEscape
210            public String getTags();
211    
212            /**
213             * Sets the tags of this s c product entry.
214             *
215             * @param tags the tags of this s c product entry
216             */
217            public void setTags(String tags);
218    
219            /**
220             * Gets the short description of this s c product entry.
221             *
222             * @return the short description of this s c product entry
223             */
224            @AutoEscape
225            public String getShortDescription();
226    
227            /**
228             * Sets the short description of this s c product entry.
229             *
230             * @param shortDescription the short description of this s c product entry
231             */
232            public void setShortDescription(String shortDescription);
233    
234            /**
235             * Gets the long description of this s c product entry.
236             *
237             * @return the long description of this s c product entry
238             */
239            @AutoEscape
240            public String getLongDescription();
241    
242            /**
243             * Sets the long description of this s c product entry.
244             *
245             * @param longDescription the long description of this s c product entry
246             */
247            public void setLongDescription(String longDescription);
248    
249            /**
250             * Gets the page u r l of this s c product entry.
251             *
252             * @return the page u r l of this s c product entry
253             */
254            @AutoEscape
255            public String getPageURL();
256    
257            /**
258             * Sets the page u r l of this s c product entry.
259             *
260             * @param pageURL the page u r l of this s c product entry
261             */
262            public void setPageURL(String pageURL);
263    
264            /**
265             * Gets the author of this s c product entry.
266             *
267             * @return the author of this s c product entry
268             */
269            @AutoEscape
270            public String getAuthor();
271    
272            /**
273             * Sets the author of this s c product entry.
274             *
275             * @param author the author of this s c product entry
276             */
277            public void setAuthor(String author);
278    
279            /**
280             * Gets the repo group id of this s c product entry.
281             *
282             * @return the repo group id of this s c product entry
283             */
284            @AutoEscape
285            public String getRepoGroupId();
286    
287            /**
288             * Sets the repo group id of this s c product entry.
289             *
290             * @param repoGroupId the repo group id of this s c product entry
291             */
292            public void setRepoGroupId(String repoGroupId);
293    
294            /**
295             * Gets the repo artifact id of this s c product entry.
296             *
297             * @return the repo artifact id of this s c product entry
298             */
299            @AutoEscape
300            public String getRepoArtifactId();
301    
302            /**
303             * Sets the repo artifact id of this s c product entry.
304             *
305             * @param repoArtifactId the repo artifact id of this s c product entry
306             */
307            public void setRepoArtifactId(String repoArtifactId);
308    
309            /**
310             * Gets a copy of this s c product entry as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
311             *
312             * @return the escaped model instance
313             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
314             */
315            public SCProductEntry toEscapedModel();
316    
317            public boolean isNew();
318    
319            public void setNew(boolean n);
320    
321            public boolean isCachedModel();
322    
323            public void setCachedModel(boolean cachedModel);
324    
325            public boolean isEscapedModel();
326    
327            public void setEscapedModel(boolean escapedModel);
328    
329            public Serializable getPrimaryKeyObj();
330    
331            public ExpandoBridge getExpandoBridge();
332    
333            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
334    
335            public Object clone();
336    
337            public int compareTo(SCProductEntry scProductEntry);
338    
339            public int hashCode();
340    
341            public String toString();
342    
343            public String toXmlString();
344    }