001    /**
002     * Copyright (c) 2000-present 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.portal.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
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 Release service. Represents a row in the "Release_" 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.portal.model.impl.ReleaseModelImpl} 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.portal.model.impl.ReleaseImpl}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see Release
037     * @see com.liferay.portal.model.impl.ReleaseImpl
038     * @see com.liferay.portal.model.impl.ReleaseModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface ReleaseModel extends BaseModel<Release>, MVCCModel {
043            /*
044             * NOTE FOR DEVELOPERS:
045             *
046             * Never modify or reference this interface directly. All methods that expect a release model instance should use the {@link Release} interface instead.
047             */
048    
049            /**
050             * Returns the primary key of this release.
051             *
052             * @return the primary key of this release
053             */
054            public long getPrimaryKey();
055    
056            /**
057             * Sets the primary key of this release.
058             *
059             * @param primaryKey the primary key of this release
060             */
061            public void setPrimaryKey(long primaryKey);
062    
063            /**
064             * Returns the mvcc version of this release.
065             *
066             * @return the mvcc version of this release
067             */
068            @Override
069            public long getMvccVersion();
070    
071            /**
072             * Sets the mvcc version of this release.
073             *
074             * @param mvccVersion the mvcc version of this release
075             */
076            @Override
077            public void setMvccVersion(long mvccVersion);
078    
079            /**
080             * Returns the release ID of this release.
081             *
082             * @return the release ID of this release
083             */
084            public long getReleaseId();
085    
086            /**
087             * Sets the release ID of this release.
088             *
089             * @param releaseId the release ID of this release
090             */
091            public void setReleaseId(long releaseId);
092    
093            /**
094             * Returns the create date of this release.
095             *
096             * @return the create date of this release
097             */
098            public Date getCreateDate();
099    
100            /**
101             * Sets the create date of this release.
102             *
103             * @param createDate the create date of this release
104             */
105            public void setCreateDate(Date createDate);
106    
107            /**
108             * Returns the modified date of this release.
109             *
110             * @return the modified date of this release
111             */
112            public Date getModifiedDate();
113    
114            /**
115             * Sets the modified date of this release.
116             *
117             * @param modifiedDate the modified date of this release
118             */
119            public void setModifiedDate(Date modifiedDate);
120    
121            /**
122             * Returns the servlet context name of this release.
123             *
124             * @return the servlet context name of this release
125             */
126            @AutoEscape
127            public String getServletContextName();
128    
129            /**
130             * Sets the servlet context name of this release.
131             *
132             * @param servletContextName the servlet context name of this release
133             */
134            public void setServletContextName(String servletContextName);
135    
136            /**
137             * Returns the build number of this release.
138             *
139             * @return the build number of this release
140             */
141            public int getBuildNumber();
142    
143            /**
144             * Sets the build number of this release.
145             *
146             * @param buildNumber the build number of this release
147             */
148            public void setBuildNumber(int buildNumber);
149    
150            /**
151             * Returns the build date of this release.
152             *
153             * @return the build date of this release
154             */
155            public Date getBuildDate();
156    
157            /**
158             * Sets the build date of this release.
159             *
160             * @param buildDate the build date of this release
161             */
162            public void setBuildDate(Date buildDate);
163    
164            /**
165             * Returns the verified of this release.
166             *
167             * @return the verified of this release
168             */
169            public boolean getVerified();
170    
171            /**
172             * Returns <code>true</code> if this release is verified.
173             *
174             * @return <code>true</code> if this release is verified; <code>false</code> otherwise
175             */
176            public boolean isVerified();
177    
178            /**
179             * Sets whether this release is verified.
180             *
181             * @param verified the verified of this release
182             */
183            public void setVerified(boolean verified);
184    
185            /**
186             * Returns the state of this release.
187             *
188             * @return the state of this release
189             */
190            public int getState();
191    
192            /**
193             * Sets the state of this release.
194             *
195             * @param state the state of this release
196             */
197            public void setState(int state);
198    
199            /**
200             * Returns the test string of this release.
201             *
202             * @return the test string of this release
203             */
204            @AutoEscape
205            public String getTestString();
206    
207            /**
208             * Sets the test string of this release.
209             *
210             * @param testString the test string of this release
211             */
212            public void setTestString(String testString);
213    
214            @Override
215            public boolean isNew();
216    
217            @Override
218            public void setNew(boolean n);
219    
220            @Override
221            public boolean isCachedModel();
222    
223            @Override
224            public void setCachedModel(boolean cachedModel);
225    
226            @Override
227            public boolean isEscapedModel();
228    
229            @Override
230            public Serializable getPrimaryKeyObj();
231    
232            @Override
233            public void setPrimaryKeyObj(Serializable primaryKeyObj);
234    
235            @Override
236            public ExpandoBridge getExpandoBridge();
237    
238            @Override
239            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
240    
241            @Override
242            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
243    
244            @Override
245            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
246    
247            @Override
248            public Object clone();
249    
250            @Override
251            public int compareTo(com.liferay.portal.model.Release release);
252    
253            @Override
254            public int hashCode();
255    
256            @Override
257            public CacheModel<com.liferay.portal.model.Release> toCacheModel();
258    
259            @Override
260            public com.liferay.portal.model.Release toEscapedModel();
261    
262            @Override
263            public com.liferay.portal.model.Release toUnescapedModel();
264    
265            @Override
266            public String toString();
267    
268            @Override
269            public String toXmlString();
270    }