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.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 SCProductVersion service. Represents a row in the "SCProductVersion" 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.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}.
033     * </p>
034     *
035     * <p>
036     * 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.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see SCProductVersion
041     * @see com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionImpl
042     * @see com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl
043     * @generated
044     */
045    public interface SCProductVersionModel extends BaseModel<SCProductVersion> {
046            /**
047             * Gets the primary key of this s c product version.
048             *
049             * @return the primary key of this s c product version
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this s c product version
055             *
056             * @param pk the primary key of this s c product version
057             */
058            public void setPrimaryKey(long pk);
059    
060            /**
061             * Gets the product version id of this s c product version.
062             *
063             * @return the product version id of this s c product version
064             */
065            public long getProductVersionId();
066    
067            /**
068             * Sets the product version id of this s c product version.
069             *
070             * @param productVersionId the product version id of this s c product version
071             */
072            public void setProductVersionId(long productVersionId);
073    
074            /**
075             * Gets the company id of this s c product version.
076             *
077             * @return the company id of this s c product version
078             */
079            public long getCompanyId();
080    
081            /**
082             * Sets the company id of this s c product version.
083             *
084             * @param companyId the company id of this s c product version
085             */
086            public void setCompanyId(long companyId);
087    
088            /**
089             * Gets the user id of this s c product version.
090             *
091             * @return the user id of this s c product version
092             */
093            public long getUserId();
094    
095            /**
096             * Sets the user id of this s c product version.
097             *
098             * @param userId the user id of this s c product version
099             */
100            public void setUserId(long userId);
101    
102            /**
103             * Gets the user uuid of this s c product version.
104             *
105             * @return the user uuid of this s c product version
106             * @throws SystemException if a system exception occurred
107             */
108            public String getUserUuid() throws SystemException;
109    
110            /**
111             * Sets the user uuid of this s c product version.
112             *
113             * @param userUuid the user uuid of this s c product version
114             */
115            public void setUserUuid(String userUuid);
116    
117            /**
118             * Gets the user name of this s c product version.
119             *
120             * @return the user name of this s c product version
121             */
122            @AutoEscape
123            public String getUserName();
124    
125            /**
126             * Sets the user name of this s c product version.
127             *
128             * @param userName the user name of this s c product version
129             */
130            public void setUserName(String userName);
131    
132            /**
133             * Gets the create date of this s c product version.
134             *
135             * @return the create date of this s c product version
136             */
137            public Date getCreateDate();
138    
139            /**
140             * Sets the create date of this s c product version.
141             *
142             * @param createDate the create date of this s c product version
143             */
144            public void setCreateDate(Date createDate);
145    
146            /**
147             * Gets the modified date of this s c product version.
148             *
149             * @return the modified date of this s c product version
150             */
151            public Date getModifiedDate();
152    
153            /**
154             * Sets the modified date of this s c product version.
155             *
156             * @param modifiedDate the modified date of this s c product version
157             */
158            public void setModifiedDate(Date modifiedDate);
159    
160            /**
161             * Gets the product entry id of this s c product version.
162             *
163             * @return the product entry id of this s c product version
164             */
165            public long getProductEntryId();
166    
167            /**
168             * Sets the product entry id of this s c product version.
169             *
170             * @param productEntryId the product entry id of this s c product version
171             */
172            public void setProductEntryId(long productEntryId);
173    
174            /**
175             * Gets the version of this s c product version.
176             *
177             * @return the version of this s c product version
178             */
179            @AutoEscape
180            public String getVersion();
181    
182            /**
183             * Sets the version of this s c product version.
184             *
185             * @param version the version of this s c product version
186             */
187            public void setVersion(String version);
188    
189            /**
190             * Gets the change log of this s c product version.
191             *
192             * @return the change log of this s c product version
193             */
194            @AutoEscape
195            public String getChangeLog();
196    
197            /**
198             * Sets the change log of this s c product version.
199             *
200             * @param changeLog the change log of this s c product version
201             */
202            public void setChangeLog(String changeLog);
203    
204            /**
205             * Gets the download page u r l of this s c product version.
206             *
207             * @return the download page u r l of this s c product version
208             */
209            @AutoEscape
210            public String getDownloadPageURL();
211    
212            /**
213             * Sets the download page u r l of this s c product version.
214             *
215             * @param downloadPageURL the download page u r l of this s c product version
216             */
217            public void setDownloadPageURL(String downloadPageURL);
218    
219            /**
220             * Gets the direct download u r l of this s c product version.
221             *
222             * @return the direct download u r l of this s c product version
223             */
224            @AutoEscape
225            public String getDirectDownloadURL();
226    
227            /**
228             * Sets the direct download u r l of this s c product version.
229             *
230             * @param directDownloadURL the direct download u r l of this s c product version
231             */
232            public void setDirectDownloadURL(String directDownloadURL);
233    
234            /**
235             * Gets the repo store artifact of this s c product version.
236             *
237             * @return the repo store artifact of this s c product version
238             */
239            public boolean getRepoStoreArtifact();
240    
241            /**
242             * Determines whether this s c product version is repo store artifact.
243             *
244             * @return whether this s c product version is repo store artifact
245             */
246            public boolean isRepoStoreArtifact();
247    
248            /**
249             * Sets whether this {$entity.humanName} is repo store artifact.
250             *
251             * @param repoStoreArtifact the repo store artifact of this s c product version
252             */
253            public void setRepoStoreArtifact(boolean repoStoreArtifact);
254    
255            public boolean isNew();
256    
257            public void setNew(boolean n);
258    
259            public boolean isCachedModel();
260    
261            public void setCachedModel(boolean cachedModel);
262    
263            public boolean isEscapedModel();
264    
265            public void setEscapedModel(boolean escapedModel);
266    
267            public Serializable getPrimaryKeyObj();
268    
269            public ExpandoBridge getExpandoBridge();
270    
271            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
272    
273            public Object clone();
274    
275            public int compareTo(SCProductVersion scProductVersion);
276    
277            public int hashCode();
278    
279            public SCProductVersion toEscapedModel();
280    
281            public String toString();
282    
283            public String toXmlString();
284    }