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.kernel.bean.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.AuditedModel;
020    import com.liferay.portal.model.BaseModel;
021    import com.liferay.portal.model.CacheModel;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.expando.model.ExpandoBridge;
025    
026    import java.io.Serializable;
027    
028    import java.util.Date;
029    
030    /**
031     * The base model interface for the SCProductVersion service. Represents a row in the "SCProductVersion" database table, with each column mapped to a property of this class.
032     *
033     * <p>
034     * This interface and its corresponding implementation {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl} 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.SCProductVersionImpl}.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see SCProductVersion
039     * @see com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionImpl
040     * @see com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl
041     * @generated
042     */
043    public interface SCProductVersionModel extends AuditedModel,
044            BaseModel<SCProductVersion> {
045            /*
046             * NOTE FOR DEVELOPERS:
047             *
048             * Never modify or reference this interface directly. All methods that expect a s c product version model instance should use the {@link SCProductVersion} interface instead.
049             */
050    
051            /**
052             * Returns the primary key of this s c product version.
053             *
054             * @return the primary key of this s c product version
055             */
056            public long getPrimaryKey();
057    
058            /**
059             * Sets the primary key of this s c product version.
060             *
061             * @param primaryKey the primary key of this s c product version
062             */
063            public void setPrimaryKey(long primaryKey);
064    
065            /**
066             * Returns the product version ID of this s c product version.
067             *
068             * @return the product version ID of this s c product version
069             */
070            public long getProductVersionId();
071    
072            /**
073             * Sets the product version ID of this s c product version.
074             *
075             * @param productVersionId the product version ID of this s c product version
076             */
077            public void setProductVersionId(long productVersionId);
078    
079            /**
080             * Returns the company ID of this s c product version.
081             *
082             * @return the company ID of this s c product version
083             */
084            @Override
085            public long getCompanyId();
086    
087            /**
088             * Sets the company ID of this s c product version.
089             *
090             * @param companyId the company ID of this s c product version
091             */
092            @Override
093            public void setCompanyId(long companyId);
094    
095            /**
096             * Returns the user ID of this s c product version.
097             *
098             * @return the user ID of this s c product version
099             */
100            @Override
101            public long getUserId();
102    
103            /**
104             * Sets the user ID of this s c product version.
105             *
106             * @param userId the user ID of this s c product version
107             */
108            @Override
109            public void setUserId(long userId);
110    
111            /**
112             * Returns the user uuid of this s c product version.
113             *
114             * @return the user uuid of this s c product version
115             * @throws SystemException if a system exception occurred
116             */
117            @Override
118            public String getUserUuid() throws SystemException;
119    
120            /**
121             * Sets the user uuid of this s c product version.
122             *
123             * @param userUuid the user uuid of this s c product version
124             */
125            @Override
126            public void setUserUuid(String userUuid);
127    
128            /**
129             * Returns the user name of this s c product version.
130             *
131             * @return the user name of this s c product version
132             */
133            @AutoEscape
134            @Override
135            public String getUserName();
136    
137            /**
138             * Sets the user name of this s c product version.
139             *
140             * @param userName the user name of this s c product version
141             */
142            @Override
143            public void setUserName(String userName);
144    
145            /**
146             * Returns the create date of this s c product version.
147             *
148             * @return the create date of this s c product version
149             */
150            @Override
151            public Date getCreateDate();
152    
153            /**
154             * Sets the create date of this s c product version.
155             *
156             * @param createDate the create date of this s c product version
157             */
158            @Override
159            public void setCreateDate(Date createDate);
160    
161            /**
162             * Returns the modified date of this s c product version.
163             *
164             * @return the modified date of this s c product version
165             */
166            @Override
167            public Date getModifiedDate();
168    
169            /**
170             * Sets the modified date of this s c product version.
171             *
172             * @param modifiedDate the modified date of this s c product version
173             */
174            @Override
175            public void setModifiedDate(Date modifiedDate);
176    
177            /**
178             * Returns the product entry ID of this s c product version.
179             *
180             * @return the product entry ID of this s c product version
181             */
182            public long getProductEntryId();
183    
184            /**
185             * Sets the product entry ID of this s c product version.
186             *
187             * @param productEntryId the product entry ID of this s c product version
188             */
189            public void setProductEntryId(long productEntryId);
190    
191            /**
192             * Returns the version of this s c product version.
193             *
194             * @return the version of this s c product version
195             */
196            @AutoEscape
197            public String getVersion();
198    
199            /**
200             * Sets the version of this s c product version.
201             *
202             * @param version the version of this s c product version
203             */
204            public void setVersion(String version);
205    
206            /**
207             * Returns the change log of this s c product version.
208             *
209             * @return the change log of this s c product version
210             */
211            @AutoEscape
212            public String getChangeLog();
213    
214            /**
215             * Sets the change log of this s c product version.
216             *
217             * @param changeLog the change log of this s c product version
218             */
219            public void setChangeLog(String changeLog);
220    
221            /**
222             * Returns the download page u r l of this s c product version.
223             *
224             * @return the download page u r l of this s c product version
225             */
226            @AutoEscape
227            public String getDownloadPageURL();
228    
229            /**
230             * Sets the download page u r l of this s c product version.
231             *
232             * @param downloadPageURL the download page u r l of this s c product version
233             */
234            public void setDownloadPageURL(String downloadPageURL);
235    
236            /**
237             * Returns the direct download u r l of this s c product version.
238             *
239             * @return the direct download u r l of this s c product version
240             */
241            @AutoEscape
242            public String getDirectDownloadURL();
243    
244            /**
245             * Sets the direct download u r l of this s c product version.
246             *
247             * @param directDownloadURL the direct download u r l of this s c product version
248             */
249            public void setDirectDownloadURL(String directDownloadURL);
250    
251            /**
252             * Returns the repo store artifact of this s c product version.
253             *
254             * @return the repo store artifact of this s c product version
255             */
256            public boolean getRepoStoreArtifact();
257    
258            /**
259             * Returns <code>true</code> if this s c product version is repo store artifact.
260             *
261             * @return <code>true</code> if this s c product version is repo store artifact; <code>false</code> otherwise
262             */
263            public boolean isRepoStoreArtifact();
264    
265            /**
266             * Sets whether this s c product version is repo store artifact.
267             *
268             * @param repoStoreArtifact the repo store artifact of this s c product version
269             */
270            public void setRepoStoreArtifact(boolean repoStoreArtifact);
271    
272            @Override
273            public boolean isNew();
274    
275            @Override
276            public void setNew(boolean n);
277    
278            @Override
279            public boolean isCachedModel();
280    
281            @Override
282            public void setCachedModel(boolean cachedModel);
283    
284            @Override
285            public boolean isEscapedModel();
286    
287            @Override
288            public Serializable getPrimaryKeyObj();
289    
290            @Override
291            public void setPrimaryKeyObj(Serializable primaryKeyObj);
292    
293            @Override
294            public ExpandoBridge getExpandoBridge();
295    
296            @Override
297            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
298    
299            @Override
300            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
301    
302            @Override
303            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
304    
305            @Override
306            public Object clone();
307    
308            @Override
309            public int compareTo(SCProductVersion scProductVersion);
310    
311            @Override
312            public int hashCode();
313    
314            @Override
315            public CacheModel<SCProductVersion> toCacheModel();
316    
317            @Override
318            public SCProductVersion toEscapedModel();
319    
320            @Override
321            public SCProductVersion toUnescapedModel();
322    
323            @Override
324            public String toString();
325    
326            @Override
327            public String toXmlString();
328    }